Upgrades an Angular application from 17.x to 18.x with controlled major-hop process. Handles Node.js/TypeScript requirements, SSR/platform-server, TransferState, HTTP transfer cache, router redirects, forms, OnPush, and change detection.
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.
Upgrade an Angular application from Angular 17.x to Angular 18.x using a controlled major-hop process.
Before upgrading from Angular 17 to Angular 18, run:
skills/angular/upgrades/changelog/angular-major-changelog-risk-review/SKILL.md
If the changelog review returns FAIL_BLOCK_NEXT_HOP, do not continue to Angular 18.
skills/angular/upgrades/testing/angular-v18-test-stability-change-detection/SKILL.mdskills/angular/upgrades/ssr/angular-platform-server-v18-migration/SKILL.mdskills/angular/upgrades/router/angular-router-redirect-command-v18/SKILL.mdskills/angular/upgrades/http/angular-http-transfer-cache-v18/SKILL.mdskills/angular/upgrades/forms/angular-ngmodel-template-write-cleanup-v18/SKILL.mdskills/angular/upgrades/change-detection/angular-onpush-host-bindings-v18/SKILL.mdpackage.jsonangular.jsontsconfig.jsontsconfig.app.jsontsconfig.spec.jsonpolyfills.ts[(ngModel)] templatesRedirectCommandUrlTreeRoute.redirectToplatformDynamicServerplatformServer@angular/compilerPlatformConfiguseAbsoluteUrlbaseUrlServerTransferStateModuleRESOURCE_CACHE_PROVIDERisPlatformWorkerUiisPlatformWorkerAppAnimationDrivermatchesElementTestabilityincreasePendingRequestCountdecreasePendingRequestCountgetPendingRequestCountOnPush componentsComponentFixture.whenStableApplicationRef.isStableComponentFixture.autoDetectChangesAngular 18 supports Node.js 18.19.0 and newer.
Block the upgrade when Node.js is lower than 18.19.0.
Angular 18 requires TypeScript 5.4 or newer.
Run:
ng update @angular/core@18 @angular/cli@18
If local CLI is unreliable, use:
npx @angular/cli@18 update @angular/core@18 @angular/cli@18
If the project uses Angular Material, update to v18 after Angular core and CLI succeed.
ng update @angular/material@18
or:
npx @angular/cli@18 update @angular/material@18
async from Angular testing with waitForAsyncUse waitForAsync instead of async from @angular/core/testing.
AnimationDriver.matchesElementRemove uses of matchesElement from AnimationDriver.
Import StateKey and TransferState from @angular/core.
Only enable includeRequestsWithAuthHeaders with a security review.
Remove isPlatformWorkerUi and isPlatformWorkerApp.
Review tests that rely on exact change detection order or stabilization timing.
[(ngModel)]Move writes out of the template and into handlers.
Remove increasePendingRequestCount, decreasePendingRequestCount, and getPendingRequestCount.
Move providers needed by routed components to route-level or bootstrap-level providers.
replaceUrlUse RedirectCommand when redirect history behavior must be explicit.
RESOURCE_CACHE_PROVIDERRemove dependencies on RESOURCE_CACHE_PROVIDER.
Review canonical URLs, redirects, and tests that compare exact SSR URLs.
Replace useAbsoluteUrl and baseUrl with request/environment-aware absolute URL handling.
platformDynamicServer with platformServerUse platformServer and import @angular/compiler when JIT/server behavior requires it.
ServerTransferStateModuleRemove ServerTransferStateModule usage.
Route.redirectTo can be a functionUpdate route readers that assume string-only redirects.
RedirectCommandUpdate custom typing where needed.
Review OnPush components with host bindings and explicit dirty marking.
Review dynamic views, overlays, and portal-like behavior.
whenStable and ApplicationRef.isStableReview test timing and stabilization assumptions.
ComponentFixture.autoDetectChangesReview tests that rely on auto-detection order.
Run only existing scripts:
npm run buildnpm run testnpm run lintnpm run e2eng build --configuration productionnpm run build:ssrnpm run prerendernpm run serve:ssrUse FAIL_BLOCK_NEXT_HOP when:
async from Angular testing remainsAnimationDriver.matchesElement remains@angular/platform-browser[(ngModel)] remainRESOURCE_CACHE_PROVIDER remainsplatformDynamicServer remains in active SSR codeServerTransferStateModule remainsredirectTo is only stringRedirectCommandngModel template writes are removed.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/ngautopilot-angular:angular--upgrade--hops--angular-17-to-18from 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