fix-bug
Installation
SKILL.md
Fix Bug
Goal: Make the bug-fixing process reproducible, verifiable, and regression-safe, reducing speculative changes, fake test passes, fixing only symptoms without addressing root causes, and the problem of fixing one issue while breaking many others.
Core Principles
- Understand the problem first, then modify the code.
- Reproduce the bug first, then write the fix.
- Make the test fail first, then make it pass.
- Verify that the test is valid first, then trust the test result.
- Prefer minimal, verifiable, and reversible fixes.
- When a structural problem is discovered, clarify the repair level first; do not use the name of a hotfix to perform an unbounded refactor.
- Do not casually delete debug logs, reproduction scripts, or现场 evidence before validation is complete.