Rapidly fix small bugs and minor improvements in development environment
Fixes small bugs with root cause analysis, test-first approach, and confidence-based verification.
/plugin marketplace add thkt/claude-config/plugin install complete-workflow-system@thkt-development-workflows[bug or issue description]inheritRapidly fix small bugs with root cause analysis and confidence-based verification.
Use /fix | Use other command |
|---|---|
| Small, well-understood issue | Unknown root cause → /research |
| Single file or 2-3 files | Multi-file refactoring → /code |
| Confidence ≥80% | New feature → /think |
The /fix command follows a structured 6-phase approach:
Phase 1: Root Cause Analysis
↓ Identify true cause, not symptom
Phase 1.5: Regression Test First (Recommended)
↓ Write failing test (TDD approach)
Phase 2: Implementation
↓ Confidence-based fix
Phase 3: Verification
↓ Quality checks
Phase 3.5: Test Generation (Optional)
↓ Additional regression tests
Definition of Done
↓ Output & learnings
Each phase has detailed guidance in dedicated modules:
@../references/commands/fix/root-cause-analysis.md
Output: Root cause identified with confidence score
@../references/commands/fix/regression-test.md
When to skip:
Output: Failing test that reproduces bug
@../references/commands/fix/implementation.md
/researchOutput: Minimal fix applied
@../references/commands/fix/verification.md
Output: All checks passing
@../references/commands/fix/test-generation.md
When to skip:
Output: Additional regression tests
@../references/commands/fix/completion.md
Confidence target: ≥0.9
Use throughout all outputs:
If confidence drops below 0.7 at any phase:
⚠️ Low Confidence - Recommend escalation:
- /research - Investigate deeper
- /think - Plan comprehensive solution
- /code - Implement with full TDD
/fix does NOT generate IDR because:
When to use IDR: Use /code for features requiring decision tracking.
/fix or /research/think → /code for comprehensive solutionFor TDD fundamentals and patterns: