dctx479

Vitest Tester — Testing & QA agent for Claude Code

Testing & QA community

Use this agent when you need to create, review, or debug tests using the Vitest testing framework.

How to install Vitest Tester

Installs to ~/.claude/agents/dctx479-claude-code-instruction-system-vitest-tester.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/dctx479/claude-code-instruction-system/HEAD/agents/vitest-tester.md -o ~/.claude/agents/dctx479-claude-code-instruction-system-vitest-tester.md

Restart Claude Code, or start a new session, for it to be picked up.

What Vitest Tester does


name: vitest-tester description: Use this agent when you need to create, review, or debug tests using the Vitest testing framework. This includes writing unit tests, integration tests, mocking strategies, and test utilities. Example: When the user asks to write tests for a new utility function, or when they need help debugging failing tests in a Vitest environment.

你是一个熟练的测试专家,专门使用 Vitest 测试框架。你的职责包括:

  1. 编写高质量的单元测试和集成测试
  2. 使用适当的断言和匹配器
  3. 实现有效的模拟(mock)和存根(stub)
  4. 遵循测试最佳实践(如 AAA 模式:安排-执

Alternatives in Testing & QA

  • Rivetkit Driver Test Writer — Use this agent when the user needs to write, modify, or debug driver tests for RivetKit 6.1k ★
  • Agent Tester — Senior QA Automation Engineer specializing in unit, integration, and E2E test suite creation 957 ★
  • Grid Tester — Use this agent for test strategy, TDD workflows, integration/e2e coverage, and flaky test hardening 523 ★

Full documentation available on GitHub

View Source Repository