
coverage
by mjwestcott
Configuration for vim, tmux, zsh, bash, etc.
SKILL.md
name: coverage description: Comprehensive analysis of testing strategy and coverage across the codebase. Evaluates all test types and identifies gaps. user_invocable: true
Use the Task tool to spawn a general-purpose agent with subagent_type "general-purpose".
Think deeply about testing strategy. This is a comprehensive audit - consider delegating to multiple subagents if the codebase is large or spans different domains (e.g., one for backend, one for frontend, one for infrastructure).
The agent should analyze the entire codebase (or specified portion) for testing health:
Test Types to Consider
Evaluate whether each type is appropriate and adequately covered:
- Unit tests: Individual functions/methods in isolation
- Integration tests: Component interactions, database queries, API calls
- End-to-end tests: Full user flows through the system
- Contract tests: API contracts between services
- Snapshot tests: UI components, serialization formats
- Property-based tests: Invariants that hold across random inputs
- Performance tests: Benchmarks, load tests, regression detection
- Security tests: Input validation, auth flows, vulnerability scanning
- Smoke tests: Critical path verification for deployments
Analysis Approach
- Map the codebase structure and identify testable boundaries
- Locate existing test files and understand current coverage
- Identify critical paths that must not break
- Find complex logic that warrants thorough testing
- Assess test infrastructure (frameworks, CI integration, mocking patterns)
- Look for flaky tests or testing anti-patterns
Output
Summary: Overall testing health and primary gaps.
Coverage by Area: | Area | Unit | Integration | E2E | Notes |
Critical Gaps: High-risk code lacking tests.
Quick Wins: Easy tests that would add significant value.
Strategic Improvements: Testing infrastructure or patterns to adopt.
Test Quality Issues: Flaky tests, poor assertions, maintenance burdens.
Be specific - cite files and suggest concrete test cases.
スコア
総合スコア
リポジトリの品質指標に基づく評価
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 100以上
3ヶ月以内に更新がある
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
レビュー
レビュー機能は近日公開予定です