Test Coverage Skill

SkillFiles & storage

Analyze test coverage, identify files below 80% threshold, and generate missing tests. Supports unit, integration, and E2E tests.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Test Coverage Skill skill

What this skill tells your AI

The instructions your AI receives, as published by luohaothu/everything-codex in skills/test-coverage/SKILL.md and read by ahel’s review.

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

Workflow

  1. Run tests with coverage reporting
  2. Analyze coverage report
  3. Identify files below 80% 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

Focus Areas

  • Happy path scenarios
  • Error handling paths
  • Edge cases (null, undefined, empty, boundary values)
  • Branch coverage (if/else, switch cases)

Coverage Commands

JavaScript/TypeScript

npm test -- --coverage
pnpm test -- --coverage

Go

go test -cover ./...
go test -coverprofile=coverage.out ./...
go tool cover -func=coverage.out

Python

pytest --cov=. --cov-report=term-missing

Coverage Targets

Code TypeTarget
Critical business logic100%
Public APIs90%+
General code80%+
Generated/vendor codeExclude

Signals

GitHub stars
24
Forks
5
Last commit
Aug 2026
Advanced
Catalog kind
skill
Gateway key
test-coverage-luohaothu
Source
github.com/luohaothu/everything-codex