Write minimal code for failing tests
tdd-greencommandsetup L1★35
JeffGreen311/eve-agent-v2-unleashed ↗What it does
Implement minimal code to make failing tests pass in TDD green phase
Best for
Enforcing discipline in TDD where code strictly matches test requirements without premature optimization
Inputs
- · [object Object]
- · [object Object]
Outputs
- · [object Object]
- · [object Object]
- · [object Object]
Requires
- · test runner (pytest/unittest/jest)
- · Task tool for subagent dispatch
Preconditions
Failing tests present; red phase complete (tests written)
Failure modes
- · Over-engineering → violates minimal rule
- · Tests still red → incorrect implementation
- · Existing tests broken → regression introduced
Trust signals
- · Explicit 'fake it' strategies documented
- · Test-after-each-change verification
- · Shortcuts tracked for refactor phase