
Debugging
Guides an agent through hypothesis-driven bug hunting from reproduction to minimal fix
Debugging is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- None
- Platforms
- Claude Code
- GitHub stars
- 6
- Last commit
- License
- Apache-2.0
- Listing updated
Similar skills
About Debugging
This skill walks the agent through a structured bug investigation: reproduce the failure with the smallest set of steps, record the error, conditions and recent changes, then list and test competing hypotheses until one is confirmed as the root cause. It also covers investigation patterns such as binary search through code paths, diffing against a last-known-good commit with git bisect, and writing a reproducer test when a bug only appears outside the local environment.
Once a cause is found, the workflow asks for a minimal fix that addresses one root cause, followed by verification with the project's test and check commands. The skill is written for a project that uses the just task runner and a spec-driven workflow, so it references just test, just spec-test and just check-all, and it expects the spec change and fix to ship in the same pull request.
The skill assumes a repository with a test suite and access to git history. It does not include scripts or reference files of its own.
When your agent uses it
Hypothesis-driven debugging — reproduce, gather evidence, test hypotheses, find root cause, fix minimally, then close the spec gap.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (4 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the fff plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add zerotechdebt/ffflow
/plugin install fff@ffflowOr copy only this skill to ~/.claude/skills/debugging:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zerotechdebt/ffflow.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/debugging &&
cp -R "$tmp/plugin/skills/debugging" ~/.claude/skills/debugging &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/debugging inside it instead.
Copy the skill folder to ~/.agents/skills/debugging to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zerotechdebt/ffflow.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/debugging &&
cp -R "$tmp/plugin/skills/debugging" ~/.agents/skills/debugging &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/debugging inside it instead.
Copy the skill folder to ~/.cursor/skills/debugging to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zerotechdebt/ffflow.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/debugging &&
cp -R "$tmp/plugin/skills/debugging" ~/.cursor/skills/debugging &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/debugging inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/zerotechdebt/ffflow.git --path plugin/skills/debuggingOr copy the folder to ~/.gemini/skills/debugging yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/debugging:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zerotechdebt/ffflow.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/debugging &&
cp -R "$tmp/plugin/skills/debugging" ~/.copilot/skills/debugging &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/debugging inside it instead.
Get the folder:
git clone --depth 1 https://github.com/zerotechdebt/ffflow.gitThen copy ffflow/plugin/skills/debugging into your agent's skills folder as debugging. Agents that support SKILL.md read one folder per skill.
What it does
- Reproduction first
- Requires isolating the minimum steps to trigger the bug and confirming it reproduces consistently before any fix.
- Hypothesis testing log
- Structures each candidate cause with a test, expected result, actual result and a confirmed or rejected outcome.
- Root cause write-up
- Captures the cause, what was ruled out and why the bug was missed, to guide new tests or spec entries.
- Defect-driven specification
- At higher levels, records the violated invariant as a spec and a test tagged as a known defect before fixing.
- Minimal fix discipline
- Limits changes to one root cause and one fix, and keeps refactors out of the bug fix.
- Investigation patterns
- Offers binary search through code paths, git bisect against a known-good commit and reproducer tests.
Good for
- Track down why a function returns wrong results after a recent change
- Investigate an intermittent failure that only happens with certain data
- Find the commit that introduced a regression using git bisect
- Write a failing test that reproduces a production bug before fixing it
- Prepare a pull request that documents the root cause and the fix
Debugging FAQ
What does Debugging need to run?
It is a SKILL.md instruction file with no scripts. The workflow refers to just commands such as just test and just check-all, so the project is expected to provide those tasks.
When does the skill trigger?
It is loaded by the work-issue workflow when a change is a bug fix, or it can be invoked directly when investigating a failure.
Does Debugging change any files on its own?
No. It is a set of instructions that guide the agent's investigation and fix process; any edits come from the agent following the workflow.
Is a spec step always required?
The defect-driven specification step applies at L1 and above. Lower levels use a prose section instead, and the spec test step applies at L2 and above.
How do I install Debugging in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/debugging to use it in all your projects, or to .claude/skills/debugging in one project. Or install the fff plugin, which includes it: /plugin marketplace add zerotechdebt/ffflow, then /plugin install fff@ffflow.
Does Debugging run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Debugging?
Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to Debugging?
The closest alternatives to Debugging are Debug, Debug hypothesis, Debug issue, Bugfix and Fix bug.
Where this comes from
- Description: from the skill's own SKILL.md.
More from zerotechdebt/ffflow

Onboards a project onto FFFlow: config, stack setup, then a phased roadmap
- Open source
- 6 GitHub stars
- Developer tools

Runs keep-honest audits on a project and reports drift, stale docs and tech debt
- Open source
- 6 GitHub stars
- Developer tools

Runs another interactive skill unattended, making routine choices from project context
- Open source
- 6 GitHub stars
- Developer tools

Lists and validates the adapter cartridges that FFFlow ports load in a project
- Open source
- 6 GitHub stars
- Developer tools

Extracts a behavioral spec from an unspecified codebase and plans characterization tests
- Open source
- 6 GitHub stars
- Developer tools

Adds GitHub Actions workflows that run FFFlow quality gates on pull requests
- Open source
- 6 GitHub stars
- Developer tools





