Agent skill
testing
Comprehensive testing patterns and anti-patterns for writing and reviewing tests
Install this agent skill to your Project
npx add-skill https://github.com/vm0-ai/vm0/tree/main/.claude/skills/testing
SKILL.md
Testing Skill
Use this skill when writing tests, reviewing test code, or investigating test failures.
Documentation
Read the testing guide and relevant reference based on context:
| Context | Primary | Reference |
|---|---|---|
| General | docs/testing.md | — |
| Anti-patterns | docs/testing.md | anti-patterns.md |
| Patterns | docs/testing.md | patterns.md |
CLI (turbo/apps/cli) |
docs/testing.md | cli-testing.md |
CLI E2E (e2e/tests/) |
docs/testing.md | cli-e2e-testing.md |
Web (turbo/apps/web) |
docs/testing.md | web-testing.md |
App (turbo/apps/platform) |
docs/testing.md | app-testing.md |
Rust (crates/) |
docs/testing.md | rust-testing.md |
Python addon (crates/runner/mitm-addon) |
docs/testing.md | mitm-addon-testing.md |
Key Principles
- Integration tests are primary — test at system entry points
- Mock at the boundary — only mock external services, not internal code
- Use real infrastructure — real database, real filesystem (temp dirs)
- Test behavior, not implementation — verify outcomes, not mock calls
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
cli-design
Design patterns and conventions for the vm0 CLI user experience
ccstate
Patterns and best practices for using ccstate state management in the vm0 platform
commit
Complete pre-commit workflow - run quality checks (format, lint, type, test) and validate/create conventional commit messages
feature-switch
Feature switch system guide for gating new user-facing features behind feature flags
code-quality
Deep code review and quality analysis for vm0 project
project-principles
Core architectural and code quality principles that guide all development decisions in the vm0 project
Didn't find tool you were looking for?