New: Earn 20% as an AgentAlley affiliate. Share your link and earn on every sale you refer. Join now New: Earn 20% as an affiliate. Join now

Write a test strategy document from a feature spec, PRD

Test Strategy Document Skill

by mohitagw15856 · MIT license · ★ 1,395 on GitHub · updated Sep 23

Test Strategy Document Skill cover

Write a test strategy document from a feature spec, PRD, or system description. Use when asked to create a test plan, write a test strategy, define QA approach, or plan testing for a feature or release.

---
name: test-strategy-doc
description: "Write a test strategy document from a feature spec, PRD, or system description. Use when asked to create a test plan, write a test strategy, define QA approach, or plan testing for a feature or release. Produces a complete test strategy with scope, risk assessment, test types, coverage targets, and a prioritised test case outline."
---

# Test Strategy Document Skill

Produces a complete test strategy from a feature spec, PRD, or system description — covering scope, test types, risk areas, coverage requirements, and a prioritised test case outline.

## Required Inputs

Ask for these if not provided:
- **Feature or system being tested** (paste a spec, PRD, or describe it in plain English)
- **Tech stack** (language and framework — e.g. TypeScript + React, Python + FastAPI)
- **Existing test coverage** (e.g. "we have unit tests but no E2E tests", "we use Jest + Playwright already", or "starting from scratch")
- **Deployment cadence** (e.g. continuous deployment / weekly releases / quarterly — affects what must be automated vs. manual)
- **Risk level** (low / medium / high / critical — affects depth and coverage requirements)
- **Timeline** (when does this need to ship — affects prioritisation)

Overview

Produces a complete test strategy from a feature spec, PRD, or system description — covering scope, test types, risk areas, coverage requirements, and a prioritised test case outline.

Manual install (npx, ZIP)
Claude Codenpx skills add mohitagw15856/pm-claude-skills --skill test-strategy-doc -g -a claude-code
Claude Code (manual)mkdir -p ~/.claude/skills && curl -sL https://codeload.github.com/mohitagw15856/pm-claude-skills/tar.gz/f6ca79348c55 \ | tar -xz -C ~/.claude/skills --strip-components=2 pm-claude-skills-f6ca79348c55/skills/test-strategy-doc
Windows (PowerShell)New-Item -ItemType Directory -Force "$HOME\.claude\skills" | Out-Null; Invoke-WebRequest "https://m.agentalley.io/zip/c9e67710d6a3656999a1/test-strategy-doc.zip" -OutFile "$env:TEMP\test-strategy-doc.zip"; Expand-Archive "$env:TEMP\test-strategy-doc.zip" -DestinationPath "$HOME\.claude\skills" -Force
Claude.ai / desktopDownload the ZIP and upload it under Settings → Capabilities → Skills.
Codex, Cursor, other agentsPoint them at SKILL.md. The other files are plain text.

Connects with Agent Alley MCP · agentalley.io/mcp

Files included

  • SKILL.md6.3 KB
Read the files here
mohitagw15856/f6ca7931 file
SKILL.md
Show the full text139 lines

Test Strategy Document Skill

Produces a complete test strategy from a feature spec, PRD, or system description — covering scope, test types, risk areas, coverage requirements, and a prioritised test case outline.

Required Inputs

Ask for these if not provided:

  • Feature or system being tested (paste a spec, PRD, or describe it in plain English)
  • Tech stack (language and framework — e.g. TypeScript + React, Python + FastAPI)
  • Existing test coverage (e.g. "we have unit tests but no E2E tests", "we use Jest + Playwright already", or "starting from scratch")
  • Deployment cadence (e.g. continuous deployment / weekly releases / quarterly — affects what must be automated vs. manual)
  • Risk level (low / medium / high / critical — affects depth and coverage requirements)
  • Timeline (when does this need to ship — affects prioritisation)
  • Team context (who is doing the testing — developers / dedicated QA / both)

Output Format

1. Test Scope

In scope:

  • [Specific functionality being tested]
  • [Integration points covered]
  • [User-facing flows included]

Out of scope:

  • [What is deliberately not tested here — and why]
  • [Dependencies owned by other teams]

Assumptions:

  • [What the test strategy assumes is true — e.g. mocked services, test data availability]
2. Risk Assessment

Identify the highest-risk areas first — these drive depth and coverage:

