pb-bug-fix
Installation
SKILL.md
GitHub issue to tested fix and PR
What you get: a branch with a failing-then-passing test and the fix, reviewed against the issue, and an open PR that closes it. Merging is a separate run (pb-ship).
Plan first
The fix starts from the bugfix template — contract, root cause, failing test before the patch:
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.
Inputs
- repo — the current directory, or the one the user names;
<owner/repo>comes fromgit -C <repo> remote get-url origin - issue_number — the GitHub issue to fix, asked if missing