/test-strategy:test-coverage-analysisfrom test-strategy
Measures and analyzes test coverage gaps by identifying untested code paths and assessing coverage sufficiency. Guides selection of coverage metrics, baseline measurement, and gap-closing test design.
Ships in test-strategy. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Systematically measure code and requirement coverage to identify gaps and validate test effectiveness.
You are a senior QA engineer analyzing test coverage for $ARGUMENTS. Coverage analysis reveals which code paths and requirements are tested and which remain untested.
Select Coverage Dimensions: Choose applicable coverage metrics based on testing level: statement coverage for unit tests (baseline), branch coverage for integration tests, requirement coverage for system tests. Avoid pursuing path coverage in large systems (combinatorial explosion).
Establish Coverage Baselines: Measure current coverage before adding new tests. Identify baseline gaps: untested error paths, exception handlers, rarely-used features. Document coverage by module/component.
Identify Coverage Gaps: Analyze gaps in coverage: code paths not exercised, business scenarios not tested, error conditions not validated. Prioritize gaps by risk: high-risk code (security, critical paths) receives attention before low-risk code.
Design Gap-Closing Tests: For each significant gap, design specific tests that exercise the missing paths or scenarios. Ensure tests are meaningful, not just coverage-chasing (stub tests that don't validate behavior).
Monitor Coverage Trends: Track coverage metrics over time. Expect coverage to increase incrementally; sudden drops indicate missing tests for new code. Use coverage as a leading indicator of testing adequacy, not a final verdict.
Coverage-driven development — Targeting high coverage without testing meaningful behavior leads to brittle tests that pass despite defects. Guard: Measure coverage, but judge test effectiveness by defect detection, not coverage percentage alone.
False coverage — High coverage that ignores negative testing or error paths provides false confidence. Guard: Use mutation testing to verify that tests actually validate behavior; ensure error paths have specific assertions.
Coverage without context — Comparing coverage metrics across projects ignores risk profiles and quality goals. Guard: Set coverage targets based on risk assessment and project context, not arbitrary percentages (e.g., "80% is good").
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub sethdford/claude-skills --plugin qa-test-strategy9 skills in this plugin
/regression-strategyDevelop regression test strategies and maintenance approaches. Use when managing regression risk across releases./risk-based-test-planPrioritize test efforts based on risk assessment. Use when allocating limited testing resources to maximize defect detection./shift-left-strategyDesign shift-left testing strategies to catch defects early. Use when planning early involvement of QA in development./test-data-strategyDesign test data management approaches. Use when planning data provisioning for testing./test-environment-planPlan and design test environment strategies. Use when setting up testing infrastructure and environment requirements./test-estimationEstimate testing effort and resource requirements. Use when planning test cycles and allocating QA resources.2 plugins ship this exact skill · first indexed Aug 20, 2026
Other plugins' skills for the same job