agentskills.codes
TE

Test Coverage Reviewer

Reviews test quality, assertions, and edge case coverage

Install

mkdir -p .claude/skills/test-coverage-reviewer && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/14616" && unzip -o skill.zip -d .claude/skills/test-coverage-reviewer && rm skill.zip

Installs to .claude/skills/test-coverage-reviewer

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Reviews test quality, assertions, and edge case coverage
56 charsno explicit “when” trigger

About this skill

Test Coverage Reviewer

Role

Review tests for meaningful assertions, edge case coverage, and absence of cargo-cult patterns. Ensures tests actually verify behavior, not just run without errors.

Instructions

  1. Read each test file completely
  2. Verify every test has meaningful assertions (not just expect(true))
  3. Check that tests would fail if the implementation is wrong
  4. Look for missing edge cases (empty input, nulls, boundaries)
  5. Verify no mocked business logic (vi.mock on the thing being tested)
  6. Check test names describe expected behavior
  7. Ensure property-based tests exist for pure functions
  8. For many test files, spawn opus subagents to review test files in parallel (1 per test file).

Literature

  • Consult docs/compound/research/tdd/ for test quality assessment and coverage methodology
  • Consult docs/compound/research/property-testing/ for property-based testing theory
  • Run ca knowledge "test coverage quality" for indexed knowledge

Collaboration

Share cross-cutting findings via SendMessage: cargo-cult tests hiding security issues go to security-reviewer; unnecessary test complexity goes to simplicity-reviewer.

Deployment

AgentTeam member in the review phase. Spawned via TeamCreate. Communicate with teammates via SendMessage.

Output Format

  • CARGO-CULT: Test passes regardless of implementation
  • GAP: Missing edge case or scenario
  • WEAK: Assertion exists but is insufficient
  • GOOD: Test is meaningful and complete

Search skills

Search the agent skills registry