From speckit-pro
Coaches developers through Spec-Driven Development using the official SpecKit CLI and the speckit-pro plugin. Provides SDD methodology guidance, per-command coaching, phase gate validation, multi-spec technical roadmap creation, workflow tracking, existing-project fixup, and live SpecKit extension and preset discovery. Use when user asks about SDD methodology, SpecKit commands, spec writing, feature decomposition, gate failures, technical roadmaps, the roadmap map / home note / Map of Content / navigation and its curated-vs-generated two-zone structure, autopilot workflows, project repair, template durability, consensus protocol, or browsing, installing, configuring, and removing SpecKit community extensions, presets, hooks, and the catalog.
How this skill is triggered — by the user, by Claude, or both
Slash command
/speckit-pro:speckit-coach e.g. 'walk me through SDD', 'write testable requirements', 'decompose feature into specs', 'fix up this speckit-pro project', 'make template edits upgrade-safe', 'which checklist domains for this spec', 'simplicity gate is failing', 'how does autopilot work', 'consensus protocol'e.g. 'walk me through SDD', 'write testable requirements', 'decompose feature into specs', 'fix up this speckit-pro project', 'make template edits upgrade-safe', 'which checklist domains for this spec', 'simplicity gate is failing', 'how does autopilot work', 'consensus protocol'The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Before researching or recommending, enumerate the tools and skills your session actually exposes — do not assume a fixed set; the user may have installed anything — and select the best fit per `speckit-pro/skills/speckit-autopilot/references/capability-discovery.md`. Ground every external fact you assert in a real tool, skill, or file result per `speckit-pro/skills/speckit-autopilot/references/...
references/autopilot-guide.mdreferences/best-practices.mdreferences/checklist-domains-guide.mdreferences/command-guide.mdreferences/constitution-guide.mdreferences/getting-started.mdreferences/presets-extensions-guide.mdreferences/roadmap-moc-guide.mdreferences/sdd-methodology.mdreferences/slicing-heuristics.mdtemplates/prd-template.mdtemplates/roadmap-moc-template.mdtemplates/spec-moc-template.mdtemplates/technical-roadmap-template.mdtemplates/workflow-template.mdBefore researching or recommending, enumerate the tools and skills your session actually exposes — do not assume a fixed set; the user may have installed anything — and select the best fit per speckit-pro/skills/speckit-autopilot/references/capability-discovery.md. Ground every external fact you assert in a real tool, skill, or file result per speckit-pro/skills/speckit-autopilot/references/grounding.md, and abstain when nothing grounds it.
This skill enhances the official SpecKit CLI — it does not replace it. The developer must first install SpecKit:
uv tool install specify-cli --from git+https://github.com/github/spec-kit.git
specify init --integration claude # 25+ agents: copilot, cursor-agent, gemini, codex, etc.
After installation, the developer has access to the SpecKit skills (/speckit-*) and extension commands. This skill provides coaching, guidance, and enhancement on top of those commands.
Before coaching, check for installed presets and extensions that affect this project's workflow:
1. Glob(".specify/presets/*/preset.yml") → any presets installed?
2. If yes → Read each preset.yml to learn what it enforces
(TDD mandates, architecture patterns, test requirements)
3. Glob(".specify/extensions/*/extension.yml") → any extensions?
4. Tailor coaching to include preset/extension context
This ensures coaching reflects the project's actual configuration,
not just generic SpecKit defaults. For example, if a preset
mandates TDD, coaching on /speckit-implement should emphasize
the red-green-refactor cycle that the preset enforces.
When the developer asks about any SpecKit command, provide coaching from the command guide:
| User says... | Action |
|---|---|
| Getting Started & Learning | |
| "I'm new", "getting started", "how do I start", "first time" | Walk through setup and first workflow from getting started guide |
| "what is SDD", "spec-driven development", "methodology" | Explain SDD from methodology reference |
| "walk me through", "show me the workflow", "end to end" | Guide through the worked example in getting started — see "Your First Complete Workflow" |
| "best practices", "tips", "common mistakes", "anti-patterns" | Share guidance from best practices |
| Per-Command Coaching | |
| "help with specify", "how to write a spec", "specification tips" | Coach on /speckit-specify — detailed first prompt, user stories, P1/P2/P3 |
| "help with clarify", "when to clarify", "resolve ambiguities" | Coach on /speckit-clarify — when to run vs skip, evaluating recommendations |
| "help with plan", "planning", "implementation plan" | Coach on /speckit-plan — constitution gates, Phase 0 research, artifacts |
| "help with checklist", "validate requirements", "quality check" | Coach on /speckit-checklist — "unit tests for English", domain selection |
| "which checklists", "recommend checklists", "what domains" | Run /speckit recommend-checklists — analyze spec to recommend domains with enriched prompts |
| "help with tasks", "generate tasks", "task breakdown" | Coach on /speckit-tasks — user-story-first, [P] markers, independent testability |
| "help with analyze", "consistency check", "cross-artifact" | Coach on /speckit-analyze — severity levels, CRITICAL blocks, coverage gaps |
| "help with implement", "execute tasks", "start building" | Coach on /speckit-implement — checklist pre-check, TDD, phase execution |
| "help with constitution", "project principles", "governance" | Coach on /speckit-constitution — principle design, versioning, enforcement |
| Deep-Dive References | |
| "checklist domains", "what checklists", "which domains" | Guide domain selection from checklist guide |
| "constitution design", "good principles", "constitution tips" | Guide constitution design from constitution guide |
| "upgrade speckit", "update templates" | Provide upgrade guidance from command guide — see "Upgrade Guidance" |
| Plugin Usage | |
| "run autopilot", "execute workflow", "autonomous" | Guide to /speckit-pro:speckit-autopilot — prerequisites, workflow file setup, --dangerously-skip-permissions. See autopilot guide |
| "check status", "where am I", "workflow progress", "what's next", "roadmap", "project health" | Guide to /speckit-pro:speckit-status for technical roadmap progress (completed, ready, blocked specs), or /speckit.doctor for project health diagnostics |
| "roadmap map", "home note", "Map of Content", "roadmap-MOC", "navigation", "how is the home note structured", "curated vs generated zone", "two-zone", "can I edit the INDEX", "cap epics" | Explain the roadmap-MOC home note's two-zone structure from roadmap-MOC guide — the curated epics zone is hand-authored/editable, the GENERATED INDEX zone is machine-regenerated by runner operation generate-spec-index-write and never hand-edited, and the cap-epics-below-~10 guardrail is advisory (warns, never blocks) |
| "fix up this speckit-pro project", "repair existing SpecKit project", "make template edits durable", "template customizations got overwritten", "upgrade-safe templates", "reviewability preset repair" | Run the Project Fixup workflow below. Audit .specify, migrate reviewability-related direct core template edits into a project-local preset, verify specify preset resolve, preserve host PR templates, and restore core templates only from a reviewed source. |
| "configure autopilot", "settings", "consensus mode" | Guide to .claude/speckit-pro.local.md settings — consensus mode, auto-commit, gate failure behavior. See autopilot guide |
| "agent teams", "parallel post-impl", "speckit-pro and agent teams", "does speckit use teams" | Explain how speckit-pro auto-detects Anthropic's Agent Teams capability at startup (env var CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 + Claude Code ≥ 2.1.32). When detected, the post-implementation parallel group (tasks 10-14) dispatches as a 3-teammate Agent Team with inter-teammate messaging and a shared task list. When not detected, the same 3 tracks (Doctor / Code Review / Verify-chain) dispatch as parallel background subagents — same wall-clock, no team coordination. No user-facing setting — the autopilot picks the best available path. Claude-Code-only; Codex always uses parallel spawn_agent. Full design in post-implementation.md §Post-Implementation Parallel Group. |
| "when to use teams", "subagents vs teams", "agent teams vs subagents", "which orchestration mode", "decision framework" | Walk through the canonical decision tree (single prompt → regular session; 3 independent → parallel subagents; repeatable workflow → subagents with YAML; multi-file w/ deps → Agent Teams; overnight → headless + --max-budget-usd). Model routing is fit-based (opus for heavy reasoning, sonnet for read-and-report) — every bundled agent defaults to effort: max (CC) / xhigh (Codex) per the plugin's max-thinking-on-every-agent policy. Lower effort is only acceptable where a Layer 6 efficiency benchmark empirically proves quality=1.0 at the lower level (see tests/layer6-efficiency/results-codex/*.json); quality is paramount, cost is reduced only where quality is proven equivalent. Full table + anti-patterns in agent-teams-integration.md §When to use what. |
| "headless", "overnight", "budget", "max budget", "background autopilot", "run autopilot from cron", "schedule autopilot" | Explain headless autopilot — claude -p --max-budget-usd 25 /speckit-pro:speckit-autopilot path/to/workflow.md. The budget cap applies to the parent session AND all subagents/teammates collectively. A 7-phase run with consensus + parallel post-impl + every agent at effort: max (or L6-validated lower effort where quality=1.0) typically spends more than a cost-optimized setup — size the budget to match the plugin's max-thinking-on-every-agent policy. See agent-teams-integration.md §Headless / budget-capped operation. |
| "how does consensus work", "clarify automation" | Explain the 3-agent consensus protocol — codebase-analyst, spec-context-analyst, domain-researcher. See autopilot guide |
| "gap remediation", "checklist automation" | Explain checklist gap remediation loop — consensus agents propose fixes, auto-edit, re-verify. See autopilot guide |
| "analyze automation", "finding remediation" | Explain analyze remediation loop — CRITICAL/HIGH findings auto-fixed via consensus. See autopilot guide |
| "PR automation", "review loop", "copilot review" | Explain the post-PR review remediation loop — polling, auto-fix, comment resolution. See autopilot guide |
| "branching", "worktree", "SPECIFY_FEATURE" | Explain branch detection hierarchy — env var → git branch → specs/ scan. See autopilot guide |
| Presets & Extensions (v0.8.x) | |
| "preset", "customize templates", "override templates", "methodology" | Explain presets — stackable template overrides, resolution order, commands. See presets & extensions guide |
| "extension", "add extension", "install extension", "community catalog" | Explain extensions and use the live catalog playbook. See presets & extensions guide — "Browsing the live catalog" section. |
| "what extensions are available", "search extensions", "find an extension for X", "browse extensions", "list community extensions" | Run Play 1 — Discovery: specify extension search [keyword] (fallback to gh api against catalog.community.json, then WebFetch the raw URL). Render results grouped by category. See presets & extensions guide — "Browsing the live catalog". |
| "tell me about the X extension", "info on X extension", "what does X extension do", "details on X extension" | Run Play 2 — Deep dive: specify extension info <id>. Fallback: fetch the extension's own extension.yml from its repo via gh api or WebFetch and read out provides.commands, hooks, requires.speckit_version, tags. Cross-reference against specify --version. |
| "install X extension", "add the X extension", "remove X extension", "disable an extension", "enable an extension", "configure an extension" | Run Play 3 — Install / configure / remove. Always confirm with the user before mutating. Use specify extension add/remove/enable/disable/set-priority. Every install / configure / hook-wiring response MUST end with a two-line closing block, verbatim — do not paraphrase, do not skip, even if the rest of the response is long: **No plugin update or restart needed** — the autopilot re-reads .specify/extensions.ymlat every phase boundary, so any hook you wire here fires on the next autopilot run. Noclaude/codexrestart, no/plugin marketplace update, no session reload.**Two config files to know:** .specify/extensions//-config.yml(shared, commit to git) and.specify/extensions//-config.local.yml (personal, gitignored).If the extension should fire automatically at a phase boundary, register it in .specify/extensions.yml. |
| "archive extension", "Archive Sweep", "archive cleanup", "spec graveyard", "remove merged specs", "provenance" | Explain the Racecraft archive extension path: install or vendor racecraft-lab/spec-kit-archive from a pinned tag/commit, run Archive Sweep at autopilot startup, exclude the current target spec, keep unsafe checkouts dry-run-only, and clean active specs/** only after archive success plus recovery commands. |
| "hook events", "after_implement", "before_specify" | Explain the 8 hook events and how extensions use them. See presets & extensions guide |
| "template resolution", "which template", "preset resolve" | Explain 4-tier resolution: overrides > presets > extensions > core. See presets & extensions guide |
| "catalog", "custom catalog", "extension catalog", "preset catalog" | Explain multi-catalog stacks, custom catalogs, env vars. See presets & extensions guide |
| "doctor", "project diagnostics", "health check" | Run /speckit.doctor for full project diagnostic (structure, agents, features, scripts, extensions, git). See presets & extensions guide |
| "upgrade speckit", "update speckit", "new version", "latest version" | Guide full upgrade: backup constitution → upgrade CLI → init --here --force → restore. See command guide upgrade section |
| "verify extension", "verify-tasks", "review extension", "cleanup extension" | Explain installed extensions and their commands. See presets & extensions guide |
| Troubleshooting & Recovery | |
| "I'm stuck", "don't know what to do", "what's next" | Diagnose current state and recommend next step from getting started — see "Troubleshooting & Recovery" |
| "something went wrong", "this isn't working", "bad output" | Identify the problem phase and guide recovery from getting started — see "Troubleshooting & Recovery" |
| "go back", "redo", "start over", "wrong phase" | Guide phase rollback — always safe to return to earlier phases, commit history preserves work |
| "spec is wrong", "plan is bad", "need to change" | Guide mid-workflow correction: update the artifact, then re-run downstream phases |
| "new requirements", "scope changed", "need to add" | Guide incremental requirements — finish current spec or create a new one per Issue #328 |
| "update spec after implementation", "spec is outdated" | Guide spec-code sync — update spec.md to reflect what was actually built |
| Quality Evaluation | |
| "is my spec good", "evaluate", "review quality" | Walk through quality signals from getting started — see "How to Evaluate Quality at Each Gate" |
| "is my plan good", "review my plan" | Check plan quality signals: gates, research, data model, contracts |
| "are my tasks good", "review tasks" | Check task quality: story organization, granularity, traceability, parallelism |
| Enhancement Commands (speckit-pro plugin) | |
| "scope this idea", "pre-spec scoping", "interview me on this brief", "walk every branch of the design tree", "produce a Design Concept doc", "before /speckit-specify", "before I write the spec" | Guide to /speckit-pro:grill-me — relentless one-question-at-a-time interview that produces a Design Concept doc (Goals, Non-goals, Q&A log, Open Questions). Strictly human-in-the-loop. The output enriches /speckit-pro:speckit-scaffold-spec's workflow file phase prompts. Use it standalone for raw briefs / transcripts, or rely on /speckit-pro:speckit-scaffold-spec to invoke it automatically per spec. |
| "write a PRD", "create a product requirements document", "draft a PRD and roadmap", "shape this idea into a PRD", "turn this brief into a PRD", "plan a product", "decompose an idea into a SPEC catalog", "before I write specs" | Guide to /speckit-pro:speckit-prd — a collaborative, one-question-at-a-time interview that authors a lean PRD and the technical roadmap (SPEC catalog) from a raw idea. This is the front door of the chain (PRD → roadmap → scaffold-spec → autopilot). Use it when the PRD does not exist yet; if a PRD already exists and you only need decomposition, use the technical-roadmap path below. |
| "technical roadmap", "decompose feature", "multi-spec", "too large for one spec" | Guide technical roadmap creation — decompose large features into sequential specs. See Enhancement section below. Tip: if no PRD exists yet, author it and the roadmap together with /speckit-pro:speckit-prd. To sharpen an existing PRD before decomposing, run /speckit-pro:grill-me docs/prd.md first to lock in the scope envelope. |
| "workflow tracking", "track phases", "workflow file" | Guide workflow file creation — per-spec 7-phase tracking. See Enhancement section below |
| "recommend checklists", "which checklists", "what domains to check" | Run spec-driven domain recommendation — analyze spec to suggest enriched checklist prompts. See Enhancement section below |
| "decompose", "create spec directories", "break into specs" | Guide spec decomposition — generate individual spec directories from technical roadmap. See Enhancement section below |
| "setup spec", "create worktree", "prepare for autopilot" | Guide to /speckit-pro:speckit-scaffold-spec <SPEC-ID> — creates worktree, branch, workflow file |
| "resolve PR", "fix review comments", "address copilot comments" | Guide to /speckit-pro:speckit-resolve-pr <PR> — addresses review comments, fixes code, resolves threads |
| Team Workflow | |
| "team", "who reviews", "PR workflow", "collaboration" | Guide team workflow from getting started — see "Working with a Team" |
These are NEW capabilities that the official SpecKit CLI does not provide:
When the developer asks the coach to fix or harden an existing SpecKit Pro project, operate on the current project root unless they name another path. This is a repair workflow, not just advice.
When to use: Existing .specify projects with fragile direct edits to
.specify/templates/*.md, missing or stale preset registration, missing PR
template integration, or reviewability gates that should survive Spec Kit
CLI upgrades.
Workflow:
git status
before edits. Do not overwrite unrelated user changes.ensure-reviewability-preset for "$PWD".
This generates .specify/presets/speckit-pro-reviewability/ from the
project's current core templates, then adds reviewability budget and PR
review packet sections.project-fixup-apply in audit mode for "$PWD".speckit-pro-reviewability preset.specify preset resolve spec-template,
specify preset resolve plan-template, and
specify preset resolve tasks-template must point at the preset or an
intentional project override, not core .specify/templates/*.md..specify/templates/*.md only from a reviewed source:
version control, a known-good Spec Kit re-init/upgrade backup, or an
official core template. Do not guess at core content..github/pull_request_template.md./speckit technical-roadmap — Multi-Spec Project DecompositionWhen a feature is too large for a single spec, create a technical roadmap that decomposes it into discrete, sequential specifications with dependency graphs.
When to use: The feature involves multiple tiers (e.g., backend + frontend), multiple independent deliverables, or will take more than one /speckit-specify → /speckit-implement cycle.
How to create the technical roadmap:
docs/ai/specs/<feature-name>-technical-roadmap.md/speckit-specifyStep 1: Analyze the Feature Request
Before decomposing, understand the full scope by discussing with the developer:
Step 2: Identify Natural Spec Boundaries
Look for natural seams where the feature splits into independent deliverables:
| Boundary Signal | How to Split |
|---|---|
| Different system layers (backend API vs frontend UI) | Separate specs per layer |
| Different external integrations (LLM, search, database) | Separate spec per integration |
| Independent user stories that can be delivered alone | One spec per story |
| A component others depend on (shared types, core service) | Foundation spec first |
| A "wire everything together" step | Integration spec last |
Step 3: Define Dependencies and Execution Order
For each candidate spec, ask:
Dependency patterns:
Step 4: Write Rich Scope Descriptions
Each spec's Scope section must be detailed enough to serve as the input for /speckit-specify. Compare:
| Too Vague (useless for /specify) | Detailed Enough (drives /specify) |
|---|---|
| "Backend API endpoint" | "FastAPI POST /chat endpoint with SSE streaming, Pydantic v2 request/response models, conversation state management (in-memory for MVP)" |
| "Search integration" | "Wrap existing combined-search pipeline (imagery + change detection) as an agent tool using @tool decorator, register via create_sdk_mcp_server()" |
| "Frontend components" | "Install UI component library for core chat interface, reuse existing domain-specific components from feature branch, apply project theming from design tokens" |
Step 5: Document Key Decisions
For each significant technical decision, add a decision block to the relevant spec section:
**[Decision Name] Decision ([Date]):** [What was decided and why.]
Alternatives considered: [Brief list of alternatives that were rejected and why.]
Decomposition principles:
specs/<number>-<name>/ directory/speckit-specify/speckit workflow — Per-Spec Phase TrackingCreate workflow tracking files that document the progress of each spec through all 7 SpecKit phases with human review gates.
When to use: After creating a technical roadmap or when starting any spec that benefits from phase-by-phase documentation.
How to create:
docs/ai/specs/SPEC-<ID>-workflow.mdFor projects that want to avoid an active specs/** graveyard while retaining
provenance, coach the user toward the Racecraft archive extension:
racecraft-lab/spec-kit-archive from a pinned tag or
commit, and record the source URL, ref, commit, and manifest hash.git show <merge-sha>:specs/<feature>/spec.md.specs/** folders only as an explicit reviewed forward change
after archive success, merge/tree references, recovery commands, and
safeToApplyCleanup=true are recorded. Never rewrite history and never rely
on post-merge CI mutating main./speckit recommend-checklists — Spec-Driven Domain RecommendationsAnalyze the current spec and plan to recommend the most impactful checklist domains, then generate enriched /speckit-checklist prompts with spec-specific focus areas.
When to use: After /speckit-plan completes — before running any /speckit-checklist commands. This replaces guesswork about which domains to check.
How it works:
spec.md and plan.md for the current featureSee Checklist Domains Guide for the full signal extraction algorithm and enriched prompt patterns.
/speckit decompose — Break Technical Roadmap into Spec DirectoriesAfter creating a technical roadmap, generate the individual spec directories:
specs/<number>-<name>/ directory/speckit-specify for each spec using the technical roadmap's scope descriptionFor autonomous execution of a complete SpecKit workflow, use the companion skill:
/speckit-pro:speckit-autopilot path/to/workflow-file.md
The autopilot reads a populated workflow file and executes all 7 phases autonomously with programmatic gate validation, multi-agent consensus resolution, and auto-commits. See the Autopilot Guide for full documentation.
constitution → specify → clarify (opt) → plan → checklist (opt) → tasks → analyze (opt) → implement
| Gate | After | Pass Criteria |
|---|---|---|
| G0 | Prerequisites | Build, typecheck, lint, tests all pass |
| G1 | Specify | No [NEEDS CLARIFICATION] markers remain |
| G2 | Clarify | All decisions documented in spec |
| G3 | Plan | Architecture approved, constitution gates pass |
| G4 | Checklist | All [Gap] markers addressed |
| G5 | Tasks | Coverage verified, dependencies ordered |
| G6 | Analyze | No CRITICAL issues |
| G7 | Implement | Tests pass, manual verification complete |
| Marker | Purpose |
|---|---|
[US1], [US2] | User story reference |
[FR-001] | Functional requirement |
[NEEDS CLARIFICATION] | Flag for Clarify phase |
[P] | Parallel-safe task |
[Gap] | Missing checklist coverage |
specs/<number>-<feature-name>/
├── spec.md # Phase 1: Specify
├── plan.md # Phase 3: Plan
├── research.md # Phase 3: Plan (research notes)
├── data-model.md # Phase 3: Plan (entities/types)
├── quickstart.md # Phase 3: Plan (dev onboarding)
├── contracts/ # Phase 3: Plan (API contracts)
├── tasks.md # Phase 5: Tasks
└── checklists/ # Phase 4: Checklist (per domain)
/speckit-constitution if the project doesn't have one yet/speckit-analyze before implement — it catches coverage gaps and constitution violations cheaplyspecify init --here --force overwrites it/speckit-pro:speckit-prdnpx claudepluginhub racecraft-lab/racecraft-plugins-public --plugin speckit-proCreates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.