Applies TDD process, test quality criteria, and mock guidelines. Use when: writing unit tests, using mocks, or reviewing test quality.
Read a language reference only when the repository uses that language and the reference affects the current test or check:
Repository commands and established conventions take precedence over generic examples.
Use RED → GREEN → REFACTOR when a behavior change can be represented by a focused failing test.
Implement the smallest change that makes the focused proof pass while preserving current contracts and non-goals.
Improve structure only where the current change supplies evidence that refactoring is needed. Keep the focused proof passing.
Run the focused proof and the repository's applicable established checks. Fix in-scope regressions before completion.
TDD is not required for documentation-only changes, pure configuration without executable behavior, disposable spikes, or a no-change conclusion. Add a test after an emergency fix when the test protects the reproduced failure from recurrence.
Test observable behavior:
Keep internal implementation details outside tests unless they are themselves an accepted contract.
Choose the narrowest sufficient level:
Discover checks from repository scripts, CI configuration, language tooling, and contributor documentation. Run checks affected by the change, plus broader required checks before final completion.
When a repository lacks a relevant check, report the verification gap. Add new tooling only when the approved outcome or a demonstrated recurring failure justifies its cost.
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