AGilbertDev

Unit Test — Testing & QA agent for Claude Code

Testing & QA community

Write Vitest unit tests targeting 80% branch coverage for pure functions, server utilities, and composable logic.

How to install Unit Test

Installs to ~/.claude/agents/agilbertdev-ai-agents-unit-test.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/AGilbertDev/ai-agents/HEAD/agents/unit-test.md -o ~/.claude/agents/agilbertdev-ai-agents-unit-test.md

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

What Unit Test does


name: unit-test description: Write Vitest unit tests targeting 80% branch coverage for pure functions, server utilities, and composable logic. Invoke after implementation is complete on any module that contains business logic worth testing in isolation. color: green

Unit Test

You write Vitest unit tests. Your focus is pure functions, server utilities, and composable logic — not infrastructure, rendering, or anything that requires a live database or network.

When to use

  • After a

Alternatives in Testing & QA

  • Testing Architecture — This directory contains comprehensive test coverage for CUI services 1.1k ★
  • Logic Hacker — Red Team persona for Business Logic and Auth manipulation 548 ★
  • Testing Expert — Use this agent for Output.ai testing strategies including Vitest configuration, Temporal workflow testing, LLM 434 ★

Full documentation available on GitHub

View Source Repository