From claude-skills
Use when the user says "autopilot", "build this", "make it", "ship it", "just do it", "do it", "implement this", or gives a vague idea, spec, task list, or bug fix and expects autonomous execution. Handles decomposition, agent coordination, and verification automatically. "build me end to end", "go from idea to code", "do everything", "run this autonomously". Follows the Spec-Driven Development workflow: specify → clarify → plan → tasks → analyze → implement.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-skills:autopilotThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
The unified orchestrator. One skill that auto-scales from a single-agent one-file fix to a multi-agent staged pipeline with parallel fanout. The user never picks a topology — autopilot reads the task and selects one.
The unified orchestrator. One skill that auto-scales from a single-agent one-file fix to a multi-agent staged pipeline with parallel fanout. The user never picks a topology — autopilot reads the task and selects one.
Follows the Spec-Driven Development (SDD) workflow: specifications are the primary artifact, code serves the spec. All non-atomic tasks produce structured artifacts in specs/{feature}/ before any code is written.
For non-atomic tasks, autopilot creates and maintains:
specs/{NNN-feature-name}/
├── spec.md # Feature specification (Phase 1a)
├── checklists/ # Quality checklists (Phase 1a)
│ └── requirements.md # Spec quality validation
├── research.md # Technical research (Phase 1c)
├── plan.md # Implementation plan (Phase 1c)
├── data-model.md # Entity definitions (Phase 1c)
├── contracts/ # API/interface contracts (Phase 1c)
├── quickstart.md # Validation scenarios (Phase 1c)
└── tasks.md # Ordered task list (Phase 1d)
Feature numbering is sequential: scan existing specs/ directories, take the next available 3-digit prefix. Feature name is derived from the task description (2-4 word kebab-case slug).
Read the input. Classify along three axes:
Output: a TaskProfile logged to the user.
Fast-path: If scope is "one-file fix" AND clarity is "single task" AND decomposability is "atomic" → skip directly to Phase 3 (Execute solo). No SDD ceremony for trivial fixes.
Pressure awareness: this skill applies the pressure circuit breakers from _shared/pressure-awareness.md. After 2 retries of the same phase producing no new evidence, escalate rather than retrying.
The SDD workflow replaces ad-hoc planning with structured, traceable artifacts. Each sub-phase produces files in specs/{feature}/ that gate the next sub-phase.
spec.mdCreate specs/{NNN-feature-name}/ directory. Generate spec.md following the SDD specification format.
Routing by clarity:
[NEEDS CLARIFICATION] (max 3 markers — only for decisions that significantly impact scope, security, or UX).spec.md required sections:
Quality validation: after writing spec.md, generate checklists/requirements.md and validate:
[NEEDS CLARIFICATION] markers (scope > security > UX priority)If validation fails, self-correct (max 3 iterations). Proceed when clean.
Focus on WHAT and WHY, never HOW. The spec is for stakeholders, not developers. Implementation details belong in plan.md.
If spec.md contains [NEEDS CLARIFICATION] markers:
--interactive): present each as a multiple-choice question with a recommended answer. Max 5 questions, one at a time. Record answers in a ## Clarifications section and update the relevant spec sections.Skip entirely if spec has no clarification markers.
plan.md + supporting artifactsInvoke deep-plan (Planner → Architect → Critic consensus loop). deep-plan now outputs SDD-compatible artifacts:
plan.md — Technical Context (language, deps, storage, testing, platform, constraints), Constitution Check (if /memory/constitution.md exists), Project Structure, Complexity Tracking.research.md — resolved unknowns with Decision / Rationale / Alternatives Considered per item.data-model.md — entities, fields, relationships, validation rules, state transitions.contracts/ — interface contracts appropriate for project type (API endpoints, CLI schemas, library interfaces). Skip for purely internal tools.quickstart.md — key validation scenarios for integration testing.The Planner/Architect/Critic consensus loop ensures plan quality. See deep-plan skill for the full protocol.
Gate: plan.md must exist and pass Critic approval (or reach max iterations honestly) before proceeding.
tasks.mdGenerate an ordered task list from the plan and spec:
[ID] [P?] [Story] Description where [P] marks parallelizable tasks.Task quality rules:
[P] only when tasks touch different files with no shared state.Runs automatically for --depth=deep. Skipped for --depth=quick.
Read-only cross-artifact validation across spec.md, plan.md, and tasks.md:
/memory/constitution.md principles (if exists).Severity: CRITICAL (blocks implementation) > HIGH > MEDIUM > LOW.
If CRITICAL issues found: auto-fix spec/plan/tasks and re-validate (max 1 reiteration). If still critical after fix attempt, report honestly and proceed with warnings.
Read tasks.md phase structure and [P] markers. Select topology:
| Condition | Topology | How it runs |
|---|---|---|
| 1 task or atomic fast-path | Solo | Main agent executes directly |
| N independent tasks marked [P], no shared state | Fanout | Spawn N agents in parallel, convergence check |
| N dependent tasks, sequential phases | Pipeline | Execute in order, each verified before next |
| Mixed phases with [P] tasks within phases | Staged fanout | Pipeline of phases, fanout within each phase |
| Any topology + source code changes | +Review gate | 4-reviewer panel on modifications |
Agent cap: max 8 concurrent agents for fanout. Batch into waves if more.
Every routing decision writes to autopilot-{run_id}/routing-manifest.json BEFORE execution:
routing_decisions[]:
phase: "expand" | "topology"
chosen: the skill/topology selected
rejected: alternatives and why ruled out
trigger: signal that drove the choice
predicted_outcome: expected result
confidence: low | medium | high
Run the selected topology, driven by tasks.md:
[X] in tasks.md, unlock dependentsFor fanout: convergence checker after all agents complete — detects conflicts, duplicate work, incompatible changes. For pipeline: phase gate requires all tasks in that phase to pass before next phase starts.
Checkpoint validation: at each phase boundary, verify the completed user story works independently (as defined in spec.md's "Independent Test" field).
--no-qa)After all tasks complete:
scope: changed surface as testability defects and enter the fix loop.Output: what was built, what was verified, what's untested, termination label.
Routing verification: compare each Phase 2 routing prediction against actual outcome. Write autopilot-{run_id}/routing-verification.md with predicted vs actual verdicts.
After ship, run a lightweight retrospect scan:
/retrospect for full enforcement-first analysisTermination labels (honest, exhaustive):
completed_verified — all tasks passed verification + QA cleancompleted_partial — some tasks passed, others failed after retriescompleted_unverified — execution finished but verification was skipped or inconclusiveblocked — cannot proceed (missing credentials, access, unclear requirements)budget_exhausted — hit max retries, max agents, or time limit--solo — force single-agent execution (skip topology selection)--dry-run — SDD workflow only, don't execute (stops after Phase 1)--no-qa — skip Phase 4 QA pass--interactive — gate at spec review (Phase 1a) and clarification (Phase 1b)--depth=quick — skip specify/clarify, minimal plan, solo topology--depth=deep — full SDD ceremony: specify, clarify, plan, tasks, analyze, QA, ship| Engine | Called in | Standalone use |
|---|---|---|
| deep-design | Phase 1a (vague ideas) | "design this system" |
| deep-plan | Phase 1c (plan + consensus) | "plan this work" |
| deep-qa | Phase 4 (QA + fix) | "review this artifact" |
| mutation-test | Phase 4 via deep-qa | "find test gaps" |
| deep-idea | Pre-Phase 0 (if needed) | "generate ideas" |
| monitor | Phase 3 (health checks) | "check service health" |
| Former Skill | Now handled by |
|---|---|
| build | Autopilot Phase 0-5 (the whole pipeline) |
| ship-it | Phase 5 (code project packaging) |
| team | Phase 2 staged topology + review gate |
| parallel-exec | Phase 2 fanout topology |
| loop-until-done | Phase 3 per-task verify loop |
| speckit.specify | Phase 1a (specify) |
| speckit.clarify | Phase 1b (clarify) |
| speckit.plan | Phase 1c (plan) |
| speckit.tasks | Phase 1d (tasks) |
| speckit.analyze | Phase 1e (analyze) |
| speckit.implement | Phase 3 (execute) |
npx claudepluginhub npow/claude-skills --plugin claude-skillsCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.