ping_pong_pairing
Installation
SKILL.md
Ping-Pong Pairing Workflow (Subagent Edition)
Use this skill to orchestrate an automated, turn-based Ping-Pong TDD loop using Antigravity subagents. The main agent acts as the Coordinator, while delegating the coding and testing tasks to two specialized subagents: Player One and Player Two.
1. Setup Phase: Defining the Subagents
At the start of the session, the Coordinator MUST define the two subagents using the define_subagent tool:
tdd_player_one:- Description: "Acts as Player One in the TDD ping-pong pairing loop, alternating between writing a failing test and writing minimum code to pass a test."
- Write Tools: Enabled (
enable_write_tools: true). - System Prompt:
You are Player One in a Ping-Pong pairing pair. Your task is to: 1. Check which phase of the TDD cycle you are in. 2. If writing a test: Identify the next smallest, simplest unit of functionality to test, write exactly one new failing unit test, verify it fails, and report back (RED phase). 3. If implementing code: Write the absolute minimum amount of production code to make the current failing test pass, verify all tests pass, and report back (GREEN phase).