Agent skill · Testing & QA

test-strategy

Test pyramid, risk-based testing, test planning, coverage metrics, and SDLC integration

Cosmic Stack3,294★ · 2 repos on radarProfile →
claude-codeMIT
Install
npx skills add cosmicstack-labs/mercury-agent-skills --skill test-strategy --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 2 KB
Bundled scripts: none
Version: 1.0.0
Declared author: cosmicstack-labs
Path: categories/testing-qa/test-strategy/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 364
Language: JavaScript
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Test Strategy Design comprehensive test strategies that catch bugs early and scale with your product. ## The Modern Test Pyramid ``` E2E (5%) Integration (15%) Component/Contract (30%) Unit Tests (50%) ``` ### Layer Details | Layer | Scope | Speed | Who Owns | |-------|-------|-------|----------| | Unit | Single function/class | ms | Developers | | Component | UI component/module | ms-s | Developers | | Contract | API boundaries | s | Dev + QA | | Integration | Service interactions | s-min | QA | | E2E | Full user flows | min | QA + DevOps | ## Risk-Based Testing 1. **Identify risks** for each feature (data loss, security, UX, performance) 2. **Score** likelihood × impact 3. **Allocate test effort** proportionally to risk score 4. **Reassess** after each release ## Coverage Goals | Type | Target | |------|--------| | Line coverage | >80% | | Branch coverage | >75% | | Mutation score | >60% | | Critical path E2E | 100% | | API endpoint tested | >90% | ## Test Planning Template ```markdown ## Feature: [Name] - Unit tests: [count] — [files/scope] - Integration tests: [count] — [services involved] - E2E tests: [count] — [critical paths] - Edge cases: [list] - Performance threshold: [

What's inside
Steps it walks through
  1. The Modern Test Pyramid
  2. Layer Details
  3. Risk-Based Testing
  4. Coverage Goals
  5. Test Planning Template
  6. CI Integration
More from mercury-agent-skills
All skills →
About this skill
What does the test-strategy skill do?

Test pyramid, risk-based testing, test planning, coverage metrics, and SDLC integration

How do I install it?

Run `npx skills add cosmicstack-labs/mercury-agent-skills --skill test-strategy --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From cosmicstack-labs/mercury-agent-skills, a repository with 364 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going