Vitest Tester banner
dctx479 dctx479

Vitest Tester

Testing & QA community

Description

--- 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 模式:安排-执

Installation

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.

Full documentation available on GitHub

View Source Repository