cosmicstack-labs/test-strategy
Test pyramid, risk-based testing, test planning, coverage metrics, and SDLC integration
npx skills add https://github.com/cosmicstack-labs/mercury-agent-skills --skill test-strategy
Design comprehensive test strategies that catch bugs early and scale with your product.
E2E (5%)
Integration (15%)
Component/Contract (30%)
Unit Tests (50%)
| 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 |
| Type | Target |
|------|--------|
| Line coverage | >80% |
| Branch coverage | >75% |
| Mutation score | >60% |
| Critical path E2E | 100% |
| API endpoint tested | >90% |
## Feature: [Name]
- Unit tests: [count] — [files/scope]
- Integration tests: [count] — [services involved]
- E2E tests: [count] — [critical paths]
- Edge cases: [list]
- Performance threshold: [metric]
Take cosmicstack-labs/test-strategy from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.