src/doctrine/skills/spec-kitty-setup-doctor/SKILL.md
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.
npx skillsauth add priivacy-ai/spec-kitty spec-kitty-setup-doctorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.
Determine the active agent, repository state, and working directory.
What to check:
.kittify/ directory exists (indicates prior initialization)Commands:
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.
Check that skill roots, wrapper roots, manifest, and generated artifacts are present.
What to check:
references/agent-path-matrix.md).kittify/skills-manifest.json for legacy canonical skills and/or
.kittify/command-skills-manifest.json for command-skill agentsCommands:
spec-kitty verify-setup
If spec-kitty is not installed:
pipx install spec-kitty-cli
pipx ensurepath
spec-kitty --version
Expected outcome: spec-kitty verify-setup reports all checks passed, or lists
specific missing/drifted files.
Verify that the working environment meets runtime requirements.
What to check:
.kittify/config.yaml is present and validCommands:
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.
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:
.kittify/ directory missing or corruptedHow to diagnose:
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.
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:
# 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.
After recovery is complete, point the user to the correct next step.
Decision tree:
spec-kitty init --here/spec-kitty.specifyspec-kitty agent tasks status/spec-kitty.implementspec-kitty verify-setupWhat to communicate:
references/common-failure-signatures.md
for additional patterns or filing an issuereferences/agent-path-matrix.md -- Agent skill roots and wrapper roots for all 13 agentsreferences/common-failure-signatures.md -- Known failure patterns with symptom/cause/recoverytools
Operate Spec Kitty tracker workflows, tracker service discovery, binding, hosted routing, and tracker recovery.
tools
Operate Spec Kitty team sync, hosted SaaS sync, offline queue, diagnostics, and recovery flows.
tools
Operate Spec Kitty connector integrations and route connector work across tracker, sync, SaaS, and external services.
tools
Handle Spec Kitty team authentication, hosted credentials, account selection, and auth-related recovery.