spec-kitty-setup-doctor
Install, verify, and recover the modern Spec Kitty 2.0.11+ operating surface. Triggers: "set up Spec Kitty", "skills missing", "next is blocked", "runtime is broken", "doctrine assets are missing", "my agent can't find the skills". Does NOT handle: generic coding questions with no Spec Kitty context, direct runtime loop advancement, or editorial glossary maintenance.
Best use case
spec-kitty-setup-doctor is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Install, verify, and recover the modern Spec Kitty 2.0.11+ operating surface. Triggers: "set up Spec Kitty", "skills missing", "next is blocked", "runtime is broken", "doctrine assets are missing", "my agent can't find the skills". Does NOT handle: generic coding questions with no Spec Kitty context, direct runtime loop advancement, or editorial glossary maintenance.
Teams using spec-kitty-setup-doctor should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/spec-kitty-setup-doctor/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How spec-kitty-setup-doctor Compares
| Feature / Agent | spec-kitty-setup-doctor | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Install, verify, and recover the modern Spec Kitty 2.0.11+ operating surface. Triggers: "set up Spec Kitty", "skills missing", "next is blocked", "runtime is broken", "doctrine assets are missing", "my agent can't find the skills". Does NOT handle: generic coding questions with no Spec Kitty context, direct runtime loop advancement, or editorial glossary maintenance.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# spec-kitty-setup-doctor Diagnose and repair the Spec Kitty installation for the current project and agent. Use this skill when the user reports that Spec Kitty is not working, skills are missing, slash commands are unavailable, or the runtime environment appears broken. --- ## Step 1: Detect Environment Determine the active agent, repository state, and working directory. **What to check:** - Which AI agent is running (Claude Code, Codex, Gemini CLI, etc.) - Whether the current directory is inside a git repository - Whether a `.kittify/` directory exists (indicates prior initialization) - Whether this is a worktree or the main repository **Commands:** ```bash git rev-parse --show-toplevel ls .kittify/config.yaml spec-kitty --version ``` **Expected outcome:** You know the agent identity, repo root path, and whether Spec Kitty was previously initialized. --- ## Step 2: Verify Installation Check that skill roots, wrapper roots, manifest, and generated artifacts are present. **What to check:** - Skill root directory exists for the active agent (see `references/agent-path-matrix.md`) - Wrapper root (slash-command directory) exists for the active agent - The relevant manifest exists and is valid JSON: `.kittify/skills-manifest.json` for legacy canonical skills and/or `.kittify/command-skills-manifest.json` for Codex/Vibe command skills - Skill files listed in the manifest are present on disk **Commands:** ```bash spec-kitty verify-setup ``` If `spec-kitty` is not installed: ```bash pip install spec-kitty-cli spec-kitty --version ``` **Expected outcome:** `spec-kitty verify-setup` reports all checks passed, or lists specific missing/drifted files. --- ## Step 3: Check Prerequisites Verify that the working environment meets runtime requirements. **What to check:** - Current working directory is the repository root (not a subdirectory) - Active branch is correct for the current workflow stage - If using worktrees, the worktree is properly linked - Dashboard can be reached (if applicable) - Runtime configuration in `.kittify/config.yaml` is present and valid **Commands:** ```bash spec-kitty agent tasks status spec-kitty agent config status ``` **Expected outcome:** Status output shows the current kanban board, configured agents, and active missions without errors. --- ## Step 4: Diagnose Issues Match observed symptoms against known failure patterns. **What to check:** Consult `references/common-failure-signatures.md` for a catalog of known issues. Common patterns include: - **Missing skill root** -- agent cannot find skills directory - **Missing wrapper root** -- slash commands not available - **Manifest drift** -- skill files were manually edited - **Runtime not found** -- `.kittify/` directory missing or corrupted - **Dashboard not starting** -- port conflict or process crash **How to diagnose:** ```bash spec-kitty verify-setup spec-kitty agent config status ``` Review error messages and match them against the failure signatures. Each signature includes a symptom, cause, and deterministic recovery step. **Expected outcome:** You have identified the specific failure pattern(s) affecting this installation. --- ## Step 5: Recover Apply deterministic recovery steps for each identified issue. **Recovery actions by issue type:** | Issue | Recovery Command | |-------|-----------------| | Missing skill files | `spec-kitty init --here` | | Missing wrapper root | `spec-kitty init --here` | | Missing skill root | `spec-kitty init --here` | | Manifest drift | `spec-kitty init --here` | | Runtime not found | `spec-kitty init --here` | | Dashboard not starting | `spec-kitty dashboard` | | Corrupted config | Remove `.kittify/config.yaml`, re-run `spec-kitty init --here` | **Commands:** ```bash # Full re-initialization (fixes most issues) spec-kitty init --here # Targeted skill repair (preserves existing config) spec-kitty init --here # Restart dashboard spec-kitty dashboard ``` **Expected outcome:** After recovery, `spec-kitty verify-setup` reports no issues and `spec-kitty agent tasks status` shows a healthy installation. --- ## Step 6: Direct Next Action After recovery is complete, point the user to the correct next step. **Decision tree:** 1. If the user wanted to **start a new project**: `spec-kitty init --here` 2. If the user wanted to **specify a mission**: `/spec-kitty.specify` 3. If the user wanted to **check status**: `spec-kitty agent tasks status` 4. If the user wanted to **implement a work package**: `/spec-kitty.implement` 5. If the problem was **skills missing**: confirm skills are now visible with `spec-kitty verify-setup` **What to communicate:** - Confirm the issue is resolved - State what was repaired - Suggest the next logical command based on the user's original intent - If the issue persists, recommend checking `references/common-failure-signatures.md` for additional patterns or filing an issue --- ## References - `references/agent-path-matrix.md` -- Agent skill roots and wrapper roots for all 13 agents - `references/common-failure-signatures.md` -- Known failure patterns with symptom/cause/recovery
Related Skills
spec-kitty-runtime-review
Review runtime-owned outputs using the Spec Kitty review workflow surface, then direct approval or rejection with structured feedback. Triggers: "review this work package", "check runtime output", "approve this step", "review WP", "is this WP ready to approve", "check this implementation". Does NOT handle: setup-only repair requests, direct implementation work, editorial glossary maintenance, or runtime loop advancement.
spec-kitty-runtime-next
Drive the canonical spec-kitty next --agent <name> control loop for mission advancement. Load agent profiles at init, apply action-scoped doctrine context at each step boundary, and pull specific tactics/directives on demand. Triggers: "run the next step", "what should runtime do next", "advance the mission", "what is the next task", "continue the workflow", "what step comes next". Does NOT handle: setup or repair requests, purely editorial glossary or doctrine maintenance, or direct code review.
spec-kitty-orchestrator-api-operator
Teach agents and external systems how to use spec-kitty orchestrator-api to drive workflows from outside the host CLI. Triggers: "use orchestrator-api", "build a custom orchestrator", "automate externally", "integrate CI with spec-kitty", "call spec-kitty from another tool", "orchestrator contract", "external automation". Does NOT handle: host-internal lane mutation (use the host CLI directly), runtime loop advancement (use spec-kitty next), mission sequencing logic (the mission state machine owns that), or setup/repair diagnostics.
spec-kitty-mission-system
Understand how Spec Kitty missions work: the 4 built-in mission types, how they define workflows via step contracts and action indices, how missions and work packages relate, how templates are resolved through the 5-tier chain, and how doctrine artifacts (procedures, tactics, directives) compose mission behavior. Triggers: "what missions are available", "how do missions work", "which mission should I use", "explain the mission system", "what is a mission", "change the mission", "mission templates", "step contracts", "action index", "mission procedures". Does NOT handle: runtime loop advancement (use runtime-next), setup or repair (use setup-doctor), governance (use charter-doctrine), or glossary curation (use glossary-context).
spec-kitty-glossary-context
Curate and apply canonical terminology across Spec Kitty missions. Triggers: "update the glossary", "use canonical terms", "check terminology", "add a term", "fix term drift", "glossary conflicts", "resolve ambiguity", "review terminology consistency". Does NOT handle: runtime loop advancement, setup or repair requests, agent configuration, or direct code implementation tasks.
spec-kitty-git-workflow
Understand how Spec Kitty manages git: what git operations Python handles automatically, what agents must do manually, worktree lifecycle, auto-commit behavior, merge execution, and the safe-commit pattern. Triggers: "how does spec-kitty use git", "worktree management", "auto-commit", "who commits what", "git workflow", "merge workflow", "rebase WPs", "worktree cleanup", "safe commit". Does NOT handle: runtime loop advancement (use runtime-next), setup or repair (use setup-doctor), mission selection (use mission-system).
spec-kitty-constitution-doctrine
Run constitution interview, generation, context, and sync workflows for project governance in Spec Kitty 2.x. Triggers: "interview for constitution", "generate constitution", "sync constitution", "use doctrine", "set up governance", "constitution status", "extract governance config". Does NOT handle: generic spec writing not tied to governance, direct runtime loop advancement, setup/repair diagnostics, or editorial glossary maintenance.
claude-win11-speckit-update-skill
Windows 11 system management
Home Inspection Business Operations
Run a profitable home inspection business with real numbers, compliance checklists, and growth playbooks.
writing-spec
Writes product and tech specs for new Streamlit features. Use when designing new API commands, widgets, or significant changes that need team review before implementation.
Enterprise Submodule Setup
Use this skill when making changes to the enterprise submodule (`.source/`) or enterprise packages (`enterprise/packages/*`), or when the enterprise submodule needs to be initialized/updated.
terraform-specialist
Expert Terraform/OpenTofu specialist mastering advanced IaC automation, state management, and enterprise infrastructure patterns.