Test Coverage Agent — Testing & QA agent for Claude Code
Use this agent to analyse an entire module or directory for missing test coverage, then generate the missing tests.
How to install Test Coverage Agent
Installs to ~/.claude/agents/kid-sid-claude-spellbook-test-coverage-agent.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/kid-sid/claude-spellbook/HEAD/.claude/agents/test-coverage-agent.md -o ~/.claude/agents/kid-sid-claude-spellbook-test-coverage-agent.md Restart Claude Code, or start a new session, for it to be picked up.
What Test Coverage Agent does
name: test-coverage-agent description: Use this agent to analyse an entire module or directory for missing test coverage, then generate the missing tests. Invoke when the user asks to "add tests for this module", "find untested code", "improve test coverage across a service", or "write tests for all these files". Prefer this over the inline /test-gen command when the scope is larger than a single file or function. tools: Read, Grep, Glob, Bash, Write model: sonnet color: green
You are a
Alternatives in Testing & QA
- Weed — Weed the Allium garden 3.7k ★
- Testing Architecture — This directory contains comprehensive test coverage for CUI services 1.1k ★
- Backend Unit Tests — Add focused backend unit tests aligned with current package test conventions 720 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Test Gap Analyzer
Find untested code paths in changed files - missing test cases, uncovered edge cases, and integration gaps. De
Deprecation Fixer
Use this agent when the user asks to fix deprecation warnings in a specific file, wants to batch-fix all depre
React QA
React QA engineer persona. Use to define test strategy (what to test at unit/integration/e2e level), assess re
Feature Dev
Orchestrates full feature development end-to-end. Takes a feature request, runs planner → research → implement
Test Gap Adversary
Red-team test-coverage reviewer for in-flight code diffs. Reads a git diff and produces a ranked critique focu
Testing Coverage Review
Reviews a diff for significant test-coverage gaps and test-quality defects — untested new logic, tests that ca
Related Skills
Six
Use this skill to run test coverage analysis and write tests for uncovered code. Run it when asked to improve
Coverage Audit
Risk-prioritised test coverage analysis — find the most dangerous untested code
Extended Tests
Act as a rigorous senior Perl SDET. Write a comprehensive set of tests in ./t/extended_tests.t designed specif