ad-hoc-profile-load
Legacy alias for resolver-backed profile loading. Use the canonical spk-doctrine-profile-load…
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
$ npx -y skills add spec-kitty/spec-kitty --skill spec-kitty-setup-doctor --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/spec-kitty-setup-doctorContext preview
The summary Claude sees to decide when to auto-load this skill.
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
name: spec-kitty-setup-doctor description: >- 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.
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:**
**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:**
`.kittify/skills-manifest.json` for legacy canonical skills and/or `.kittify/command-skills-manifest.json` for command-skill agents
**Commands:**
spec-kitty doctor skills --json
If `spec-kitty` is not installed:
pipx install spec-kitty-cli pipx ensurepath spec-kitty --version
**Expected outcome:** `spec-kitty doctor skills --json` reports a healthy command and skill surface, or lists specific missing/drifted files.
---
Verify that the working environment meets runtime requirements.
**What to check:**
**Commands:**
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:
**How to diagnose:**
spec-kitty doctor skills --json 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 doctor skills --fix` | | Missing wrapper root | `spec-kitty doctor skills --fix` | | Missing skill root | `spec-kitty doctor skills --fix` | | Manifest drift | `spec-kitty doctor skills --fix` | | Runtime not found | `spec-kitty init . --ai <agent>` | | Corrupted config | Back up and remove `.kittify/config.yaml`, then run `spec-kitty init . --ai <agent>` |
**Commands:**
# Full re-initialization (fixes most issues) spec-kitty init . --ai <agent> # Targeted skill repair (preserves existing config) spec-kitty doctor skills --fix
**Expected outcome:** After recovery, `spec-kitty doctor skills --json` 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:**
1. If the user wanted to **start a new project**: `spec-kitty init . --ai <agent>` 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 doctor skills --json`
**What to communicate:**
for additional patterns or filing an issue
---
Spec-Driven Development with organizational governance. Specs tell AI agents what to build; Charter governs how they build it. Git-native missions, enforceable workflows, and consistent engineering standards across AI coding agents and harnesses.
Legacy alias for resolver-backed profile loading. Use the canonical spk-doctrine-profile-load…
Deploy a bounded, profile-loaded adversarial review squad at a mission point-cut so…
Recognize when a mission is a bulk edit and drive the occurrence-classification guardrail on…
Run charter interview, generation, context, and sync workflows for project governance in Spec…
Understand how Spec Kitty manages git: what git operations Python handles automatically, what…
Curate and apply canonical terminology across Spec Kitty missions. Triggers: "update the…