Skip to content
Development
Command

/test-coverage

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

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

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
@sangrokjung
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.

87733 skills16 agents4 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
877
Star history of sangrokjung/claude-forge on GitHub, a chart by star-history.com

Other commands on claude-forge.

agent-router

agent-router

Command

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

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command