Backprop: Bug-to-Spec Protocol
JuliusBrussee/cavekit
After a bug is found, traces its root cause and feeds a new testable invariant back into the project spec so the bug class can't recur.
Diagnose a failing test, build, crash, regression, or unexpected behavior without editing source.
$ npx skills add aiblueprinthq/ai-blueprint --skill debug -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install aiblueprinthq/ai-blueprint debug --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/aiblueprinthq/ai-blueprint.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/debug .claude/skills/debug && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "debug" agent skill from https://github.com/aiblueprinthq/ai-blueprint/tree/main/.agents/skills/debug into .claude/skills/debug/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "debug", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/aiblueprinthq/ai-blueprint/tree/main/.agents/skills/debugType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add aiblueprinthq/ai-blueprint --skill debug -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install aiblueprinthq/ai-blueprint debug --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aiblueprinthq/ai-blueprint.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/debug .agents/skills/debug && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "debug" agent skill from https://github.com/aiblueprinthq/ai-blueprint/tree/main/.agents/skills/debug into .agents/skills/debug/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "debug", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add aiblueprinthq/ai-blueprint --skill debug -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install aiblueprinthq/ai-blueprint debug --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aiblueprinthq/ai-blueprint.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/debug .cursor/skills/debug && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "debug" agent skill from https://github.com/aiblueprinthq/ai-blueprint/tree/main/.agents/skills/debug into .cursor/skills/debug/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "debug", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/aiblueprinthq/ai-blueprint.git --path .agents/skills/debug--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add aiblueprinthq/ai-blueprint --skill debug -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install aiblueprinthq/ai-blueprint debug --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aiblueprinthq/ai-blueprint.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/debug .gemini/skills/debug && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "debug" agent skill from https://github.com/aiblueprinthq/ai-blueprint/tree/main/.agents/skills/debug into .gemini/skills/debug/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "debug", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install aiblueprinthq/ai-blueprint debugInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add aiblueprinthq/ai-blueprint --skill debug -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/aiblueprinthq/ai-blueprint.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/debug .github/skills/debug && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "debug" agent skill from https://github.com/aiblueprinthq/ai-blueprint/tree/main/.agents/skills/debug into .github/skills/debug/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "debug", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add aiblueprinthq/ai-blueprint --skill debug -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install aiblueprinthq/ai-blueprint debug --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aiblueprinthq/ai-blueprint.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/debug .opencode/skills/debug && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "debug" agent skill from https://github.com/aiblueprinthq/ai-blueprint/tree/main/.agents/skills/debug into .opencode/skills/debug/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "debug", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
debugDiagnose a failing test, build, crash, regression, or unexpected behavior without editing source.
Debug is an agent skill from aiblueprinthq/ai-blueprint. Diagnose a failing test, build, crash, regression, or unexpected behavior without editing source. Reproduce the symptom, test hypotheses, identify the supported root cause, and hand off a repair. Use for /debug, root-cause investigation, or questions about why something is broken.
Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).
It sits in Development, covering Root cause analysis and Failing and flaky tests. The repository describes itself as: A file-backed, spec-driven AI coding workflow framework for building real software while staying in control. The licence is MIT.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 96222b7. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Debug loads about 1.6k tokens when it runs. Until then it costs about 72 tokens; SKILL.md has 851 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from aiblueprinthq/ai-blueprint at commit 96222b7, republished under its MIT licence (© aiblueprinthq). 851 words, ~1,565 tokens.
.claude/skills/debug/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Context reuse: Reuse any required file already loaded in project instructions or the current session. Read it again only if absent, changed, or exact current bytes or line references are needed.
First action: Before project inspection, preflight, or any other tool call,
publish running to blueprint/.state/run.json using the dashboard activity
contract in AGENTS.md.
Where this sits in the workflow:
reported failure -> [debug] -> /fix or /implement
(test, build, (reproduce, (spec a new fix, or
crash, behavior) isolate, repair active work)
explain)/debug separates diagnosis from repair. It gathers evidence, narrows the
failure to a specific cause when possible, and stops with a useful handoff. It
does not make the code "temporarily work" while investigating.
Accept a symptom, failing command, error message, or unexpected behavior. Examples:
/debug npm test fails in cart-total.test.js
/debug the upload route returns 500 for PNG files
/debug why does the production build fail?With no useful symptom, ask for the expected behavior, actual behavior, and smallest known reproduction. Do not guess which problem the user means.
Read the project instructions and the context relevant to the failure:
AGENTS.md and its real commandsblueprint/context/project-overview.mdblueprint/context/coding-standards.mdblueprint/context/current-feature.mdState the symptom and what would count as reproducing it. Note whether the failure belongs to an active feature or is an unplanned bug.
Do not treat a dirty working tree as permission to discard or rewrite anything. Use the diff as evidence and preserve it.
Run the smallest existing command or interaction that can reproduce the symptom.
If the symptom cannot be reproduced, say what was attempted and what evidence is missing. Continue with static investigation only when it can produce a clearly labeled hypothesis, not a claimed root cause.
Trace from the observed failure toward the smallest responsible area.
Use the evidence that fits the project:
git diff, git log, and git blame for a suspected regressionSeparate facts from hypotheses. Test the cheapest safe competing explanations first. Do not stop at the first plausible line, blame a dependency without evidence, or confuse the place an error surfaced with the place it originated.
A root cause is confirmed only when the evidence connects all three:
When safe and read-only, vary one input or run a smaller focused command to confirm the connection. Do not change implementation or tests to prove the fix.
Use one of these verdicts:
Give a concise debug report:
Choose the next action without writing files:
/implement./fix "<concise bug and confirmed cause>"./feature./audit owns recorded code-quality
findings; /debug reports one investigated failure in chat.Format the output to match the project's conventions in
blueprint/context/ai-interaction.md: concise, scannable markdown with a short
evidence list and a clear next action.
© aiblueprinthq, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in .agents/skills/debug of aiblueprinthq/ai-blueprint.
Open the folder on GitHubat commit 96222b7
Debug next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Debug this skillaiblueprinthq/ai-blueprint | 463 | — | ~1.6k | Automated safety check: Pass | MIT | |
| Backprop: Bug-to-Spec ProtocolJuliusBrussee/cavekit | 1.2k | — | ~653 | Automated safety check: Pass | MIT | |
| CI TriageMentra-Community/MentraOS | 2.4k | — | ~582 | Automated safety check: Pass | Apache-2.0 | |
| Root Cause Debuggingjsmastery-pro/skills | 1.5k | — | ~1.8k | Automated safety check: Notes | MIT | |
| Superpowers Systematic Debuggingchristopherarter/superpowers-reasonix | 102 | — | ~2k | Automated safety check: Pass | MIT | |
| Minimal Code Fixcobusgreyling/loop-engineering | 11k | 1 repos | ~345 | Automated safety check: Notes | MIT |
JuliusBrussee/cavekit
After a bug is found, traces its root cause and feeds a new testable invariant back into the project spec so the bug class can't recur.
Mentra-Community/MentraOS
Triage failing GitHub PR checks: list failures with gh, fetch capped Actions logs, skip non-Actions checks, and summarize root cause.
jsmastery-pro/skills
Runs a reproduce, localize, hypothesize, test, fix and verify loop to find a bug's root cause, applies the minimal fix and hands off a regression test.
christopherarter/superpowers-reasonix
Any bug, failing or flaky test, or surprise behavior?. An agent skill from christopherarter/superpowers-reasonix.
cobusgreyling/loop-engineering
Makes the smallest code change that fixes one well-scoped problem, such as a CI failure, review comment or typo, without refactoring anything unrelated.
warpdotdev/oz-skills
Diagnose and fix GitHub Actions CI failures. An agent skill from warpdotdev/oz-skills.
aiblueprinthq/ai-blueprint
Adopt Blueprint into an existing brownfield codebase by surveying shipped behavior and generating plans, standards, commands, adapter choices, and visibility setup.
aiblueprinthq/ai-blueprint
Set up or normalize one project Verify command and matching GitHub Actions checks while preserving existing CI, with an optional local pre-push hook.
aiblueprinthq/ai-blueprint
Run a Blueprint health and context check covering setup, adapters, commands, visibility, plans, overview freshness, configuration, dashboard state, and workflow drift.
aiblueprinthq/ai-blueprint
Turn the next, named, or numbered build-plan feature into a buildable current-feature.md spec with small steps and done-when criteria.
aiblueprinthq/ai-blueprint
Onboard a fresh or early scaffold after Blueprint is overlaid by tuning commands, standards, adapters, visibility, and context loading.
aiblueprinthq/ai-blueprint
Validate and normalize project-plan.md and build-plan.md, then generate the durable project-overview.md used by agents.
Categories
Diagnose a failing test, build, crash, regression, or unexpected behavior without editing source. Debug is an agent skill from aiblueprinthq/ai-blueprint. Diagnose a failing test, build, crash, regression, or unexpected behavior without editing source.
Debug fits situations like: root-cause investigation; questions about why something is broken.
Run `npx skills add aiblueprinthq/ai-blueprint --skill debug -a claude-code`. Or copy the skill folder (.agents/skills/debug in aiblueprinthq/ai-blueprint) into .claude/skills/debug in your project. Claude Code loads it when a task matches its description.
Run `npx skills add aiblueprinthq/ai-blueprint --skill debug -a codex`. Or copy the skill folder (.agents/skills/debug in aiblueprinthq/ai-blueprint) into .agents/skills/debug in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aiblueprinthq/ai-blueprint --skill debug -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/debug, .gemini/skills/debug, .github/skills/debug and .opencode/skills/debug in your project.
Going by SKILL.md and its folder, Debug needs the command-line tools its instructions call (git).
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Debug is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.6k tokens (SKILL.md is roughly 6.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Debug: Backprop: Bug-to-Spec Protocol (JuliusBrussee/cavekit, 1.2k stars), CI Triage (Mentra-Community/MentraOS, 2.4k stars), Root Cause Debugging (jsmastery-pro/skills, 1.5k stars) and Superpowers Systematic Debugging (christopherarter/superpowers-reasonix, 102 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
aiblueprinthq (a GitHub organization) maintains it in aiblueprinthq/ai-blueprint, which has 463 GitHub stars. The repository holds 20 skills in this directory. The repository was last updated on October 8, 2026.
Source: aiblueprinthq/ai-blueprint on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.