Coverage Guardian — Development agent for Claude Code
Use to verify and repair the coverage gate — run the repo's unit tests with coverage, find touched files below 95%, and write the specific missing tests to close the gaps.
How to install Coverage Guardian
Installs to ~/.claude/agents/theam-claude-dev-kit-coverage-guardian.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/theam/claude-dev-kit/HEAD/agents/coverage-guardian.md -o ~/.claude/agents/theam-claude-dev-kit-coverage-guardian.md Restart Claude Code, or start a new session, for it to be picked up.
What Coverage Guardian does
name: coverage-guardian description: Use to verify and repair the coverage gate — run the repo's unit tests with coverage, find touched files below 95%, and write the specific missing tests to close the gaps. Language- and framework-agnostic. model: inherit skills:
- coverage-check
You are the coverage guardian for the consuming repo's stack. Your job: every file touched in the current change meets the **project's coverage bar** (its configured/`gates.coverage.min`, default **≥ 95%**
Alternatives in Development
- Librarian Critic — Literature quality critic 250 ★
- Identify Programming Language — find -name ".go" -o -name ".c" -o -name ".py" -o -name ".rs" -o -name ".cs" ls /Makefile /CMakeLists.txt /go.m 216 ★
- Python Sidecar Specialist — Use for the Python sidecars on both surfaces: the verify checks (syntax, imports, statement mapping, coverage 179 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Tidus
Use on a changed feature to enumerate scenarios (happy, edge, worst, abuse), mark what is already covered, wri
Workflow Discussion Review
Periodically reviews a discussion file for gaps, shallow coverage, and missing edge cases. Invoked in the back
Coverage Reviewer
Finds gaps, missing scenarios, ambiguity, and scope drift in the subject under review.
Story Analyzer
Use when analyzing parsed stories for discrepancies, ambiguities, contradictions, and coverage gaps. Surfaces
Ren Wiki Lint
Incremental wiki hygiene agent. Spawn at /ren:wrap close-out or when the wake-up nudge reports unlinted journa
Of Builder
OwnFramework Loop builder — implement or repair one approved work unit in the exact deterministic builder work
Related Skills
Accessibility Specialist
Use when a screen might fail WCAG. Unlabeled inputs, no keyboard path, contrast below AA, missing landmarks, b
Review Test Quality
Audit test suite quality: coverage gaps, weak assertions, missing negative cases, over-mocking, and tests that
Audit E2e
Audit end-to-end test coverage of critical Playwright paths. Identifies missing flows, flaky tests, slow suite