Source profileQuality 94/100

vasilyu1983/AI-Agents-public/frameworks/shared-skills/skills/qa-testing-strategy/SKILL.md

qa-testing-strategy

Risk-based test strategy for software delivery. Use when defining coverage, setting CI gates, managing flaky tests, choosing test layers, or establishing release criteria.

Source repository stars
80
Declared platforms
2
Static risk flags
1
Last source update
2026-08-21
Source checked
2026-08-25

Decision brief

What it does: where it fits

Risk-based quality engineering guidance for modern software delivery. Use this skill to decide what to test, at which layer, with which gates, and how to keep the signal trustworthy.

Best for

  • Use when defining coverage, setting CI gates, managing flaky tests, choosing test layers, or establishing release criteria.

Not for

  • Tasks that require unconfirmed production actions or broad system permissions.
  • Environments where the pinned source and install steps cannot be inspected.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexDeclaredSource recordInstall path and trigger
Claude CodeDeclaredSource recordInstall path and trigger
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/vasilyu1983/AI-Agents-public --skill "frameworks/shared-skills/skills/qa-testing-strategy"
Safe inspection promptEditorial

Inspect the Agent Skill "qa-testing-strategy" from https://github.com/vasilyu1983/AI-Agents-public/blob/53f6cb73ea53a2646e3e7d4665062ad66f3683ac/frameworks/shared-skills/skills/qa-testing-strategy/SKILL.md at commit 53f6cb73ea53a2646e3e7d4665062ad66f3683ac. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    Default Workflow

    1. Clarify scope and risk: critical journeys, failure modes, compliance constraints, and non-functional risks. 2. Define quality signals: SLOs, budgets, contract checks, accessibility target, and what blocks merge vs deploy. 3. Choose the smallest effective layer first: unit, co…

    Clarify scope and risk: critical journeys, failure modes, compliance constraints, and non-functional risks.Define quality signals: SLOs, budgets, contract checks, accessibility target, and what blocks merge vs deploy.Choose the smallest effective layer first: unit, component, contract, schema fuzzing, integration, then E2E.
  2. 02

    Scope

    Create or update a risk-based test strategy

    Create or update a risk-based test strategyChoose a test shape (pyramid, trophy, honeycomb) based on architecture and defect originDefine merge gates, deploy gates, and release evidence — including merge queue interaction
  3. 03

    Use Instead

    Review the “Use Instead” section in the pinned source before continuing.

    Review and apply the “Use Instead” source section.
  4. 04

    Quick Reference

    Review the “Quick Reference” section in the pinned source before continuing.

    Review and apply the “Quick Reference” source section.
  5. 05

    E2E Gate Topology (Default)

    Use three distinct E2E scopes instead of one monolithic suite:

    Smoke: PR gate and fastest feedback on the highest-risk journeys.Targeted batch/spec: local triage and deflake work for one journey, subsystem, or dependency chain.Deploy-gate replay: dependency-chain or critical-journey replay used only when proving release readiness.

Permission review

Static risk signals and limitations

Network access

medium · line 182

The documentation includes network, browsing, or remote request actions.

Use web search or web fetch to verify current external facts, versions, pricing, deadlines, regulations, or platform behavior before final answers.

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score94/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars80SourceRepository attention, not individual Skill quality
Compatibility2 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
vasilyu1983/AI-Agents-public
Skill path
frameworks/shared-skills/skills/qa-testing-strategy/SKILL.md
Commit
53f6cb73ea53a2646e3e7d4665062ad66f3683ac
License
MIT
Collected
2026-08-25
Default branch
main
View the original SKILL.md

QA Testing Strategy

Risk-based quality engineering guidance for modern software delivery. Use this skill to decide what to test, at which layer, with which gates, and how to keep the signal trustworthy.

Start with references/operational-playbook.md for the navigation hub. Use current official sources from data/sources.json when you need vendor or standards guidance.

Scope

  • Create or update a risk-based test strategy
  • Choose a test shape (pyramid, trophy, honeycomb) based on architecture and defect origin
  • Define merge gates, deploy gates, and release evidence — including merge queue interaction
  • Choose the smallest effective layer: unit, component, contract, schema fuzzing, integration, E2E, property-based
  • Make failures diagnosable with artifacts, correlation IDs, traces, and ownership
  • Operationalize suite health: flake SLO, quarantine policy, execution budgets, dashboards

Use Instead

NeedSkill
Implement or debug Playwright suitesqa-testing-playwright
Design API contract suites in depthqa-api-testing-contracts
Debug failing tests or incidentsqa-debugging
Add observability, telemetry, or tracingqa-observability
Test LLM agents or evaluationsqa-agent-testing
Mobile-specific strategy or automationqa-testing-mobile
Security audit or threat-model depthsoftware-security-appsec
CI/CD pipeline design and infraops-devops-platform

Quick Reference

LayerGoalTypical Use
UnitProve logic and invariants fastPure functions, domain rules, validators
ComponentValidate UI behavior in a real browser with narrow scopeUI components, state transitions, accessibility smoke
ContractPrevent breaking changes across service boundariesOpenAPI, AsyncAPI, JSON Schema, Protobuf
Schema fuzzingStress the API contract with generated valid and invalid inputsRequest/response edge cases, parser and validation drift
Property-basedVerify universal invariants across generated input spacesSerialization round-trips, numeric contracts, state-machine invariants, AI-code edge cases
IntegrationValidate real boundaries and dependenciesAPI + DB, queues, adapters, auth flows
E2EValidate thin critical journeysSign-up, checkout, publish, payment, admin recovery
PerformanceEnforce budgets and capacityLoad, stress, soak, latency regression
VisualCatch intentional vs accidental UI changesStable pages, design-system components
AccessibilityCheck for common WCAG 2.2 failures earlyaxe smoke + manual audit plan
SecurityCatch common web/API vulnerabilities earlySAST, DAST smoke, auth and dependency checks

E2E Gate Topology (Default)

Use three distinct E2E scopes instead of one monolithic suite:

  • Smoke: PR gate and fastest feedback on the highest-risk journeys.
  • Targeted batch/spec: local triage and deflake work for one journey, subsystem, or dependency chain.
  • Deploy-gate replay: dependency-chain or critical-journey replay used only when proving release readiness.

Rules:

  • Do not use full local E2E as the first response to a single failing journey.
  • Treat rerun-pass as unresolved flake debt.
  • Promote scope only after the smaller scope is green.

Default Workflow

  1. Clarify scope and risk: critical journeys, failure modes, compliance constraints, and non-functional risks.
  2. Define quality signals: SLOs, budgets, contract checks, accessibility target, and what blocks merge vs deploy.
  3. Choose the smallest effective layer first: unit, component, contract, schema fuzzing, integration, then E2E.
  4. Make failures diagnosable: logs, traces, screenshots, videos, build links, request IDs, trace IDs, and owners.
  5. Operationalize the suite: explicit smoke vs targeted-batch vs deploy-gate scopes, quarantine with expiry, suite budgets, retries with evidence retention, and dashboards.

Decision Rules

Need to test: [Change or Risk]
    │
    ├─ Pure business rule or invariant?
    │   └─ Unit test
    │
    ├─ UI behavior or component state in isolation?
    │   └─ Component test in a real browser
    │
    ├─ API compatibility between teams/services?
    │   └─ Contract test
    │
    ├─ API parser/validation edge cases against the schema?
    │   └─ Schema-aware fuzzing + core integration smoke
    │
    ├─ Real dependency boundary or persistence behavior?
    │   └─ Integration test with real DB/queue/service doubles only at external edges
    │
    ├─ User-critical cross-page workflow?
    │   └─ Thin E2E test
    │
    ├─ Universal invariant or property that should hold for all valid inputs?
    │   └─ Property-based test (fast-check / Hypothesis / jqwik)
    │
    └─ Capacity, resilience, or reliability regression?
        └─ Performance, resilience, or synthetic monitoring tests

Principles

  • Prefer the smallest layer that can prove the behavior.
  • Keep pre-merge gates fast: contracts, static checks, unit tests, selective component/integration smoke.
  • Prefer targeted batch reruns locally; reserve full E2E for deploy gates or scheduled regression.
  • Use full E2E only for critical journeys or risks that cannot be proven lower in the stack.
  • Treat flaky tests as reliability defects, not harmless noise.
  • Favor web-first assertions and stable locators over custom waits or brittle selectors.
  • Treat accessibility automation as partial coverage. Pair it with manual checks and inclusive design review.
  • Use telemetry as evidence. Production traces, incidents, and support signals should drive new tests.
  • Use AI for brainstorming and triage only when evidence stays attached. Do not weaken assertions to “heal” tests.
  • Treat AI-authored test oracle quality as a first-class risk, peer to flake debt. AI-generated tests routinely hit high line coverage while passing trivially (hardcoded returns, shallow assertions). Gate them on mutation score, not coverage: a test that cannot fail when the business logic is reverted is not a test.

Core Targets

SignalDefault Target
PR gatep50 <= 10 min, p95 <= 20 min
Mainline health>= 99% green builds/day
Suite flake rate<= 1% weekly
Quarantine policyowner + ticket + expiry, never indefinite
AI-authored test oracle qualitymutation score gate on changed files (line coverage is not a gate); calibrate threshold to the suite, never accept AI tests on coverage alone

Resources

Templates

ASCII Flow

Test strategy request
  -> Clarify risks, critical journeys, constraints, and release criteria
  -> Pick smallest proving layer: unit, component, contract, integration, E2E
  -> Define merge gates, deploy gates, evidence artifacts, and owners
  -> Add diagnostics: logs, traces, screenshots, request IDs, and dashboards
  -> Set suite health policy: flake SLO, quarantine expiry, runtime budgets
  -> Review production signals and incidents to evolve coverage

Navigation

  • ## Default Workflow, ## Decision Rules, and ## Principles for the baseline strategy sequence
  • ## Resources and ## Templates for deeper materials
  • ## Related Skills for tool-specific execution handoffs
  • references/reliability-theory-applied.md — Reliability primitives (MTBF/MTTR, availability, FMEA, error budgets) applied to QA testing strategy.

Related Skills

SkillPurpose
qa-refactoringSafe refactoring with behavior preservation
software-code-reviewCode review process and checklists
software-architecture-designSystem design and architecture decisions

Fact-Checking

  • Known bugs, regressions, framework/compiler/runtime footguns, and version-specific crash or workaround guidance must be verified against current primary web sources before being treated as current fact.
  • Use web search or web fetch to verify current external facts, versions, pricing, deadlines, regulations, or platform behavior before final answers.
  • Prefer primary sources; report source links and dates for volatile information.
  • If web access is unavailable, state the limitation and mark guidance as unverified.

Learnings Loop

Before applying this skill on a non-trivial task, read learnings.consolidated.md in this directory (and learnings.md if present).

After applying it, if you encountered a pattern worth remembering, a mistake worth preventing, or a domain fact that surprised you, append one dated bullet to learnings.md via agents-skills-feedback-loop/scripts/append_learning.py. Do not modify SKILL.md itself.

Frequently asked questions

What to verify before installation and use

What does the qa-testing-strategy source document cover?

Risk-based quality engineering guidance for modern software delivery. Use this skill to decide what to test, at which layer, with which gates, and how to keep the signal trustworthy.

How do I install qa-testing-strategy?

The source record exposes this install command: npx skills add https://github.com/vasilyu1983/AI-Agents-public --skill "frameworks/shared-skills/skills/qa-testing-strategy". Inspect the command and pinned source before running it.

Which Agent platforms does the source record declare?

The pinned source record declares support for: codex, claude code.

Which permission-related actions were detected?

Static rules flagged network in the source; the page lists the matching lines and excerpts.

Alternatives

Compare before choosing

Computed 9980

vasilyu1983/AI-Agents-public

qa-testing-ios

Guides iOS testing with XCTest, XCUITest, Swift Testing, simctl, and xcresult. Use when choosing destinations, controlling flakes, or parsing test artifacts for native apps.

Computed 96209

lobu-ai/lobu

lobu

Set up new Lobu agents end to end and operate existing Lobu projects and memory: interview, scaffold, validate, authenticate, connect feeds, execute operations, and test Automations.

Computed 9620

upex-galaxy/agentic-qa-boilerplate

regression-testing

Execute regression test suites via CI/CD, analyze results, classify failures, and produce GO/NO-GO release decisions. Use when running regression, smoke, or sanity suites through GitHub Actions, monitoring workflow runs, downloading Allure or Playwright artifacts, classifying failures (REGRESSION vs FLAKY vs KNOWN vs ENVIRONMENT vs NEW TEST), computing pass-rate and trend metrics, deciding release readiness, generating executive quality reports, or creating regression issues. Triggers on: run re

Computed 9320

upex-galaxy/agentic-qa-boilerplate

sprint-testing

Orchestrates in-sprint manual QA per ticket across Stages 1 (Planning), 2 (Execution) and 3 (Reporting). Use for user-story testing, bug retesting, and batch-sprint QA loops. Creates the PBI folder, drives session-start, runs the triage + veto + risk-score decision tree on bugs, produces the ATP + ATR + TC artifacts in the TMS, executes smoke and trifuerza (UI/API/DB) exploration, and files the final QA comment + bug reports. Triggers on: test this ticket, QA this user story, retest this bug, ve