diagnosing-bugs
Installation
SKILL.md
Diagnosing Bugs
This is the loop-first discipline for hard bugs. systematic-debugging and the debugger skill remain the general-purpose entry points; use this one when the first problem is that no tight, red-capable repro exists yet.
A discipline for hard bugs. Skip phases only when explicitly justified.
When exploring the codebase, read CONTEXT.md (if it exists; see the domain-modeling skill) to get a clear mental model of the relevant modules, and check ADRs in the area you're touching.
Plan first
Structure the diagnosis in the bugfix template so symptom, cause and proof stay separate:
aos-plan-canvas new bugfix <plan-dir> # scaffold the plan folder
aos-plan-canvas open <plan-dir> --mode bdb-plan-builder # render and open in the browser
aos-plan-canvas await <plan-dir>/plan.mdx # keep listening until the verdict
On approve, aos-plan-canvas trail <plan-dir> derives the agenttrail map. The full loop: the plan-canvas skill — a plain CLI, identical on every harness.