tdd-bug-fix
CommunityFix bugs with confidence, prevent regressions.
Authorgustavscirulis
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill ensures bugs are fixed correctly and permanently by enforcing the Test-Driven Development (TDD) methodology for bug fixes, preventing future regressions.
Core Features & Use Cases
- Reproduce Bugs: Write failing tests to definitively prove a bug exists.
- Targeted Fixes: Apply minimal code changes to make tests pass.
- Regression Prevention: The added test acts as a permanent safeguard against the bug recurring.
- Use Case: When a user reports that a discount calculation is sometimes incorrect, this skill guides the process of writing a test that fails for that specific incorrect calculation, then fixing the code, and ensuring the test now passes and all other tests remain green.
Quick Start
Use the tdd-bug-fix skill to fix the bug by writing a failing test, then applying the fix.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: tdd-bug-fix Download link: https://github.com/gustavscirulis/snapgrid/archive/main.zip#tdd-bug-fix Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.