tdd-workflow

Installation
Summary

Test-Driven Development workflow guiding the RED-GREEN-REFACTOR cycle.

  • Structured three-phase cycle: write failing tests (RED), implement minimal code to pass (GREEN), then improve code quality (REFACTOR)
  • Emphasizes behavior-driven test design using the AAA pattern (Arrange, Act, Assert) with one assertion per test
  • Provides test prioritization guidance (happy path, error cases, edge cases, performance) and identifies anti-patterns to avoid
  • Supports multi-agent workflows where different agents handle test writing, implementation, and refactoring phases
SKILL.md

TDD Workflow

Write tests first, code second.


1. The TDD Cycle

πŸ”΄ RED β†’ Write failing test
    ↓
🟒 GREEN β†’ Write minimal code to pass
    ↓
πŸ”΅ REFACTOR β†’ Improve code quality
    ↓
   Repeat...

Related skills
Installs
707
GitHub Stars
37.3K
First Seen
Jan 20, 2026