Back to list
mjwestcott

coverage

by mjwestcott

Configuration for vim, tmux, zsh, bash, etc.

7🍴 0📅 Jan 24, 2026

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

  1. Map the codebase structure and identify testable boundaries
  2. Locate existing test files and understand current coverage
  3. Identify critical paths that must not break
  4. Find complex logic that warrants thorough testing
  5. Assess test infrastructure (frameworks, CI integration, mocking patterns)
  6. 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.

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon