Classifies change risk before code edits and enforces small, reversible implementation plans for refactors, architecture changes, migrations, dependencies, routing, build, state, and public APIs.
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 classify risk before editing code. The goal is to keep changes small, reversible, testable, and aligned with the user's actual request.
Use this skill when:
Do not use this skill when:
Collect:
files affected
runtime behavior affected
public API affected
test coverage nearby
build or dependency impact
state ownership impact
version compatibility impact
rollback path
user-requested scope
Use core.compatibility-router when risk depends on framework or tooling version.
Version-sensitive changes are at least medium risk unless they are documentation-only.
When agents/ngautopilot/subagents/ is available, use subagents only as targeted reviewers for the risk that was actually detected. For example, use the Spartan Contrarian Developer for broad implementation risk, the Compatibility Gatekeeper for version or dependency risk, the Testing Hoplite for test stability risk, and the Roman Consolidator only for final delivery consolidation.
Classify risk:
Low:
documentation-only
isolated skill content
small local code change with no behavior impact
catalog regeneration
Medium:
local refactor with tests
component or service behavior change
RxJS operator change
new tests or test strategy adjustment
local architecture split
High:
routing, bootstrap, build, dependency, or package manager changes
public API changes
shared library contracts
state management model changes
migrations across Angular versions
broad formatting or codemod changes
security-sensitive changes
Escalate risk when:
tests are missing
the change touches many files
the change affects shared packages
the behavior is hard to observe locally
version compatibility is uncertain
rollback is unclear
Use this workflow:
1. Identify affected scope.
2. Classify risk.
3. Define smallest reversible change.
4. Define validation command.
5. Identify rollback path.
6. Implement only within approved scope.
7. Report residual risk.
Recommended risk pattern:
Split broad refactors into small commits or PRs.
Prefer local behavior-preserving changes.
Validate with the narrowest relevant test first.
Flag when a safer staged plan is better than a single large change.
Avoid high-risk autopilot behavior:
Replace the state model, routing, build system, and component architecture in one change.
Avoid "while here" refactors.
Avoid changing public APIs without calling out consumer impact.
Avoid dependency upgrades as part of unrelated implementation work.
Use this format:
## Risk Assessment
- Risk level:
- Scope:
- Behavior impact:
- Compatibility impact:
- Test coverage:
- Rollback path:
## Safe Plan
1. ...
## Validation
- ...
## Residual Risks
- ...
Low risk:
Add a new markdown skill and regenerate catalog.
Medium risk:
Refactor one Angular component into container and presentational components with tests.
High risk:
Replace shared RxJS state service with Signals in a library consumed by unknown Angular versions.
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--compatibility-routerCompatibility RouterPrevents incompatible recommendations by routing Angular, TypeScript, JavaScript, RxJS, Node, and tooling advice through detected project versions and supported feature gates.
/core--project-intakeProject IntakeCollects the minimum repository context needed before an agent changes Angular, TypeScript, JavaScript, testing, architecture, or quality code.
/core--skill-routerSkill RouterSelects the smallest useful NgAutoPilot skill based on user goal, affected area, detected stack, compatibility constraints, risk, and expected output.
/core--stack-version-detectionStack Version DetectionDetects Angular, TypeScript, JavaScript, Node, RxJS, package manager, test runner, linting, and framework features from repository evidence before applying version-sensitive guidance.
/ngautopilot-core:core--risk-assessmentfrom ngautopilot-core
npx claudepluginhub janpereira-dev/ngautopilot --plugin ngautopilot-core