angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

add .instructions.md in vscode on "ng new my-app"

Open cesco69 opened this issue 1 month ago • 4 comments

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

cesco69 avatar Nov 26 '25 08:11 cesco69

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.

alan-agius4 avatar Nov 26 '25 10:11 alan-agius4

Actually noticed that instructions for vscode are missing from the ai config schematic.

alan-agius4 avatar Nov 26 '25 10:11 alan-agius4

Actually working on a PR to add this feature.

alessiopelliccione avatar Nov 26 '25 10:11 alessiopelliccione

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.

angular-robot[bot] avatar Nov 26 '25 13:11 angular-robot[bot]