Agent skill
testing-strategy-creation
Generate testing strategy documentation following the TESTING-STRATEGY template. Use when planning test strategies, defining coverage targets, or when the user asks for a test plan.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/testing-strategy-creation
SKILL.md
Testing Strategy Creation Skill
Purpose: Generate comprehensive testing strategy documentation. Ensures all features have proper test plans with coverage targets.
Trigger
When: Feature is ready for QA OR user requests testing strategy
Context Needed: Feature requirements, critical paths, existing tests
MCP Tools: mcp_payment-syste_search_full_text, read_file, runTests
Required Sections
# [Feature] - Testing Strategy
## Scope
- In scope: ...
- Out of scope: ...
## Coverage Targets
| Component | Target | Current |
| :--------- | :----- | :------ |
| Services | 80% | - |
| Components | 70% | - |
## Test Types
- Unit tests
- Integration tests
- E2E tests
## Critical Paths
1. [Path description]
- Tests: [test files]
- Priority: High
Test Case Format
### TC-001: [Test Name]
**Type:** unit | integration | e2e
**Priority:** critical | high | medium | low
**Preconditions:**
- [condition]
**Steps:**
1. [action]
2. [action]
**Expected Result:**
- [outcome]
**Test File:** `path/to/test.spec.ts`
Environment Requirements
## Test Environment
**Dependencies:**
- PostgreSQL (test database)
- Redis (mock or real)
**Setup:**
```bash
bun run test:setup
```
**Teardown:**
```bash
bun run test:teardown
```
```
## Reference
- [07-TESTING-STRATEGY-TEMPLATE.md](/docs/templates/07-TESTING-STRATEGY-TEMPLATE.md)
- [testing.instructions.md](../instructions/testing.instructions.md)
```
```
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?