⚠️ WORKFLOW INITIALIZATION
If starting a new session, first read workflow initialization:
code
mcp__plugin_swe_serena__read_memory("WF_INIT")
Follow WF_INIT instructions before executing this skill.
Workflow Debug TDD Skill
Test-driven debugging workflow for rapid iteration.
Purpose
- •Reproduce failing tests/bugs
- •Identify root cause
- •Implement fix
- •Verify fix works
TDD Cycle
- •RED - Confirm test fails / bug reproduces
- •Analyze - Identify root cause
- •GREEN - Implement minimal fix
- •Verify - Confirm test passes / bug fixed
- •Refactor - Clean up if needed
Actions
- •Run failing test - Confirm reproduction
- •Read error output - Understand failure
- •Trace to source - Find root cause
- •Implement fix - Minimal change
- •Re-run test - Verify fix
Skill Return Format
markdown
## Skill Return - **Skill**: swe-workflow-debug-tdd - **Status**: [success|needs_clarification|blocked] - **Findings Summary**: [bug description and fix applied] - **Artifacts**: [files changed, tests affected] - **Next Step Hint**: WF_EXECUTE
Exit
> **Skill /swe-workflow-debug-tdd complete** - bug fixed, returning to WF_EXECUTE