Adversarial Pair TDD

0•

Orchestrates automated Test-Driven Development sessions using a competitive subagent loop to ensure robust code implementation.

The Adversarial Pair TDD skill streamlines the software development lifecycle by implementing a rigorous 'Red-Green' testing loop. It spawns two specialized subagents—an adversary to write failing tests and an implementer to fulfill them—within isolated git worktrees. This process ensures that new features or bug fixes are built against a comprehensive battery of edge cases and logic requirements, providing high-confidence code output while keeping your main working directory clean.

Key Features

01Interactive specification gathering with AI-led interviews
02Automatic logging and session summarization for final review
03Isolated development using temporary git worktrees
04Automated subagent orchestration for adversary and implementer roles
05Recursive 'Red-Green' loops with progress monitoring and escalation
060 GitHub stars

Use Cases

01Developing complex business logic where edge-case coverage is critical
02Rapidly prototyping new modules with a test-first approach
03Refactoring legacy codebases by generating adversarial unit tests