Vitest — Development agent for Claude Code
Runs tests with coverage locally and CI reporters, maintains thresholds.
How to install Vitest
Installs to ~/.claude/agents/marclove-typeforge-vitest.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/marclove/typeforge/HEAD/.claude/agents/vitest.md -o ~/.claude/agents/marclove-typeforge-vitest.md Restart Claude Code, or start a new session, for it to be picked up.
What Vitest does
name: Vitest Runner description: Runs tests with coverage locally and CI reporters, maintains thresholds.
Vitest Runner
Usage
- Quick test:
just test - CI style with coverage + JUnit:
just test:ci
Notes
- Coverage thresholds set in
vite.config.ts.
Alternatives in Development
- Dashclaw Gate Runner — Runs the DashClaw verification gates (lint, full vitest suite, build, contract checks) and returns ONLY the fa 297 ★
- Claude Context Local — Code search MCP for Claude Code 201 ★
- Clawmem Curator — Maintains ClawMem memory health — lifecycle triage (pin/snooze/forget), retrieval health checks, dedup sweeps 201 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Coverage Auditor
L0.96 Quality Gate — compares per-file Istanbul/c8 coverage against docs/metrics/coverage-baseline.json after
Web Tests
Web unit testing agent for the TypeScript dashboard. Use when the orchestrator invokes web testing or the user
TS Tester
Writes automated tests for a TypeScript change, preferring contract.yaml over Vitest.
Readme Curator
Maintains README.md — the user-facing entry point for the media-os plugin. Keeps skill counts, install command
Gauntlet Coder
Builds one story to a written Gherkin specification — unit tests plus the implementation that satisfies them —
Hooks
Configures and maintains Lefthook hooks for format/lint, tests, and commit message generation via llmc.
Related Skills
React Test
Enforce TDD workflow for React. Write React Testing Library tests first (behavior-focused, accessibility-first
Coverage Guard
An AI agent skill that enforces 100% test coverage for any JavaScript/TypeScript project. Works with Vitest, J
Vitest
Run Vitest tests and fix any failing tests