Bug Fix Workflow
Implements a rigorous two-commit strategy that ensures bugs are reproduced with failing tests before applying fixes.
The Bug Fix Workflow skill optimizes the debugging process by enforcing a 'test-first' methodology. It guides the AI through a structured two-commit sequence: first creating a failing test to prove the existence of a bug, and then applying the fix to resolve it. This approach, tailored for the Rust ecosystem using Cargo, ensures that every resolution is validated, prevents future regressions, and provides a clear, audit-friendly history for code reviews.
Características Principales
01Enforced two-commit structure for reproduction and resolution
024 GitHub stars
03Regression prevention by integrating reproduction tests into the suite
04Automated Rust/Cargo test verification and linting
05Standardized Git commit message formatting for tests and fixes
06Mandatory failure proof before applying code changes
Casos de Uso
01Improving code review transparency by separating bug evidence from the solution
02Ensuring complex logic errors are accurately reproduced before patching
03Standardizing the debugging process in Rust-based projects