You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: update angular developer skill and document migrations
Update the MCP documentation to reflect the removal of find_examples and modernize tools from the server. Add a new file documenting automatic migrations as the preferred alternative.
Copy file name to clipboardExpand all lines: skills/dev-skills/angular-developer/references/mcp.md
+10-12Lines changed: 10 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Angular CLI MCP Server
2
2
3
-
The Angular CLI includes a Model Context Protocol (MCP) server that enables AI assistants (like Cursor, Gemini CLI, JetBrains AI, etc.) to interact directly with the Angular CLI. It provides tools for code generation, modernizing code, fetching examples, and running builds/tests.
3
+
The Angular CLI includes a Model Context Protocol (MCP) server that enables AI assistants (like Cursor, Gemini CLI, JetBrains AI, etc.) to interact directly with the Angular CLI. It provides tools for project analysis, guided migrations, and running builds/tests.
4
4
5
5
## Available Tools (Default)
6
6
@@ -9,7 +9,6 @@ When the MCP server is enabled, AI agents have access to the following tools:
When tasked with refactoring or modernizing an existing codebase, always prefer using the official automated schematics available in `@angular/core` over manual text replacement.
4
+
5
+
## Discovering Migrations
6
+
7
+
To view all available schematics for the installed version of the core framework, run:
8
+
`ng generate @angular/core: --help`
9
+
10
+
## Common Migration Schematics
11
+
12
+
Use the following commands to apply specific syntax updates. You can scope these commands to a specific project or directory using the `--project <name>` or `--path <dir>` flags.
|**Standalone**|`ng generate @angular/core:standalone` (See workflow below) |
23
+
24
+
## Specialized Workflow: Migrating to Standalone
25
+
26
+
The Standalone migration is an interactive, multi-step refactoring. You **MUST** perform this in three discrete stages, verifying that the application builds and runs correctly after each stage completes:
27
+
28
+
1.**Phase 1**: Run `ng generate @angular/core:standalone` and select the option to **Convert all components, directives, and pipes to standalone**.
29
+
2.**Phase 2**: Verify the build with `ng build`. Run the command again and select **Remove unnecessary NgModule classes**.
30
+
3.**Phase 3**: Verify the build with `ng build`. Run the final pass and select **Bootstrap the project using standalone APIs**.
0 commit comments