agents/skills/multi-agent-tdd-implementation/SKILL.md
This skill enforces Test-Driven Development (TDD) using specialized agents to scaffold APIs, write tests, implement code, and merge changes.
project.magi.json to ground the VCS (GIT
or JJ), repo type (CHROMIUM or GOOGLE_INTERNAL), and output
directories.tdd_state.magi.json. If creating,
initialize state block fields (loop_counters set to {}, iteration set
to 1, stage_attempts set to {}, next_stage set to "SCAFFOLDING",
and verification_status set to "PENDING"). If reading, preserve or
increment the existing counters.project.magi.json.NOTIMPLEMENTED()).*_unittest.cc), define fixtures, and write stubbed
test cases covering the goal.ADD_FAILURE() << "NOT IMPLEMENTED"; into each test stub.constraints.magi.json is present (from a
previous review cycle, conforming to schema.json#/definitions/Constraints),
the implementation subagents must resolve the list of issues specified in the
constraints array field of that object.verification_status: PASSED and
next_stage: COMPLETED in tdd_state.magi.json.next_stage: FAILED.