Unit Test banner
AGilbertDev AGilbertDev

Unit Test

Testing & QA community

Description

--- 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

Installation

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.

Full documentation available on GitHub

View Source Repository