# Debug

> Use for bugs, unexpected behavior, regressions, or failing tests you did not write.

- Skill: `hashgraph-online-awesome-codex-plugins/debug` (Agent Skill)
- Install (CLI): `npx skillmds@latest add hashgraph-online-awesome-codex-plugins/debug`
- Raw SKILL.md: https://api.skillmd.com/api/skills/hashgraph-online-awesome-codex-plugins/debug/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: hashgraph-online (https://skillmd.com/u/hashgraph-online-awesome-codex-plugins)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/hashgraph-online-awesome-codex-plugins/debug

---

# Debug

If `topology=multi-module` (triage announcement or coordinator spec/plan declaration), read `../references/multi-module.md`. Investigate read-only across repos; fix inside the task's registered module only; defer commits until integration passes.

1. **Reproduce.** Minimal deterministic repro. No repro → no fix.
2. **Root-cause.** Ask "why" until one cause explains *all* symptoms. Symptoms != cause.
3. **Regression test first** (red), then fix at the root (green). Use `tdd`.

## Don't
- Guess. Read the code and the full error.
- Change two things at once.
- Stop at the first plausible cause.

3 failed hypotheses → re-read from scratch. Done = repro + regression test + root cause named + green.
