Performs the Angular 11.x to 12.x major-hop upgrade in a bounded, high-control slice covering Node, TypeScript, router, forms, i18n, Universal, service worker, and validation-gate checks.
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 11.x application to Angular 12.x in one bounded major hop.
This hop is a high-control upgrade boundary. It upgrades only from Angular 11 to Angular 12 and must not continue to Angular 13 or later. The next hop must be handled by a dedicated follow-up skill.
Use this skill when:
11 -> 12 as the next step.angular.json.Do not use this skill when:
For Angular 12 to Angular 13, route to:
skills/angular/upgrades/hops/angular-12-to-13/SKILL.md
package.jsonpackage-lock.json, yarn.lock, or pnpm-lock.yamlzone.js versionangular.json.browserslistrcbrowserslisttsconfig.jsontsconfig.app.jsontsconfig.spec.jsonpolyfills.tsngsw-config.json$localize usage@angular/localize usageXhrFactory importsContentChildren queriesViewChildren queriesemitDistinctChangesOnly<input type="number">min / max attributesFormArray, FormGroup, FormControlHttpParamsrouterLinkActiveOptionsfragmentAPP_INITIALIZERInjector.get(APP_INITIALIZER)TestBed.inject(APP_INITIALIZER)ng.getDirectivesoptimization, optimization.styles, optimization.styles.inlineCritical| Area | Recommended strategy | Observations |
|---|---|---|
| Angular 11.x source | Upgrade to Angular 12.x only | Do not jump to a later major in this skill. |
| Angular CLI | Upgrade to CLI 12 | Keep workspace validation explicit. |
| TypeScript | Align to Angular 12-compatible TypeScript 4.2 | Verify against project evidence. |
| zone.js | Align to 0.11.4-compatible version | Verify against project evidence. |
| Angular Material | Upgrade to Material 12 only if used | Do not go beyond Angular 12 in this hop. |
If a version cannot be confirmed from the project files, mark it as verify in project.
If IE11 appears in browser policy, polyfills, or product requirements, run:
skills/angular/upgrades/browser-support/angular-ie11-deprecation-removal-governance/SKILL.md
Angular 12 deprecates IE11 support. Do not continue to Angular 13 until the IE11 gate is explicit.
Upgrade Angular packages to Angular 12-compatible versions using the project-supported package manager and CLI workflow.
Use ng update or the repository-supported equivalent for Angular CLI 12 and Angular core 12.
Use TestBed.inject in touched tests:
const service = TestBed.inject(MyService);
Treat the validation gate as part of the hop, not a later concern.
inlineCritical without documented blocker.emitDistinctChangesOnly: false everywhere.min / max from number inputs to avoid validation.APP_INITIALIZER, HttpParams, or router types to any.package.json.Read package.json first. Only run scripts that exist.
Preferred order when available:
For production build validation:
For Angular Universal projects, run server-side build commands if present.
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:
ContentChildren / ViewChildren behavior is unknownmin / max are unreviewedFormArray / FormGroup subclasses fail or are unreviewedHttpParams subclass signatures are incompatibleAPP_INITIALIZER return types are invalidoptimization.styles.inlineCritical breaks production outputUse PASS_WITH_WARNINGS when:
emitDistinctChangesOnly: false was used as temporary compatibility bridgeinlineCritical was disabled with documented reasonWhen this skill is used, return:
This skill is complete only when:
XhrFactory is imported from @angular/common.emitDistinctChangesOnly behavior is reviewed for ContentChildren and ViewChildren.min / max validation behavior is reviewed.FormArray / FormGroup subclasses are reviewed.HttpParams subclasses are compatible.routerLinkActiveOptions typing is handled.APP_INITIALIZER return types are valid.ng.getDirectives behavior is not incorrectly relied on.optimization.styles.inlineCritical behavior is reviewed.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/ngautopilot-angular:angular--upgrade--hops--angular-11-to-12from 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.
Other plugins' skills for the same job
/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.