Writes failing tests first for test-driven development and hands off a strict implementation contract that requires agents to make those tests pass without weakening the tests. Use when users ask for test-first workflows, RED/GREEN cycles, or behavior-gating tasks with automated tests.
Use this skill to complete the RED phase of TDD: define behavior with tests first, verify they fail for the right reason, then hand off implementation with objective pass criteria.
Use this skill when the user asks for:
tdd_test_writer for RED-phase test authoring whenever available.ASSUMPTION: lines in output.tdd_test_writertdd_test_writer subagent with task scope, target files, and acceptance criteria.tdd_test_writer is unavailable, continue directly and note FALLBACK: tdd_test_writer unavailable.vitest, jest, pytest, go test, cargo test).Return a block that implementation agents must follow. The handoff must include:
tdd_test_writer) or explicit fallback reasonTDD RED PHASE COMPLETE
## Authoring Mode
- Subagent: tdd_test_writer
- Fallback: [only if subagent unavailable]
## Test Files
- [path]
## Verification
- Command: [exact command]
- Result: FAIL (expected)
- Failure reason: [1-2 lines tied to missing behavior]
## Implementation Contract (for next agent)
1. Do not modify these tests: [paths]
2. Implement production changes only in: [paths or modules]
3. Completion gate: [exact command] passes with no test weakening.
4. Run broader safety check: [secondary command]
5. Return evidence: changed files + command output summary.
## Assumptions
- ASSUMPTION: [only if needed]
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer