Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

test-strategy

БесплатноБез исполняемых скриптовНе проверен

Produce a multi-quarter QA strategy document. Covers scope, risk-based prioritization, test levels (unit/integration/E2E), pyramid analysis, entry/exit…

petrkindlmannот petrkindlmann★ 317 звёзд на GitHub

Об этом скилле

Generate an actionable QA strategy tailored to the product, team, and risk profile — a document that drives daily testing decisions, not a compliance artifact that collects dust. A team with 150 E2E tests and a 52-minute pipeline thinks it has good coverage; this skill diagnoses the inverted pyramid, prescribes the rebalance, and ties every element to a measurable KPI.

Discovery Questions

Before writing a single line of strategy, gather context. Check .agents/qa-project-context.md first — if it exists, use it as the foundation and skip questions already answered there.

Product & Business Context

  • What is the product? (SaaS, e-commerce, API platform, mobile app, content site)
  • Who are the users? (consumers, enterprise, internal, developers)
  • What are the business-critical flows? (signup, checkout, payment, data export)
  • What is the release cadence? (continuous, weekly, bi-weekly, quarterly)
  • What compliance requirements exist? (SOC2, HIPAA, PCI-DSS, GDPR, EU AI Act)

Current Testing State

  • What test levels exist today, and the current count at each level?
  • What frameworks and tools are in use?
  • Current code coverage, and the target if any?
  • How long does the CI pipeline take end-to-end?
  • What is the current flakiness rate?

Pain Points & Goals

  • Biggest quality pain points? (regressions, slow feedback, flaky tests, gaps)
  • What broke in the last 3 releases? What escaped to production?
  • What does "good enough quality" look like for this team?
  • Appetite for investment in test infrastructure?

Team & Constraints

  • Team size and composition (devs, QA, SDET, manual testers)
  • Skill levels with automation tools
  • Budget constraints for tooling
  • Timeline pressure — is there a deadline driving this strategy?

Calibrate to team maturity (set team_maturity in .agents/qa-project-context.md):

  • startup — Minimal pyramid: unit tests + a handful of critical E2E paths. Risk assessment covers the 3-5 highest-impact features only; widen the matrix as the team grows. Skip contract testing and formal metrics until CI runs reliably. Phase 1 under 4 weeks.
  • growing — Full pyramid with defined coverage targets, flakiness thresholds, and CI quality gates. Add risk-based prioritization. Scale coverage targets with team capacity: raise them when the people arrive, not before.
  • established — SLA-backed quality gates, multi-environment coverage, advanced tooling (contract testing, chaos, observability), and formal review cadence.

Core Principles

  1. Risk-based prioritization over exhaustive coverage. Not all code is equal — a payment bug costs 1000x more than a tooltip typo. Allocate testing effort proportional to business risk, not code volume. The risk matrix drives where to invest; run risk-based-testing first if no matrix exists yet.

  2. Test pyramid health is the leading indicator. A healthy suite is many fast unit tests, fewer integration, fewest E2E. When the shape inverts (ice cream cone) feedback is slow, maintenance is high, and confidence is paradoxically low. Diagnose the current shape before prescribing anything.

  3. Shift-left: catch defects earlier. Every defect found later costs exponentially more. Push validation earlier — static analysis before tests, unit before integration, contract before E2E. Design reviews catch architecture bugs no test can find.

  4. Every strategy element has a KPI. If you cannot measure it, you cannot improve it. Coverage targets, flakiness thresholds, escape-rate goals, MTTR limits — each section names a number and a tracking cadence.

  5. Living document, not a shelf document. Reviewed quarterly at minimum. It carries a revision history, a named owner per section, and explicit re-evaluation triggers (new product area, team change, major incident, defect escape).


Strategy Document Template

Walk through each section to produce the final document. Tailor depth to complexity — a 5-person startup needs 5 pages, not 50. The final document follows a 13-section structure (Executive Summary through Revision History); see references/diagrams-and-worksheets.md for the copy-paste markdown skeleton, and references/strategy-templates.md for four fully worked examples (SaaS, e-commerce, API-first, media).

1. Scope & Objectives

Define boundaries clearly. Ambiguity here causes gaps and wasted effort downstream.

  • In scope: every product area, service, and integration this strategy covers; functional and non-functional types; platforms and browsers/devices.
  • Out of scope: state what is NOT covered and why — third-party services tested only at the contract level, legacy systems slated for deprecation.
  • Objectives: 3-5 measurable objectives with timelines, e.g. "Reduce defect escape rate from 12% to under 5% within two quarters," "Achieve 80% unit coverage on all services launched after Q1 2026."

2. Test Levels & Types

Define each level, wh

Полный SKILL.md на GitHub

Установить test-strategy в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/diagrams-and-worksheets.mdreferences/strategy-templates.md

FAQ

Что делает скилл test-strategy?

Produce a multi-quarter QA strategy document. Covers scope, risk-based prioritization, test levels (unit/integration/E2E), pyramid analysis, entry/exit criteria, quality KPIs, tool selection rationale, CI scaling levers, and timeline planning. Output is an actionable strategy document, not a shelf document. Use when: "test strategy," "QA strategy doc," "testing approach," "QA roadmap," "multi-quarter QA direction." Not for: a single-sprint or single-release plan — use test-planning. Not for: identifying which areas carry the most risk — use risk-based-testing first. Related: risk-based-testing, qa-metrics, release-readiness, test-planning, test-reliability.

Как установить скилл test-strategy?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл test-strategy запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить test-strategy с