skills/by-role/qa/qa-strategy/SKILL.md
Create QA test strategy documents, coverage matrices, and risk-based test prioritization plans. Use this skill whenever a QA lead or manager needs to plan what to test, why, and at what depth. Trigger on phrases like "write a test strategy", "test strategy document", "what should we test", "prioritize testing", "risk-based testing", "test coverage plan", "QA approach for this project", "coverage matrix", "test scope", "how should we approach testing this quarter", "where are our coverage gaps", or any request to define the strategic plan for testing - not the execution of it. Also trigger at project kickoff when a QA lead asks "how do we approach quality on this?"
npx skillsauth add qa-aman/claude-skills qa-strategyInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Based on "How Google Tests Software" by Whittaker, Arbon & Carollo, and "Agile Testing" by Lisa Crispin & Janet Gregory. Google's core insight: quality is not QA's job - it's the whole team's job. QA's role is to accelerate quality by enabling developers to test better, not by testing everything themselves. Crispin & Gregory: the QA strategy starts at requirements, not at the end of the sprint.
Define what to test, why, at what depth, and in what order.
Write a clear scope statement:
In scope:
- [feature / system / user flow]
- [specific integrations or APIs]
Out of scope:
- [what QA will not cover and why]
- [what is covered by other teams: security, performance, accessibility]
Assumptions:
- [dependencies that must be true for this strategy to hold]
Identify the top risks to quality. For each risk:
| Risk | Likelihood (H/M/L) | Impact (H/M/L) | Priority | |------|-------------------|----------------|----------| | [risk] | H/M/L | H/M/L | P1/P2/P3 |
Priority = Likelihood × Impact:
Common risk categories to consider:
Map test coverage to risk and feature area:
| Feature Area | Unit Tests | Integration Tests | E2E Tests | Manual Exploratory | Priority | |-------------|-----------|------------------|-----------|-------------------|---------| | [feature] | YES/NO/PARTIAL | YES/NO/PARTIAL | YES/NO/PARTIAL | YES/NO | P1 | | [feature] | YES/NO/PARTIAL | YES/NO/PARTIAL | YES/NO/PARTIAL | YES/NO | P2 |
Coverage depth guide:
Google's test distribution target (70/20/10 rule):
If your distribution is inverted (heavy E2E, light unit), the suite will be slow, brittle, and expensive to maintain. Shift left.
Crispin & Gregory - whole team quality: QA participates in story refinement, not just sprint testing. Flag untestable stories before sprint start, not after code is written.
Define who owns each test type:
| Test Type | Owner | Tooling | When Run | |-----------|-------|---------|----------| | Unit | Developer | [Jest/pytest/etc] | Every commit | | Integration | Developer + QA | [testing framework] | Every PR | | E2E / Regression | QA | [Cypress/Playwright/etc] | Pre-release | | Exploratory | QA | Manual | Sprint end | | Performance | QA / Platform | [k6/JMeter/etc] | Pre-release | | Security | Security team | [tooling] | Quarterly | | Accessibility | QA + Frontend | [axe/Lighthouse] | Per feature |
QA Test Strategy - [Project/Quarter]
Version: 1.0
Author: [name]
Date: [date]
Stakeholders: [PM, Eng Lead, QA team]
1. Objective
[1-2 sentences: what quality outcomes does this strategy target?]
2. Scope
[in scope / out of scope / assumptions]
3. Risk Assessment
[risk table from Step 2]
4. Coverage Matrix
[coverage table from Step 3]
5. Test Approach by Type
[table from Step 4]
6. Entry and Exit Criteria
Entry: [what must be true before QA begins testing a feature]
Exit: [what must be true before QA signs off]
7. Defect Management
[how defects are logged, triaged, prioritized, and tracked]
8. Tooling
[list of tools and their purpose]
9. Risks to the Strategy
[what could invalidate this plan: team capacity, late specs, env instability]
10. Open Questions
[items that need resolution before this strategy is fully executable]
Copy-paste strategy A test strategy that is 90% identical to the last project's strategy is not a strategy. It is a template. Strategies must be calibrated to the specific risk profile of this product, this team, and this timeline.
No risk weighting Testing everything equally is the same as testing nothing strategically. Prioritize by impact and likelihood. A P1 risk with 20% coverage is more dangerous than a P3 risk with 100% coverage.
Treating coverage as binary "We have tests for this" is not the same as "this is well tested." Track depth: are there unit tests only? Integration tests? E2E? Exploratory? Partial coverage should be called out, not hidden.
Strategy without ownership Every test type must have a named owner. "QA will handle this" without naming who is a strategy that will not be executed. Assign by person or team, not by role abstraction.
Writing strategy after testing starts A strategy written after execution begins is documentation, not planning. Write the strategy during sprint 0 or project kickoff - before any test cases are written.
Before finalizing any QA strategy:
development
Plan a webinar end-to-end using April Dunford's Obviously Awesome positioning framework to find the topic angle that makes the webinar obviously valuable to the right audience. Produces topic positioning, abstract, speaker brief, registration page, promotion sequence, day-of run-of-show, and post-webinar follow-up. Use when the user asks to plan a webinar, virtual event, online workshop, "we need a webinar on X", host a webinar, online masterclass, or any live virtual event with promotion and follow-up. Reads ICP, services, and brand voice from knowledge/.
development
Write long-form thought leadership articles, opinion pieces, industry POV essays, and CEO/founder bylines using the Made to Stick SUCCESs framework (Chip and Dan Heath). Use when the user asks for a long-form article, executive byline, opinion piece, industry POV, manifesto, "explain our point of view on X", or wants to publish an authority-building piece (1200-2500 words). Reads brand voice and positioning from knowledge/.
development
Plan a monthly content calendar across channels using the Content Marketing Matrix (Dave Chaffey, Smart Insights) - Entertain/Inspire/Educate/Convince. Every post gets a quadrant label. The monthly calendar must hit 40% Educate, 40% Inspire+Convince, 20% Entertain. Produces a week-by-week posting schedule with topics, formats, channels, and asset links. Use when the user says "content calendar", "social calendar", "plan next month's content", "what should we post", "content plan", "editorial calendar", "schedule posts for the month", or wants a structured posting plan for LinkedIn, Twitter, email, or blog. Reads brand voice, ICP, and past learnings from knowledge/.
development
Write SEO-optimized long-form articles targeting specific keywords using the They Ask You Answer Big 5 framework (Marcus Sheridan). Articles are categorized by Big 5 type (Cost, Problems, Versus, Best/Reviews, How-To) and structured accordingly. The "answer first" rule applies to every article. Use when the user asks for an SEO article, blog post for ranking, "rank for keyword X", organic content, search-optimized post, pillar page, or content for organic traffic. Includes keyword targeting, search intent matching, internal linking suggestions, and meta tags.