Area Risk Level Why Test Priority
[e.g. Payment processing] High Money movement, regulatory P0 — exhaustive
[e.g. User authentication] High Security boundary P0 — exhaustive
[e.g. Email notifications] Medium External dependency P1 — happy path + key failures
[e.g. UI copy changes] Low Visual only, reversible P2 — smoke only
3. Test Types and Coverage

Unit Tests

  • What: Individual functions and methods in isolation
  • Who writes: Developer
  • Coverage target: [e.g. 80% line coverage on new code / 100% on critical paths]
  • Tools: [e.g. Jest, pytest, go test]
  • Focus areas for this feature: [Specific logic that needs unit coverage]

Integration Tests

  • What: Service interactions, database operations, API contracts
  • Who writes: Developer / QA
  • Coverage target: [All happy paths + key failure modes]
  • Tools: [e.g. Supertest, pytest + testcontainers]
  • Focus areas: [Specific integrations at risk — e.g. third-party API, DB schema changes]

End-to-End Tests

  • What: Critical user journeys from browser/client to database
  • Who writes: QA / Developer
  • Coverage target: [Top N user journeys — list them]
  • Tools: [e.g. Playwright, Cypress, Selenium]
  • Focus areas: [The 3–5 most critical user flows]

Performance Tests (include if any row in the Risk Assessment table has performance as a risk factor, regardless of overall risk level)

  • What: Load, stress, or latency testing
  • Targets: [Specific numbers — e.g. 200 req/sec at p95 < 200ms]
  • Tools: [e.g. k6, Locust, JMeter]

Security Tests (include only if risk is high+)

  • What: OWASP Top 10 checks relevant to this feature
  • Focus: [Auth bypasses, injection, data exposure]
  • Tools: [e.g. OWASP ZAP, manual penetration testing, Snyk]
4. Test Case Outline

Priority-ordered list of specific test cases:

P0 — Must pass before merge:

Test Case Type Expected Outcome
[e.g. User can log in with valid credentials] E2E [Redirect to dashboard, session created]
[e.g. Invalid login returns 401] Integration [Error message displayed, no session]
[e.g. Password is never stored in plain text] Unit [bcrypt hash in DB]

P1 — Must pass before release:

Test Case Type Expected Outcome
[e.g. Login fails gracefully when DB is down] Integration [User sees friendly error, 503]
[e.g. Rate limiting blocks after 5 failed attempts] Integration [429 returned, account flagged]

P2 — Should pass, can ship with known issues tracked:

Test Case Type Expected Outcome
[e.g. Login page renders correctly on mobile] E2E [Layout matches design]
5. Test Data Requirements
  • [Specific test data needed — e.g. test user accounts with various states]
  • [External service stubs or mocks needed]
  • [Database seed data requirements]
  • [Any PII concerns and how test data handles them]
6. Definition of Done

Testing is complete when:

  • All P0 test cases pass
  • All P1 test cases pass
  • Code coverage meets the stated target
  • No critical or high severity bugs open
  • Performance targets met (if applicable)
  • Security checks completed (if applicable)

Quality Checks

  • Risk table is populated and drives test priority (not filled in generically)
  • Every "P0 — exhaustive" row in the Risk Assessment table has at least one corresponding P0 test case
  • "Out of scope" section names at least one explicit exclusion (not left blank)
  • Each test type names a concrete tool (not "some testing framework")
  • Definition of Done is measurable (not "tests are done when QA is happy")

Anti-Patterns

  • Do not write a test strategy without a risk table that drives test priority — generic coverage targets are not a strategy
  • Do not leave the "out of scope" section blank — every test strategy must explicitly name what is not being tested and why
  • Do not specify test types without naming a concrete tool for each — "some testing framework" is not actionable
  • Do not define a Definition of Done that is not measurable — "QA is happy" is not a completion criterion
  • Do not create P0 risk areas without corresponding P0 test cases — risk rating must map to test coverage

Usage Examples

  • "Write a test strategy for [feature]" + [paste spec or PRD]
  • "Create a test plan for [system]"
  • "How should we test [feature]?"
  • "I need a QA plan for this sprint"
  • "What tests do we need for [X]?"
