Skip to content
Development
Command

/test-coverage

Analyze test coverage and generate missing tests to reach 80%+ coverage

From plugin
claude-forge
83735 skills16 agents35 commands22 hooks
+1
Install
> /plugin marketplace add sangrokjung/claude-forge
> /plugin install claude-forge@claude-forge

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/test-coverage

Context preview

What this command does when you run it.

Analyze test coverage and generate missing tests to reach 80%+ coverage

Command definition

test-coverage.md
description: Analyze test coverage and generate missing tests to reach 80%+ coverage
allowed-tools: Bash, Read, Write, Glob, Grep

Test Coverage

Analyze test coverage and generate missing tests:

1. Run tests with coverage: npm test --coverage or pnpm test --coverage

2. Analyze coverage report (coverage/coverage-summary.json)

3. Identify files below 80% coverage threshold

4. For each under-covered file:

  • Analyze untested code paths
  • Generate unit tests for functions
  • Generate integration tests for APIs
  • Generate E2E tests for critical flows

5. Verify new tests pass

6. Show before/after coverage metrics

7. Ensure project reaches 80%+ overall coverage

Focus on:

  • Happy path scenarios
  • Error handling
  • Edge cases (null, undefined, empty)
  • Boundary conditions
Ships withclaude-forge

oh-my-zsh for Claude Code — 16 agents, 35 commands, 32 skills, 21 safety hooks in one install. v4.0 adds an adversarial review loop: a second agent that never sees the first one's reasoning. MIT.

Get the whole plugin

Other commands on claude-forge.

agent-router
Command

agent-router

전문 에이전트 자동 라우팅. 법률, 재무, 특허, SEO, 마케팅, 기획, BM 설계(BMC/Lean/JTBD/Wardley/Blue Ocean/Lightning Sprint), 코드리뷰, 아키텍처, 견적, CRM, HR/인사, 노무(노동법/해고/산재/취업규칙), 리서치, 데이터…