improve-coverage

SKILL.md

Improve test coverage for $ARGUMENTS.

Phase 1: Coverage Analysis

  1. Generate coverage report
  2. Identify untested functions, branches, error paths, edge cases

Phase 2: Test Priority

  1. Prioritise by: critical business logic, complex functions, error handling, public APIs

Phase 3: Test Generation

  1. Write tests covering edge cases, error conditions, and property-based tests where appropriate
  2. Follow existing test patterns and conventions

Phase 4: Test Quality

  1. Ensure tests are independent, clearly named, test one thing, and run quickly

Phase 5: Integration

  1. Run full test suite, check coverage improvement, refactor for maintainability

Generate tests that catch bugs, not just increase numbers. Focus on behaviour, not implementation.

Auto-Exit When Standalone

IMPORTANT: If this command is being run as a standalone request, automatically exit after completing all phases successfully.

Weekly Installs
4
GitHub Stars
6
First Seen
Feb 10, 2026
Installed on
amp4
github-copilot4
codex4
kimi-cli4
gemini-cli4
opencode4