1---
2name: test-strategy-doc
3description: "Write a test strategy document from a feature spec, PRD, or system description. Use when asked to create a test plan, write a test strategy, define QA approach, or plan testing for a feature or release. Produces a complete test strategy with scope, risk assessment, test types, coverage targets, and a prioritised test case outline."
4---
5 
6# Test Strategy Document Skill
7 
8Produces a complete test strategy from a feature spec, PRD, or system description — covering scope, test types, risk areas, coverage requirements, and a prioritised test case outline.
9 
10## Required Inputs
11 
12Ask for these if not provided:
13- **Feature or system being tested** (paste a spec, PRD, or describe it in plain English)
14- **Tech stack** (language and framework — e.g. TypeScript + React, Python + FastAPI)
15- **Existing test coverage** (e.g. "we have unit tests but no E2E tests", "we use Jest + Playwright already", or "starting from scratch")
16- **Deployment cadence** (e.g. continuous deployment / weekly releases / quarterly — affects what must be automated vs. manual)
17- **Risk level** (low / medium / high / critical — affects depth and coverage requirements)
18- **Timeline** (when does this need to ship — affects prioritisation)
19- **Team context** (who is doing the testing — developers / dedicated QA / both)
20 
21## Output Format
22 
23### 1. Test Scope
24 
25**In scope:**
26- [Specific functionality being tested]
27- [Integration points covered]
28- [User-facing flows included]
29 
30**Out of scope:**
31- [What is deliberately not tested here — and why]
32- [Dependencies owned by other teams]
33 
34**Assumptions:**
35- [What the test strategy assumes is true — e.g. mocked services, test data availability]
36 
37### 2. Risk Assessment
38 
39Identify the highest-risk areas first — these drive depth and coverage:
40 
41| Area | Risk Level | Why | Test Priority |
42|---|---|---|---|
43| [e.g. Payment processing] | High | Money movement, regulatory | P0 — exhaustive |
44| [e.g. User authentication] | High | Security boundary | P0 — exhaustive |
45| [e.g. Email notifications] | Medium | External dependency | P1 — happy path + key failures |
46| [e.g. UI copy changes] | Low | Visual only, reversible | P2 — smoke only |
47 
48### 3. Test Types and Coverage
49 
50**Unit Tests**
51- **What:** Individual functions and methods in isolation
52- **Who writes:** Developer
53- **Coverage target:** [e.g. 80% line coverage on new code / 100% on critical paths]
54- **Tools:** [e.g. Jest, pytest, go test]
55- **Focus areas for this feature:** [Specific logic that needs unit coverage]
56 
57**Integration Tests**
58- **What:** Service interactions, database operations, API contracts
59- **Who writes:** Developer / QA
60- **Coverage target:** [All happy paths + key failure modes]
61- **Tools:** [e.g. Supertest, pytest + testcontainers]
62- **Focus areas:** [Specific integrations at risk — e.g. third-party API, DB schema changes]
63 
64**End-to-End Tests**
65- **What:** Critical user journeys from browser/client to database
66- **Who writes:** QA / Developer
67- **Coverage target:** [Top N user journeys — list them]
68- **Tools:** [e.g. Playwright, Cypress, Selenium]
69- **Focus areas:** [The 3–5 most critical user flows]
70 
71**Performance Tests** *(include if any row in the Risk Assessment table has performance as a risk factor, regardless of overall risk level)*
72- **What:** Load, stress, or latency testing
73- **Targets:** [Specific numbers — e.g. 200 req/sec at p95 < 200ms]
74- **Tools:** [e.g. k6, Locust, JMeter]
75 
76**Security Tests** *(include only if risk is high+)*
77- **What:** OWASP Top 10 checks relevant to this feature
78- **Focus:** [Auth bypasses, injection, data exposure]
79- **Tools:** [e.g. OWASP ZAP, manual penetration testing, Snyk]
80 
81### 4. Test Case Outline
82 
83Priority-ordered list of specific test cases:
84 
85**P0 — Must pass before merge:**
86| Test Case | Type | Expected Outcome |
87|---|---|---|
88| [e.g. User can log in with valid credentials] | E2E | [Redirect to dashboard, session created] |
89| [e.g. Invalid login returns 401] | Integration | [Error message displayed, no session] |
90| [e.g. Password is never stored in plain text] | Unit | [bcrypt hash in DB] |
91 
92**P1 — Must pass before release:**
93| Test Case | Type | Expected Outcome |
94|---|---|---|
95| [e.g. Login fails gracefully when DB is down] | Integration | [User sees friendly error, 503] |
96| [e.g. Rate limiting blocks after 5 failed attempts] | Integration | [429 returned, account flagged] |
97 
98**P2 — Should pass, can ship with known issues tracked:**
99| Test Case | Type | Expected Outcome |
100|---|---|---|
101| [e.g. Login page renders correctly on mobile] | E2E | [Layout matches design] |
102 
103### 5. Test Data Requirements
104- [Specific test data needed — e.g. test user accounts with various states]
105- [External service stubs or mocks needed]
106- [Database seed data requirements]
107- [Any PII concerns and how test data handles them]
108 
109### 6. Definition of Done
110Testing is complete when:
111- [ ] All P0 test cases pass
112- [ ] All P1 test cases pass
113- [ ] Code coverage meets the stated target
114- [ ] No critical or high severity bugs open
115- [ ] Performance targets met (if applicable)
116- [ ] Security checks completed (if applicable)
117 
118## Quality Checks
119- [ ] Risk table is populated and drives test priority (not filled in generically)
120- [ ] Every "P0 — exhaustive" row in the Risk Assessment table has at least one corresponding P0 test case
121- [ ] "Out of scope" section names at least one explicit exclusion (not left blank)
122- [ ] Each test type names a concrete tool (not "some testing framework")
123- [ ] Definition of Done is measurable (not "tests are done when QA is happy")
124 
125## Anti-Patterns
126 
127- [ ] Do not write a test strategy without a risk table that drives test priority — generic coverage targets are not a strategy
128- [ ] Do not leave the "out of scope" section blank — every test strategy must explicitly name what is not being tested and why
129- [ ] Do not specify test types without naming a concrete tool for each — "some testing framework" is not actionable
130- [ ] Do not define a Definition of Done that is not measurable — "QA is happy" is not a completion criterion
131- [ ] Do not create P0 risk areas without corresponding P0 test cases — risk rating must map to test coverage
132 
133## Usage Examples
134- "Write a test strategy for [feature]" + [paste spec or PRD]
135- "Create a test plan for [system]"
136- "How should we test [feature]?"
137- "I need a QA plan for this sprint"
138- "What tests do we need for [X]?"
139 
View all files on GitHub →

Details

Updated
Sep 23, 2026
License
MIT
Stars on the repo
★ 1,395
Checked
Source
mohitagw15856/pm-claude-skills ↗
Creator
mohitagw15856 · 193 listings
View creator

Made with test-strategy-doc

Test Strategy Document Skill — Galaxy 3D — fly through all 1170 skills as a glowing constellation you orbit and click into (from the mohitagw15856/pm-claude-skills README)
Test Strategy Document Skill — Galaxy 3D — fly through all 1170 skills as a glowing constellation you orbit and click into (from the mohitagw15856/pm-claude-skills README)

by mohitagw15856

Test Strategy Document Skill — PM Skills Wrapped — your practice turned into a shareable, Spotify-Wrapped-style story (from the mohitagw15856/pm-claude-skills README)
Test Strategy Document Skill — PM Skills Wrapped — your practice turned into a shareable, Spotify-Wrapped-style story (from the mohitagw15856/pm-claude-skills README)

by mohitagw15856

Similar skills

See all →
MCP3-5 days | Agents: 6 | Gate Keepers: DevOps Automator +⚙️ Phase 2 Playbook — Foundation & Scaffoldingmsitarzewski/agency-agents · by msitarzewski> Duration: 3-5 days | Agents: 6 | Gate Keepers: DevOps Automator + Evidence Collector★ 154k GitHub starsMCPNEXUS transforms The Agency's independent AI specialists🌐 NEXUS — Network of EXperts, Unified in Strategymsitarzewski/agency-agents · by msitarzewski> NEXUS transforms The Agency's independent AI specialists into a synchronized intelligence network. This is not a prompt collection — it…★ 154k GitHub starsSkillGenerate an Ansoff Matrix analysis mapping growth strategiesphuryn/pm-skills · by phurynGenerate an Ansoff Matrix analysis mapping growth strategies across market penetration, market development, product development, and diversification. Use when considering growth options, planning market expansion, or evaluating strategic growth paths.★ 26.6k GitHub starsSkillSurvey any codebase as a senior advisorImproveshadcn/improve · by shadcnSurvey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on source code — never implements, fixes, or refactors anything itself. Use when asked to audit a codebase, find improvement opportunities (bugs, security, performance, test coverage, tech debt, migrations, DX), suggest features or where to take the project next (roadmap, product direction), or generate handoff plans for another agent to implement.★ 9.2k GitHub starsSkillTranslate skills from one industry to anotherCareer changer translatorParamchoudhary/ResumeSkills · by ParamchoudharyTranslate skills from one industry to another, identify transferable skills★ 2.4k GitHub starsSkillA collection of 37 battle-tested marketing skillsOpenClaw Marketing SkillsLeoYeAI/openclaw-marketing-skills · by LeoYeAIA collection of 37 battle-tested marketing skills for OpenClaw agents. Use when you want to install or reference any marketing skill including: CRO (page-cro, signup-flow-cro, onboarding-cro, form-cro, popup-cro, paywall-upgrade-cro), copywriting, copy-editing, cold-email, email-sequence, social-content, seo-audit, ai-seo, programmatic-seo, site-architecture, schema-markup, content-strategy, paid-ads, ad-creative, ab-test-setup, analytics-tracking, referral-program, free-tool-strategy, churn-prevention, revops, sales-enablement, launch-strategy, pricing-strategy, competitor-alternatives, marketing-ideas, marketing-psychology, lead-magnets, product-marketing-context, and data connectors (google-ads-connect, search-console-connect, meta-ads-connect, x-twitter-connect). Start with product-marketing-context to set up your product context document, then use any other skill naturally. Powered by MyClaw.ai.★ 1k GitHub stars

