test-strategy-and-coverage

Identify test layers and coverage priorities for a given code change.

3|Updated Mar 24, 2026
One-click install
npx skills add https://github.com/ldilov/harness-forge --skill test-strategy-and-coverage
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: test-strategy-and-coverage
Source: https://github.com/ldilov/harness-forge/tree/main/skills/test-strategy-and-coverage
Command: npx skills add https://github.com/ldilov/harness-forge --skill test-strategy-and-coverage

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Teams often struggle to determine the right depth of testing for a change, balancing risk with effort and avoiding over- or under-testing.

Core Features & Use Cases

  • Map the behavioral risk of a change to an appropriate test depth
  • Output a concise testing plan including recommended layers, critical cases, and gaps
  • Use cases: preparing validation strategy for features, fixes, or refactors to ensure coverage aligns with risk

Quick Start

Provide a concise risk-based testing strategy for the given change.

Frequently Asked Questions about test-strategy-and-coverage

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I determine the right test coverage for a code change?▼

To define a test strategy, you map the behavioral risk of a specific code change to appropriate test layers, generating a structured validation plan that highlights recommended layers, critical cases, and explicit coverage gaps.

What is a risk-based testing strategy for software refactoring?▼

A risk-based testing strategy identifies appropriate test layers and coverage priorities by assessing the behavioral risk of a change, specifying decision criteria to output recommended test layers, critical cases, and explicit gaps.

How do I avoid over-testing or under-testing new features?▼

Avoid over-testing or under-testing by applying a structured workflow that evaluates the behavioral risk of features, fixes, or refactors to determine the exact test depth and coverage priorities needed for safe changes.

Can I use this test strategy approach for both bug fixes and refactors?▼

Yes, this risk assessment approach applies to software changes across features, bug fixes, and refactors, mapping the behavioral risk of each change type to the appropriate test layers and validation depth.

What outputs should a code change validation plan include?▼

A validation plan should include recommended test layers, critical test cases, and explicit coverage gaps, providing a concise risk-based testing strategy that aligns validation effort with the actual risk of the code change.