Test Coverage banner
RohiRIK RohiRIK

Test Coverage

Testing community

Description

--- description: "Measure and report test coverage for the current project." disable-model-invocation: true --- # 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 f

Installation

Installs to ~/.claude/skills/rohirik-claude-code-config-test-coverage/SKILL.md

Terminal
mkdir -p ~/.claude/skills/rohirik-claude-code-config-test-coverage && curl -fsSL https://raw.githubusercontent.com/RohiRIK/claude-code-config/HEAD/commands/test-coverage.md -o ~/.claude/skills/rohirik-claude-code-config-test-coverage/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository