From pds
Fixes bugs using test-first loop: add minimal failing reproduction test, apply smallest fix to affected module, verify full test suite and linters. Use for reported bugs needing verified low-impact fixes.
How this skill is triggered — by the user, by Claude, or both
Slash command
/pds:bugfixThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Bugs get fixed once when you prove the fix works. No guessing, no "it should be fine." Write a failing test, fix the code, watch it pass.
Bugs get fixed once when you prove the fix works. No guessing, no "it should be fine." Write a failing test, fix the code, watch it pass.
/bugfix [bug description or issue link]
Confirm your context before touching anything:
git branch --show-current and git rev-parse --show-toplevelWrite a minimal failing test that captures the exact bug:
test_[module]_[bug_description]Run the test suite. Your new test must fail. If it passes, your test doesn't capture the bug — go back to step 2.
Implement the minimal fix:
Run the full test suite — not just your new test. If anything fails, go back to step 4.
Run project linters and type checks. Fix any warnings your changes introduced. Do not fix pre-existing warnings.
Only after all tests and checks pass:
fix(scope): description format (conventional commits)/pds:verify — completion self-check before declaring donenpx claudepluginhub rmzi/portable-dev-system --plugin pdsDiagnoses and fixes bugs using a test-first workflow: reproduce with a failing test, diagnose root cause, then fix. Activates on bug reports, unexpected behavior, or defect investigations.
Step-by-step bug fix workflow: diagnose root cause, implement minimal fix, write regression test. Use when fixing bugs or working on bug report issues.
Diagnose and fix a bug in an isolated git worktree with reproduce-first, test-first methodology