Evaluates Angular v22 route injector auto-cleanup, covering stable withAutoCleanupInjectors (22.2+) and deprecated experimental name. For Angular 22 projects or 21-to-22 upgrade planning.
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.
Evaluate version-specific route injector cleanup, including stable withAutoCleanupInjectors since Angular 22.2 and the deprecated experimental name.
Keep the work concern-first: this skill handles one risk area and does not replace the Angular 21 to 22 hop orchestrator.
Angular 22 changes router behavior enough that agents need a narrow checklist instead of a generic v22 bucket. The goal is to make the risk visible, testable, and reviewable.
Angular 22.x and later where this Angular 22 behavior is relevant.
For Angular 22.2+, use withAutoCleanupInjectors (stable since 22.2). The old withExperimentalAutoCleanupInjectors name is deprecated. For 22.0/22.1, inspect that version's experimental contract and do not import the stable name.
provideRouter and existing behavior before enabling it.RouteReuseStrategy must return true from shouldDestroyInjector for routes to dispose.retrieveStoredRouteHandles so retained routes keep their injectors alive.Source: https://angular.dev/api/router/withAutoCleanupInjectors (reviewed 2026-10-23).
withExperimentalAutoCleanupInjectors in an Angular 22 migration.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/ngautopilot-angular:angular--upgrades--router--angular-v22-route-injector-auto-cleanupfrom 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