Orchestrates the NgAutoPilot workflow: understand task, detect project context, select smallest skill, assess risk, apply minimal change, and validate.
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.
Read when SKILL.md points to them.
Use this skill as the main operating workflow for NgAutoPilot. The goal is to make the agent understand the task, inspect the project, select the smallest useful skill, assess risk, apply the minimum safe change, and validate the result before reporting back.
NgAutoPilot is not a prompt warehouse. It is a technical assistance layer for analyzing, deciding, modifying, and validating changes with version compatibility and risk control.
Use this skill when:
Do not use this skill when:
Collect only the minimum useful context:
user goal
affected files or area
project type
framework and version
package manager
test and lint commands
existing project instructions
current git status
known constraints or compatibility requirements
If an input is missing, infer from repository files before asking the user.
This core workflow is stack-agnostic. For version-sensitive decisions, delegate to core.stack-version-detection and core.compatibility-router.
For Angular work, never assume the latest Angular version. Detect the version first, then choose compatible patterns.
Apply this routing order:
1. Understand the user's goal.
2. Inspect project context.
3. Detect stack and versions.
4. Select the smallest applicable skill.
5. Assess risk.
6. Plan the smallest reversible change.
7. Implement only the requested scope.
8. Validate with the narrowest useful command.
9. Report changes, risks, and next steps.
Prefer one focused skill over multiple broad skills. Add a second skill only when the task clearly crosses boundaries.
When a task introduces finite TypeScript values, prefer literal unions for type-only use or as const objects and arrays for needed runtime values. Route detailed selection and validation to typescript.strict-types.avoid-any when available; preserve required enum APIs and serialized values, and keep optional enum migration separate from upgrades.
Use this workflow:
Task intake -> project intake -> version detection -> skill routing -> compatibility routing -> risk assessment -> implementation -> validation -> handoff
Read the agent governance contract when a task involves multiple agents, GitHub secret monitoring, model/agent usage reporting or enterprise app permissions. Assign one owner per check, set iteration/time budgets and observable stop conditions before delegating. Reconcile conflicting results through evidence and independent acceptance, not open-ended critic loops.
Keep planning, authorized execution, validation and enterprise enablement separate. A GitHub announcement, a skill installation or a green check is not authorization to grant permissions or change organization policies.
When agents/ngautopilot/subagents/ is available, treat it as the stable registry for focused reviewer and specialist roles. Invoke only the smallest relevant subagent after skill routing or at handoff; subagents provide oversight and do not replace NgAutoPilot skill selection.
Before editing, state the working assumption internally:
This task is a bug fix, refactor, migration, review, generation, or documentation task.
The affected area is local, feature-level, app-level, or repository-level.
The risk is low, medium, or high.
The selected skill is enough to proceed.
Recommended operating pattern:
Select the minimum skill that can solve the task.
Use compatible APIs for the detected stack.
Keep changes small and reversible.
Validate close to the changed area.
Explain residual risk.
Avoid broad autopilot behavior:
Load every skill, rewrite architecture, modernize unrelated code, and run large validations without a reason.
Avoid using modern syntax just because it is available globally in the model's knowledge.
Avoid mixing unrelated refactors with the user's requested outcome.
Use this format for non-trivial tasks:
## Diagnosis
- ...
## Selected Skill
- ...
## Change Plan
1. ...
## Validation
- ...
## Risks
- ...
User: Improve this slow Angular table.
Route: project-intake -> stack-version-detection -> skill-router -> compatibility-router -> angular.performance.list-rendering-optimization -> risk-assessment
User: Refactor this component to be more maintainable.
Route: project-intake -> skill-router -> angular.architecture.angular-patterns-senior -> risk-assessment
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
/ngautopilot-core:core--autopilot-orchestratorfrom ngautopilot-core
npx claudepluginhub janpereira-dev/ngautopilot --plugin ngautopilot-core6 skills in this plugin
/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--risk-assessmentRisk AssessmentClassifies change risk before code edits and forces small, reversible implementation plans for refactors, architecture changes, migrations, dependencies, routing, build, state, and public APIs.
/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.