test-strategy

Define testing pyramid, coverage targets, and test conventions for projects.

Updated Feb 3, 2026
One-click install
npx skills add https://github.com/dhruvinrsoni/agentskills-garden --skill test-strategy-dhruvinrsoni
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-strategy
Source: https://github.com/dhruvinrsoni/agentskills-garden/tree/main/skills/40-quality/test-strategy
Command: npx skills add https://github.com/dhruvinrsoni/agentskills-garden --skill test-strategy-dhruvinrsoni

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill establishes a clear and comprehensive testing strategy for a project, ensuring consistent quality and maintainability by defining a testing pyramid, coverage targets, and conventions.

Core Features & Use Cases

  • Testing Pyramid Definition: Establishes the optimal ratio of unit, integration, and E2E tests.
  • Coverage Targets: Sets specific, measurable goals for code coverage across test layers.
  • Convention Setup: Defines consistent naming, directory structures, and test runner configurations.
  • Use Case: When starting a new project or refactoring an existing one, this Skill ensures a robust testing foundation is laid out from the beginning, preventing future technical debt.

Quick Start

Define the testing pyramid and set coverage targets for the current project.

Frequently Asked Questions about test-strategy

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

FAQPage Schema
How do I define a testing pyramid for a new software project?

To define a testing pyramid, you establish the optimal ratio of unit, integration, and E2E tests. This ensures consistent quality and maintainability by setting specific code coverage targets and conventions from the beginning.

What is the best way to set code coverage targets across unit and integration tests?

Setting code coverage targets involves establishing specific, measurable goals for test layers across your project. This approach standardizes testing practices and prevents future technical debt by ensuring a robust testing foundation.

How do I standardize test file naming and directory structure for my team?

Standardizing test file naming and directory structure is achieved by defining clear conventions and test runner configurations. This creates consistent testing practices across projects lacking an existing test strategy.

Do I need an existing test strategy to use this for refactoring?

An existing test strategy is not required. You can use this to establish a robust testing foundation when refactoring an existing project or starting a new one, addressing projects lacking standardized testing practices.

When should I establish a project test strategy to avoid technical debt?

You should establish a project test strategy when starting a new project or refactoring an existing one. Laying out a robust testing foundation early prevents future technical debt by defining the testing pyramid and coverage targets.