Performs the Angular 7.x to Angular 8.2.x major-hop upgrade in a bounded, version-aware slice with CLI, Material, styles, lazy loading, 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 7.x application to Angular 8.2.x in one bounded major hop.
This skill upgrades only from Angular 7 to Angular 8.2. It must not continue to Angular 9 or later. The next hop must be handled by a dedicated follow-up skill.
Use this skill when:
7 -> 8 as the next step.angular.json.Do not use this skill when:
For Angular 8 to Angular 9, route to:
skills/angular/upgrades/hops/angular-8-to-9/SKILL.md
package.jsonpackage-lock.json, yarn.lock, or pnpm-lock.yamlrxjs-compat usageangular.jsonbrowserslist.browserslistrctsconfig.jsontsconfig.app.jsontsconfig.spec.jsonpolyfills.tsnode-sass/deep/::ng-deep@angular/material barrel importsViewChildContentChild@angular/platform-webworkerwtf* tracing APIsHttpModuleHttp| Area | Recommended strategy | Observations |
|---|---|---|
| Angular 7.x source | Upgrade to Angular 8.2.x only | Do not jump to a later major in this skill. |
| Angular CLI | Upgrade to CLI 8 | Keep workspace validation explicit. |
| TypeScript | Align to Angular 8-compatible TypeScript 3.4 | Verify against project evidence. |
| RxJS | Keep RxJS 6 cleanup explicit and remove rxjs-compat when safe | Treat rxjs-compat as temporary if retained. |
| Angular Material | Upgrade to Material 8 only if used | Do not go beyond Angular 8 in this hop. |
If a version cannot be confirmed from the project files, mark it as verify in project.
rxjs-compat, HttpModule/Http, and service worker status.rxjs-compat only when no legacy imports or third-party requirements remain and validation passes without it.Upgrade Angular packages to Angular 8.2-compatible versions using the project-supported package manager and CLI workflow.
Use ng update or the repository-supported equivalent for Angular CLI 8 and Angular core 8.
Replace /deep/ with ::ng-deep as a temporary compatibility step:
:host ::ng-deep .child {
color: red;
}
Make ViewChild and ContentChild query timing explicit:
@ViewChild('foo', { static: false }) foo!: ElementRef;
Convert string lazy routes to dynamic imports:
{
path: 'admin',
loadChildren: () => import('./admin/admin.module').then(m => m.AdminModule)
}
Treat the validation gate as part of the hop, not a later concern.
/deep/ with global CSS as a shortcut.ViewChild static values blindly in critical components.node-sass preemptively.package.json.rxjs-compat status was checked.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:
/deep/ usage remains without documentationViewChild / ContentChild query migration is incompleterxjs-compat status is unknownHttpModule status is unknownes5BrowserSupport / differential loading status is unknown/deep/ replacement may surface style encapsulation issues.When this skill is used, return:
This skill is complete only when:
/deep/ is replaced with ::ng-deep or documented.ViewChild and ContentChild queries include explicit static values.@angular/material.rxjs-compat is removed or explicitly documented.HttpModule / Http usage is removed or explicitly documented.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/ngautopilot-angular:angular--upgrade--hops--angular-7-to-8from 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.