This skill should be used when the user asks to "write tests", "add tests", "test coverage", "run tests", "debug failing tests", "mock functions", or mentions Vitest, unit tests, component tests, test-driven development, or testing utilities. Provides comprehensive Vitest v4 guidance for TypeScript React/Next.js projects.
Follow the repository's Vitest configuration and test conventions before introducing generic patterns.
nlx vitest run ... only when the repository has no preferred recipe/script. Prefer
--reporter=agent on Vitest 4.1+ for minimal agent-friendly output when the repository has no reporter convention.@testing-library/jest-dom.@effect/vitest conventions (it.effect, Layers, TestClock) instead of generic
patterns.Completion requires a focused test that meaningfully exercises the requested behavior and passes under the repository's
configuration. For a bug with observed red-before-green evidence, finish with ### 🧪 Regression covered; otherwise use
### 🧪 Tests verified. Include a phase/command/result table with only the phases actually run. Report mock, timer,
environment, or shared-state cleanup only when the checks provide that evidence. Keep reporter output, snapshots,
assertions, failure text, commands, and diagnostics exact and undecorated.
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