systematic-debugging

A disciplined, root-cause-first debugging workflow for coding agents.

Install

See the repository for setup

What it does

This skill gives a coding agent a structured procedure for handling bugs, test failures, unexpected behavior, performance problems, build failures, and integration issues. It is aimed at developers working through an agent on any of these problems, and is especially relevant when time pressure makes guessing tempting or when earlier fix attempts have not worked.

The procedure is organized as four sequential phases: investigate the root cause, analyze patterns and compare against working references, form and minimally test a single hypothesis, then implement a fix behind a failing test case and verify it. The skill insists that no fix is proposed before investigation is complete, and that when three or more fix attempts fail, the architecture itself should be questioned rather than patched again.

It is distributed as part of the Superpowers methodology for coding agents, with separate installs per harness; the source lists many supported clients including Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot CLI, OpenCode, and others. Supporting technique documents cover root-cause tracing, defense in depth, and condition-based waiting. Limitations: it prescribes process rather than automating diagnosis, its guidance is advisory, and it offers no guarantee a root cause will be found.

Skill files

  • SKILL.md
  • condition-based-waiting-example.ts
  • condition-based-waiting.md
  • defense-in-depth.md
  • find-polluter.sh
  • root-cause-tracing.md

Repository data

Stars
325,124
Last push
Nov 3, 2026
License
MIT
Archived
No

Tools similar to systematic-debugging

FAQ

What license does systematic-debugging use?
MIT
What files are included with systematic-debugging?
SKILL.md, condition-based-waiting-example.ts, condition-based-waiting.md, defense-in-depth.md, find-polluter.sh, root-cause-tracing.md

Comments

No comments yet.

Embed a listing badge

Featured on AI Agents Marketplace
<a href="https://aiagentsmarketplace.dev/skills/systematic-debugging"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
See badge options