Upgrades Angular 10.x to Angular 11.x with compatibility checks for router, forms, TypeScript, Material, and Universal. Use only for this specific major hop.
Ships in ngautopilot-angular. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this skill to upgrade an Angular 10.x application to Angular 11.x in one bounded major hop.
This hop belongs to the Angular 6+ strict upgrade zone. It upgrades only from Angular 10 to Angular 11 and must not continue to Angular 12 or later. The next hop must be handled by a dedicated follow-up skill.
Use this skill when:
10 -> 11 as the next step.angular.json.Do not use this skill when:
For Angular 11 to Angular 12, route to:
skills/angular/upgrades/hops/angular-11-to-12/SKILL.md
package.jsonpackage-lock.json, yarn.lock, or pnpm-lock.yamlangular.json.browserslistrcbrowserslisttsconfig.jsontsconfig.app.jsontsconfig.spec.jsonRouterModule.forRoot(...)initialNavigationrelativeLinkResolutionpreserveQueryParamsqueryParamsHandlingRouteReuseStrategyUrlMatcherNavigationExtrasrouterLink usagesAbstractControl.parent checksViewEncapsulation.Native@angular/platform-webworker@angular/platform-webworker-dynamicCollectionChangeRecordIterableChangeRecordslicekeyvaluedecimalpercentcurrencydateasyncuppercaselowercaseTestBed.overrideProvideruseAbsoluteUrlbaseUrl| Area | Recommended strategy | Observations |
|---|---|---|
| Angular 10.x source | Upgrade to Angular 11.x only | Do not jump to a later major in this skill. |
| Angular CLI | Upgrade to CLI 11 | Keep workspace validation explicit. |
| TypeScript | Align to Angular 11-compatible TypeScript 4.0 | Verify against project evidence. |
| Angular Material | Upgrade to Material 11 only if used | Do not go beyond Angular 11 in this hop. |
| Router / Forms | Review stricter router and forms behavior | Do not assume old behavior survives unchanged. |
If a version cannot be confirmed from the project files, mark it as verify in project.
TestBed.overrideProvider, Material 11, Universal, platform-webworker removal, ViewEncapsulation.Native, CollectionChangeRecord, pipes, and style regressions.Upgrade Angular packages to Angular 11-compatible versions using the project-supported package manager and CLI workflow.
Use ng update or the repository-supported equivalent for Angular CLI 11 and Angular core 11.
Make router and forms behavior explicit:
RouterModule.forRoot(routes, {
relativeLinkResolution: 'corrected',
initialNavigation: 'enabledBlocking'
})
Use TestBed.inject in touched tests:
const service = TestBed.inject(MyService);
Treat the validation gate as part of the hop, not a later concern.
relativeLinkResolution: 'legacy' everywhere without analysis.ViewEncapsulation.Native without style validation.any.AbstractControl.parent nullability.console.error in tests.package.json.Read package.json first. Only run scripts that exist.
Preferred order when available:
For Angular CLI projects, use direct CLI commands only if they exist in the project.
For screenshot/golden tests, run them only if scripts exist.
If validation fails, report:
This hop must close with an explicit gate decision.
Gate result must be one of:
PASS
PASS_WITH_WARNINGS
FAIL_BLOCK_NEXT_HOP
Use FAIL_BLOCK_NEXT_HOP when:
relativeLinkResolution behavior is unknown in apps with nested/empty-path routinginitialNavigation values remainpreserveQueryParams remainsViewEncapsulation.Native remainsbaseUrl is missing when requiredstatusChanges behavior is unreviewed in critical formsRouteReuseStrategy behavior is unknownTestBed.overrideProvider timing failures remain unresolvedTestBed.overrideProvider timing changes can break touched tests.When this skill is used, return:
This skill is complete only when:
relativeLinkResolution behavior is reviewed.initialNavigation values are removed.ViewEncapsulation.Native is replaced with ViewEncapsulation.ShadowDom.AbstractControl.parent nullability is handled.TestBed.overrideProvider timing issues are fixed.CollectionChangeRecord is replaced with IterableChangeRecord.What SKILL.md sets; muted values are Claude Code's defaults
/ngautopilot-angular:angular--upgrade--hops--angular-10-to-11from ngautopilot-angular
npx claudepluginhub janpereira-dev/ngautopilot --plugin ngautopilot-angular350 skills in this plugin
/angular--ai--angular-v22-agent-skills-integrationAngular v22 Agent Skills IntegrationUse official Angular Agent Skills as reference material without copying them blindly or replacing NgAutoPilot routing. For Angular 22 projects and 21-to-22 upgrade planning.
/angular--ai--angular-v22-ai-tutor-safe-usageAngular v22 AI Tutor Safe UsageUse AI tutor workflows to teach Angular concepts without allowing unsafe code or secret exposure. For Angular 22 projects and 21-to-22 upgrade planning.
/angular--ai--angular-v22-angular-mcp-agent-workflowAngular v22 Angular MCP Agent WorkflowReview the workspace boundary, permissions, and runtime evidence of an Angular MCP integration. For Angular 22 projects and 21-to-22 upgrade planning.
Other plugins' skills for the same job