Testing
Systematic Debugging
Makes the agent reproduce a bug and find the cause before changing the code.
Author: obra https://github.com/obra
A fixed order for a failure: confirm it, trace it to one cause, then patch that cause. The agent does not start with a guess.
When to use
- A test fails or a screen does something you did not ask for.
- A fix was applied and the same bug came back.
When to skip
- You already know the line to change.
- The task is a new feature, not a defect.
Platforms
- Claude Code
- Codex
- Cursor
Install command
npx skills add obra/superpowers@systematic-debugging
Where it is installed
- Claude Code: ~/.claude/skills/systematic-debugging/
- Codex: ~/.codex/skills/systematic-debugging/
- Cursor: .cursor/skills/systematic-debugging/
Install the file yourself
Claude Code
mkdir -p ~/.claude/skills/systematic-debugging && curl -fsSL -o ~/.claude/skills/systematic-debugging/SKILL.md https://raw.githubusercontent.com/obra/superpowers/main/skills/systematic-debugging/SKILL.md
Codex
mkdir -p ~/.codex/skills/systematic-debugging && curl -fsSL -o ~/.codex/skills/systematic-debugging/SKILL.md https://raw.githubusercontent.com/obra/superpowers/main/skills/systematic-debugging/SKILL.md
Cursor
mkdir -p .cursor/skills/systematic-debugging && curl -fsSL -o .cursor/skills/systematic-debugging/SKILL.md https://raw.githubusercontent.com/obra/superpowers/main/skills/systematic-debugging/SKILL.md
