skill-coverage-audit
Test Coverage Audit
Overview
Trace every codepath in a diff, map each path against existing tests, visualize coverage gaps, and auto-generate tests for uncovered paths.
Core principle: Trace codepaths in changed files -> Map against existing tests -> Score coverage quality -> Generate tests for gaps -> Report before/after counts.
Caps and Limits
These hard limits prevent runaway analysis:
- 30 code paths max per audit. If a diff yields more than 30, prioritize by complexity and risk (error paths, security-sensitive branches, public API surfaces first).
- 20 tests generated max per audit. Focus on highest-impact gaps first.
- 2-minute per-test exploration cap. If understanding a single test path takes longer than 2 minutes, mark it as "needs manual review" and move on.
More from nyldn/claude-octopus
octopus-architecture
System architecture and API design with multi-AI consensus — use for design reviews and new subsystems
18skill-code-review
Expert multi-AI code review with quality and security analysis
16skill-intent-contract
Lock in user goals upfront and validate outputs against them — use to prevent scope drift
15skill-prd
Write an AI-optimized PRD using multi-AI orchestration — use when scoping a new feature or product
14skill-knowledge-work
Switch to Knowledge Work mode for research and writing — use when task is non-code focused
14skill-extract
Reverse-engineer design systems, tokens, and components from live products or screenshots
14