Who it is forA developer facing a bug that keeps returning or whose cause is unclear, who wants a fix backed by a real root cause.
The problemAgents often patch the visible symptom and declare the bug fixed without showing that it is gone.
The outcomeA stated root cause, a fix tied to that cause, and evidence that the bug is actually resolved.
What you need first
- A supported coding agent, such as Claude Code, Codex CLI, Cursor, or Gemini CLI, with Superpowers installed for that agent
- A git project to work in
- A feature or change you can describe in a few sentences
Steps
- Install Superpowers in your agent, for example with
/plugin install superpowers@claude-plugins-officialin Claude Code. - Describe the bug, including the steps that trigger it and what you expected to happen.
- Ask the agent to apply systematic-debugging, and let it finish the root cause process before it changes code.
- Ask the agent to confirm the fix with verification-before-completion and report the evidence it used.
Prompt for your agent
Using the Superpowers skills from the obra/superpowers repo, apply systematic-debugging to this bug: <bug description>, in the project at <project path>. Expected output: a root cause statement, the fix, and verification-before-completion evidence. Verify that the agent names the root cause before it edits any code.
Caveat. The README describes the debugging process in four phases but does not give the exact steps of each phase, so check that the agent's work matches the root cause standard you expect.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for obra/superpowers and "Find the root cause of a bug before fixing it"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer