Skip to content

talayash/agentrium / .claude/skills/tdd-workflow

tdd-workflow

Verified

Test-Driven Development workflow with RED-GREEN-REFACTOR cycle and git checkpoints

FileKindSize
SKILL.mdskill md487 B
---
name: tdd-workflow
description: Test-Driven Development workflow with RED-GREEN-REFACTOR cycle and git checkpoints
---

# TDD Workflow

## The Cycle

1. **RED** - Write a failing test first
2. **GREEN** - Write minimum code to pass
3. **REFACTOR** - Clean up, tests must still pass

## Rules

- Never write production code without a failing test
- Each GREEN phase gets a git checkpoint
- Refactor must not change behavior
- Stop if tests fail after refactor - fix before continuing
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 322kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 322kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 322kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 198kUpdated Claude CodeCodexVerifiedInstall