Implements the Red-Green-Refactor cycle to ensure code reliability and robustness through test-first development principles.
The TDD Workflow skill provides a structured framework for executing Test-Driven Development within AI-assisted coding environments. It enforces the essential Red-Green-Refactor cycle, guiding both the user and the AI agent through the three laws of TDD and the AAA (Arrange-Act-Assert) pattern. By prioritizing behavioral testing over implementation details and focusing on incremental improvements, this skill helps minimize technical debt, clarify software requirements, and ensure that every line of production code is verified by a corresponding test. It is particularly effective for high-stakes feature development, complex logic implementation, and bug resolution.
주요 기능
01Triple-agent AI TDD pattern (Writer, Implementer, Optimizer)
02AAA (Arrange-Act-Assert) test structure enforcement
03Edge case and error state prioritization logic
04Red-Green-Refactor cycle orchestration
0531,721 GitHub stars
06Anti-pattern detection and prevention
사용 사례
01Refactoring complex legacy codebases without breaking functionality
02Developing new software features with high reliability requirements
03Resolving bugs by reproducing them with a failing test before fixing