add .instructions.md in vscode on "ng new my-app"
Command
new
Description
This issue complete https://github.com/angular/angular-cli/issues/31888 (thanks to @alessiopelliccione ) for make new Angular 21 project ready to works with AI
Creating a new Angular 21 application automatically creates the .vscode folder with:
.vscode
extensions.json
launch.json
tasks.json
mcp.json
It missing to add:
.instructions.md
see https://angular.dev/ai/develop-with-ai#rules-files
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
The instructions are generated based on the AI agent you select when you create the workspace using ng new or alternatively you can use ng generate ai-config. See: https://angular.dev/cli/generate/ai-config.
In the case you are using the MCP server, the instructions are included as part of it.
Actually noticed that instructions for vscode are missing from the ai config schematic.
Actually working on a PR to add this feature.
This feature request is now candidate for our backlog! In the next phase, the community has 60 days to upvote. If the request receives more than 20 upvotes, we'll move it to our consideration list.
You can find more details about the feature request process in our documentation.