Bug Fix Workflow
Enforces a disciplined two-commit bug-fixing strategy that proves issues with failing tests before implementing verified solutions.
The Bug Fix Workflow skill implements a rigorous, test-driven approach to resolving software issues by mandating a specific two-commit structure. It guides Claude through creating a reproduction test that fails in the current state—proving the bug exists—followed by a second commit containing the fix that resolves the issue. This systematic process ensures that every fix is validated by concrete evidence, simplifies the code review process, and creates a permanent regression test to prevent the bug from returning in the future.
Key Features
01Automated reproduction test verification
02Rust toolchain integration (cargo test, clippy, fmt)
034 GitHub stars
04Standardized two-commit Git structure
05Structured commit message templates
06Mandatory regression test enforcement
Use Cases
01Implementing Test-Driven Development (TDD) for legacy code issues
02Resolving reported software bugs with verifiable reproduction steps
03Maintaining a clean and professional Git history for open-source contributions