Loading...
Loading...
Fix a bug with systematic debugging, TDD, and PR workflow
npx skill4agent add zhengxuyu/zforge fix-buggit checkout main && git pullgit log --oneline -10git worktree add .claude/worktrees/fix-<name> -b fix/<bug-description>
cd .claude/worktrees/fix-<name>git diff main...HEADgh pr creategh pr checks <number> --watchgh pr merge <number> --mergecd <project-root> && git worktree remove .claude/worktrees/fix-<name>git checkout main && git pull && git branch -d fix/<bug-description>| # | Check | Answer |
|---|---|---|
| 1 | What changed — what was fixed and how | [brief] |
| 2 | Root cause fix — does this fix the root cause, or just the symptom? | [yes/no + evidence] |
| 3 | Single source of truth — no duplicate data paths or redundant caches introduced? | [yes/no + evidence] |
| 4 | Test regression — do all existing tests pass? | [pass count / fail count] |
| 5 | Reuse — did you reuse existing patterns/functions, or reinvent something? | [yes/no + evidence] |