dotts-h/claude-skills/recipe-doctor
Claude Code and agent skill by dotts-h/claude-skills
- community
Checking that the SKILL.md file is still in the repository.
Runs the conformance doctors of every recipe installed in a repo (per .recipes/lock.json) and aggregates the gaps into one readable report with suggested fixes. Use when asked to check recipe conformance, audit a repo's process health, run the doctor(s), diagnose drift from installed recipes, or survey an un-adopted repo against the recipe catalog.
Install
npx vskill@latest install dotts-h/claude-skills/recipe-doctorSKILL.md
The same SKILL.md was published earlier as dotts-h/claude-skills/recipe-doctor.
Recipe doctor
Doctors are the "enforce with hooks, not memory" half of the recipe system: deterministic scripts that check presence and shape, never byte-equality — a repo's local adaptations are legitimate; missing or broken machinery is not. This skill runs them all and turns the output into an actionable report.
Workflow (copy this checklist into your reply and tick it off)
- [ ] 1. Aggregate. Run
${CLAUDE_PLUGIN_ROOT}/skills/recipe-doctor/scripts/run-doctors.sh <target>. It reads .recipes/lock.json and runs each installed recipe's doctor at its locked tier. No lock? Re-run with --all for a survey of every recipe (expect gaps — that's the point of a survey) and recommend adopt-recipes.
- [ ] 2. Read every `GAP:` line. Each is one missing/broken conformance
fact with the reason it matters baked into the message.
- [ ] 3. Classify each gap:
- mechanical — missing file/exec bit/stale index; safe to fix by
re-rendering the template or a one-line change.
- judgment — tier mismatch, fleet contract unsatisfied, fat pointer
file; needs the user (or another repo) to decide.
- [ ] 4. Report. One table: recipe · gap · class · suggested fix. Green
doctors get one line, not a table.
- [ ] 5. Offer (don't assume) the fixes. Apply mechanical fixes only when
the user says so, then re-run step 1 to show green.
Reading the exit codes
Each doctor: 0 conformant · 1 gaps (readable GAP: lines) · 2 usage error. The aggregator exits 1 if any doctor reported gaps — wire it into a make doctor target or CI for scheduled conformance (the next section is how an adopted repo resolves the scripts, since they aren't installed into it).
Wiring make doctor in an adopted repo (resolving the scripts)
The doctors live in the plugin, not the repo: provides.scripts are recipe-owned and never installed (SPEC §2), so a wired make doctor has to resolve them — it can't just run a repo-local file. Only the durable repo state travels plugin-free (CONVENTIONS, the CI guard, CONTRACTS + the installed fleet-doctor.sh); the recipe-conformance audit is deliberately a plugin operation, because doctors are versioned with the catalog and check shape against the current recipe definitions. Resolution order for the target:
- In a Claude session —
${CLAUDE_PLUGIN_ROOT}is exported; run the
aggregator straight from it. Zero config while an agent operates the repo.
- Human shell / CI —
CLAUDE_PLUGIN_ROOTis unset; fall back to an
overridable variable pointing at a cookbook checkout the adopter controls (a pinned clone, a submodule, or the marketplace install path). CI that wants scheduled conformance must check the plugin out — the lock travels with the repo, the doctors do not.
- Neither resolves — fail loud (
exit 2), never pass silently: a doctor
that can't run is an unknown, not a green, and silent-green is exactly the "memory, not hooks" failure the doctors exist to kill.
Drop-in make target (npm flavor: mirror it as a doctor script):
The aggregator reads this repo's .recipes/lock.json and runs each installed recipe's doctor at its locked tier, so the one target stays correct as recipes are added or graduate — no per-recipe edits, and adopt-recipes step 8 only has to drop it in and reference it from CONVENTIONS' Quality gates.
Boundaries (what this skill does NOT do)
- Doesn't install or update recipes — recommend
adopt-recipes/
update-recipes when gaps trace to a missing install or version drift.
- Doesn't rewrite diverged files to match templates — divergence is not a
gap; doctors check shape, and local adaptations stay.
- Doesn't fix product code or failing tests — only recipe-conformance
machinery, and only on explicit approval (step 5).
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/cookbook/skills/recipe-doctor/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/dotts-h/claude-skills/recipe-doctor)