tdd'er
A plugin for pi, Claude Code, and OpenCode that guides AI agents through disciplined Test-Driven Development
and Clean Code practices.
Note that currently this is WORK IN PROGRESS! I'm not even trying to keep it stable or tested.
At the moment, I'm writing it only for my personal use; it may also work for you, but be ready to have issues;
I'd be happy to hear about them!
Features
- TDD discipline: Strict Red-Green-Refactor cycles with baby steps and guessing game
- Clean Code review: Automated code review during refactor phases via subagent
- APP mass calculations: Objective code complexity measurement
- Language-agnostic core: TDD and Clean Code principles work with any language
- Extensible: Add language skills (Java, TypeScript, ...) and build-system skills (Maven, npm, ...)
- Unfolding Architecture: Progressive architectural decisions — start simple, add complexity only when it reduces
complexity
- Unfolding Specs: Orchestrated feature development — orchestrator launches the top-level PO task, while specialist
roles coordinate through runtime-managed delegated tasks
- Configurable human-in-the-loop: Control how often the AI pauses for your input
Skills
Language-agnostic core skills work with any language. Language and build-system skills complement them automatically
when matching files are detected.
| Skill | Purpose |
|---|
tdd | Core TDD process (Red-Green-Refactor, baby steps, guessing game) |
clean-code | Clean Code principles (naming, SOLID, smells, method design) |
app | Absolute Priority Premise mass calculations |
java | Java-specific conventions (var, BDD testing, static imports) |
unfolding-architecture | Progressive architectural decisions (start simple, unfold on demand) |
integration-architecture | Integration messaging patterns (commands vs events, push vs pull, reliability) |
maven | Maven-specific conventions (test execution, project structure) |
nested-fixture-pattern | JUnit nested fixture pattern for layered test preconditions |
grill-po | Requirements grilling session with a PO: sharpens terminology, documents features as Gherkin, updates bounded-context files and ADRs inline |
project-hygiene | Interaction style, commit conventions, documentation discipline |
github-safety | Prompt-injection defense for GitHub issues and pull requests |
prove-me-wrong | Devil's advocate mode: finds the strongest objections to the user's position |
Extensions
Extensions add active behaviour beyond passive skills — they register commands, tools, and UI components
directly into the coding agent.
The sections below already document the larger extensions in detail. To avoid duplicating that prose,
here is a compact overview of what each extension contributes: