Routes Angular, TypeScript, RxJS, and Node recommendations through detected project versions to prevent incompatible API usage. Provides version-gated patterns for legacy through modern Angular.
Ships in ngautopilot-core. 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 prevent the agent from recommending APIs or patterns that are not compatible with the detected project version. The goal is to provide compatible implementation first and future migration guidance second.
Use this skill when:
toSignal, toObservable, @for, @defer, standalone APIs, takeUntilDestroyed, Signal Forms, Angular Aria, resource, httpResource, injectAsync, @Service, or WebMCP.Always route Angular version decisions through:
skills/angular/versioning/angular-version-compatibility-gate/SKILL.md
Do not use this skill when:
Use outputs from core.stack-version-detection:
Angular version
TypeScript version
RxJS version
Node version
package manager
project feature style
shared library constraints
target runtime or browser constraints
If version evidence is missing, choose conservative recommendations and mark modern options as future alternatives.
Use these Angular gates:
Angular 12-13:
use NgModules, structural directives, *ngFor + trackBy, RxJS, async pipe, OnPush, takeUntil + destroy$
use constructor injection as the safest DI default
avoid Signals, @for, @defer, signal inputs, inject() as a required convention, takeUntilDestroyed as a required pattern
Angular 14:
standalone APIs may appear but should not be assumed as the project default
inject() may be used only in valid injection contexts and when project convention allows it
avoid Signals, @for, @defer
Angular 15:
standalone APIs are safer than Angular 14 but NgModules remain valid
providedIn, NgModule providers, application providers, and constructor injection remain valid DI choices
avoid Signals, @for, @defer unless backported tooling proves support
Angular 16:
Signals and RxJS interop can be considered with caution
inject() is valid in supported injection contexts
prefer RxJS for async orchestration
avoid forcing Signals into public library contracts
Angular 17-18:
control flow and deferrable views can be considered
prefer @for for new list code when project style supports it
use fallbacks for legacy sections
Angular 19:
prefer modern lifecycle helpers when dependencies support them
Signals are appropriate for local synchronous state
Angular 20:
prefer @for for new list rendering code
avoid introducing new NgFor code for new features
Angular 21:
follow current Angular compatibility tables for Node, TypeScript, and RxJS
use current DI patterns such as providedIn, application providers, route providers, and inject() when project style supports them
prefer current Angular patterns when the project is already current
Angular 22:
Signal Forms, Angular Aria, resource(), and httpResource() are production-ready according to official Angular v22 sources
OnPush is the default for new applications and the prior default is named ChangeDetectionStrategy.Eager
WebMCP remains experimental and must go through a security gate
route upgrade work through skills/angular/upgrades/21-to-22/ before applying modernization satellites
Before recommending an Angular hop or version-sensitive Angular API, require:
skills/angular/versioning/angular-version-compatibility-gate/SKILL.md
Use it to determine:
Treat WebMCP and future preview APIs as experimental unless official Angular sources say otherwise. In Angular 22, resource() and httpResource() are production-ready, but still require SSR/cache/security review when used for data fetching.
When agents/ngautopilot/subagents/ is available and compatibility risk remains after routing, use the Compatibility Gatekeeper as a focused reviewer. Do not load unrelated subagents or replace the required Angular version gate with a subagent opinion.
Apply this policy:
compatible implementation > modern syntax > future migration path
project style > framework trend
shared library compatibility > app-only modernization
stable API > experimental API
small safe change > broad migration
If the detected version is unsupported by current framework support policy, still provide practical legacy-compatible guidance and label it as legacy.
Use this workflow:
1. Read detected versions.
2. Classify profile: legacy, transitional, modern, or current.
3. List safe APIs.
4. List APIs to avoid.
5. Choose compatible implementation.
6. Add optional future migration path.
7. Flag experimental or unstable APIs.
Recommended compatibility pattern:
For Angular 12, solve with *ngFor + trackBy.
For Angular 17+, offer @for with track.
For Angular 20+, prefer @for for new code.
Avoid unsupported code:
Use signal inputs in Angular 12.
Use @defer in Angular 15.
Require takeUntilDestroyed in Angular 13.
Require inject() style in an Angular 12 codebase.
Use resource as a default production data-fetching baseline.
Avoid hiding compatibility uncertainty.
Use this format:
## Compatibility Profile
- Angular:
- TypeScript:
- RxJS:
- Node:
- Profile:
## Safe APIs
- ...
## APIs To Avoid
- ...
## Compatible Recommendation
- ...
## Future Migration Path
- ...
Angular 15 task asks for Signals:
Recommendation: do not use Signals. Use RxJS or component state. Add Signals as a future Angular 16+ migration path.
Angular 21 task asks for list rendering:
Recommendation: use @for with track for new code. Do not introduce NgFor for new list code.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
6 skills in this plugin
/core--autopilot-orchestratorAutopilot OrchestratorDefines the main NgAutoPilot workflow for understanding a task, detecting project context, selecting the smallest skill, assessing risk, applying a minimal change, and validating the result.
/core--project-intakeProject IntakeCollects the minimum repository context needed before an agent changes Angular, TypeScript, JavaScript, testing, architecture, or quality code.
/core--/ngautopilot-core:core--compatibility-routerfrom ngautopilot-core
npx claudepluginhub janpereira-dev/ngautopilot --plugin ngautopilot-core