More from mohitagw15856

SkillDesign a 360-degree feedback survey or write a structured360-Degree Feedback Template Skillmohitagw15856/pm-claude-skills · by mohitagw15856Design a 360-degree feedback survey or write a structured 360 feedback report. Use when asked to build a 360 feedback process, write 360 feedback for a colleague, design a feedback survey, or produce a feedback report. Produces either a complete survey instrument with rating scales and open-ended questions, or a structured narrative feedback report with themes, strengths, and development areas.★ 1.4k GitHub starsSkillDesign statistically rigorous A/B tests for product featuresA/B Test Planner Skillmohitagw15856/pm-claude-skills · by mohitagw15856Design statistically rigorous A/B tests for product features, UI changes, onboarding flows, and pricing experiments. Use when asked to set up an experiment, design an A/B test, calculate sample size, or interpret test results. Produces a complete test plan with hypothesis, variant definitions, sample size, duration estimate, guardrail metrics, and a results interpretation guide.★ 1.4k GitHub starsSkillGenerate a WCAG 2.2 accessibility audit checklistAccessibility Audit Skillmohitagw15856/pm-claude-skills · by mohitagw15856Generate a WCAG 2.2 accessibility audit checklist and remediation suggestions for any UI or design. Use when asked to audit for accessibility, check WCAG compliance, review a design for a11y issues, or create an accessibility remediation plan. Produces a prioritised checklist with pass/fail assessments and specific fixes.★ 1.4k GitHub starsSkillBuild a structured account plan for any key customerAccount Plan Skillmohitagw15856/pm-claude-skills · by mohitagw15856Build a structured account plan for any key customer or target account. Use when asked to create an account plan, key account strategy, strategic account review, or territory plan. Produces a complete account plan with relationship map, growth opportunities, risks, and 90-day action plan.★ 1.4k GitHub starsSkillOptimize an article for Answer Engine Optimization so AIAEO Optimizer Skillmohitagw15856/pm-claude-skills · by mohitagw15856Optimize an article for Answer Engine Optimization (AEO) so AI engines like ChatGPT, Perplexity, and Claude can extract, quote, and cite it. Use when asked to AEO-optimize, make content AI-readable, improve AI citation chances, or adapt an article for answer engines. Produces an AEO-optimised rewrite with question headings, 50–80 word answer capsules, a paragraph-length audit, and flagged trust signals.★ 1.4k GitHub starsSkillConduct a structured ethical review of an AI or ML featureAI Ethics Review Skillmohitagw15856/pm-claude-skills · by mohitagw15856Conduct a structured ethical review of an AI or ML feature, model, or product. Use when preparing to deploy an AI system, assessing algorithmic risk, auditing a model for bias, or producing a responsible AI impact assessment. Produces a structured ethics review covering fairness, transparency, privacy, safety, accountability, and societal impact with a risk tier score, pre-deployment checklist, and prioritised mitigations.★ 1.4k GitHub stars