romiluz13/cc10x/qa-strategy
Claude Code and agent skill by romiluz13/cc10x
- community
Checking that the SKILL.md file is still in the repository.
Use when designing or checking a QA test system: choosing the right tier, scenario matrices with pipeline-wide observation points, test-environment topology and isolation, fixture lifecycle, and flake sources. Also the coverage lens for reviewing a QA plan (it reaches a plan reviewer as a file to Read in the task scaffold, not as a SKILL_HINTS entry).
Install
npx vskill@latest install romiluz13/cc10x/qa-strategySKILL.md
The same SKILL.md was published earlier as romiluz13/cc10x/qa-strategy.
QA Strategy
This skill is the QA route's test-system design discipline.
Core: A test suite's value is not how many tests it has. It is how much you would believe a green run.
Tier selection
The three-layer model in cc10x:building still governs — unit proves local behavior, integration proves boundary wiring, E2E proves system truth. QA owns the outer two, plus UI.
| Tier | Proves | Use when | |
|---|---|---|---|
integration | one boundary really works | route→service, service→DB, producer→consumer, cache/side effects | |
e2e_backend | a flow across services really works | the value is produced by services cooperating | |
ui | a human can actually do the thing | the deliverable is something a person operates |
Choose the cheapest tier that can still fail for the right reason. An E2E test that would also fail for ten unrelated reasons is a bad detector: it fires often and tells you little. Push a check down a tier whenever the lower tier can catch the same defect.
But do not push everything down. The defects that survive good unit coverage are exactly the ones that live between components — serialization mismatches, transaction boundaries, retry storms, partial failures. Those only appear at the tier where the components are real.
The scenario matrix
Every feature gets scenarios in three classes. A plan with only the first is not a test plan, it is a demo.
| Class | Question it answers | |
|---|---|---|
happy-path | Does the thing work when everything cooperates? | |
error-handling | When a dependency fails, does the system fail correctly — right status, right message, right rollback, right log? | |
edge-case | What about empty, one, many, max, concurrent, duplicate, out-of-order, expired, and unauthorized? |
Error-handling scenarios are where the bugs are
For each boundary the flow crosses, ask: what happens when it is slow, down, returns garbage, returns a partial result, or succeeds after the caller gave up? Each answer that matters is a scenario.
The most valuable single question: when this fails halfway, what state is left behind? Partial-failure state is where data corruption lives, and it is almost never covered by accident.
Input-space coverage — enumerate exhaustively, then reduce deliberately
The goal is to cover as many user actions and chains of actions as possible: every option in a dropdown, every date class, every filter, every combination that a real user could produce.
Step 1 — enumerate the full input space (do this exhaustively)
For every interactive surface in the flow, list every option a user can actually pick:
- every dropdown / select — every option, not "a representative one"
- every filter, toggle, checkbox, radio
- every date field — today, past, future, boundary of range, invalid, empty
- every free-text field — its equivalence classes
- every navigation path that reaches the same screen
- every chain — the ordered sequences of actions a user strings together
Discover, do not assume. Options are usually data-driven; reading the component tells you a <select> exists, not what is in it at runtime. Drive the real UI to enumerate actual values (see UI tier tooling below). An enumeration built from the code alone will miss the options that only appear for certain roles, tenants, or feature flags.
Record the full enumeration in the test plan even when you will not execute all of it. The enumeration is the coverage claim. What you skip must be visible.
Step 2 — reduce with a technique, not by taste
Full combinatorial coverage is not achievable and pretending otherwise produces an unbuildable plan: 5 filters × 4 options each is 1,024 combinations; add a date and a sort and you are past 10,000. Nobody runs that suite, so in practice it never gets written, and you end up with less coverage than an honest reduction would have given.
Reduce with a named technique, and record which one you used and what it leaves uncovered:
| Technique | Use for | What it costs | |
|---|---|---|---|
| Every-option-once | dropdowns, radio groups | Each option exercised at least once. Misses interactions between options. | |
| Pairwise (all-pairs) | combinations of 3+ independent controls | Every pair of values co-occurs in some case. Collapses 1,024 → ~25. Misses 3-way interactions, which are rare. | |
| Equivalence classes | free text, numbers, dates | One representative per class of behavior. Misses defects inside a class. | |
| Boundary values | anything with a range | 0, 1, max, max+1, empty, null. Where most defects actually live. | |
| Full combinatorial | 2 controls with few values, or a genuinely safety-critical path | Complete. Only affordable when the space is tiny. |
Default recipe: every-option-once for single controls, pairwise across combinations, boundary values on every range, plus full combinatorial on any combination that is known to be risky (billing, permissions, anything where two settings interact by design).
Pairwise is the highest-leverage tool here. Most combination defects come from two settings interacting, not five. All-pairs buys the large majority of that value for a small fraction of the runs.
Step 3 — chains, not just single actions
A user action rarely stands alone. Cover the sequences too:
- the primary chain — the full path a real user walks, end to end
- back / re-entry — leave mid-flow and return; is state preserved or correctly discarded?
- re-application — apply a filter, change it, clear it, apply another
- order variation — does filter-then-search behave like search-then-filter?
- repetition — the same action twice; the same submit double-clicked
Chains are where state bugs live, and they are almost never found by testing actions in isolation.
Auth, flags and config, and declared limits are coverage dimensions, not setup details
A feature's behaviour varies along three non-UI dimensions the researcher reports as BEHAVIOUR_SURFACE: auth (roles, entitlements, tenants), flag / config (flags, settings, config keys), and limit (declared caps). Each is a dimension to vary, not a constant to set — the env plan fixes a value, the test plan covers the values.
A feature shipped behind a flag has two live code paths in production, and only one of them is new. Both need coverage:
| State | What it proves | Why it gets skipped | |
|---|---|---|---|
| Flag ON | The feature works | Nobody skips this one | |
| Flag OFF | The old path still works, or the feature is cleanly absent | Feels redundant — it is not | |
| Toggled mid-session | State written under one path is readable under the other | Rarely considered at all |
The OFF path is where the expensive incidents live. A flag gets rolled back precisely when something is already going wrong, and that is the worst possible moment to discover the rollback does not restore a working system. If a flag is genuinely one-way, that is a finding to surface, not a row to skip.
Where entitlements or plan tiers exist alongside flags, they are independent gates. flag-on + entitlement-off must degrade correctly rather than 500 — a combination almost no plan covers, because each gate is usually tested alone.
Limits take boundary values. For a declared limit N, cover N-1, N and N+1; the N+1 case is where a declared-but-unenforced cap shows up, and that is a finding rather than a gap. Record every reduction in the test plan's coverage-by-behaviour-dimension table with what it leaves uncovered.
Confirm a flag applied, do not confirm it was set. Asserting that the config call returned 200 proves the call returned 200. Caches, restart requirements, and per-pod config all break the leap from "set" to "in effect", and they break it silently.
Edge cases worth a default look
- boundaries: 0, 1, max, max+1
- concurrency: two of the same request at once; the same idempotency key twice
- ordering: out-of-order and duplicate messages
- time: expiry, timezone, clock skew, retry after timeout
- identity: unauthorized, wrong tenant, expired token
- data: unicode, very long strings, null vs. absent
Observation points — the pipeline-wide assertion
A scenario that asserts only the final response tests the response. It does not test the pipeline.
For each scenario, name what should be observable at every stage:
| Point | Asserts | |
|---|---|---|
| UI | what a person sees | |
| API | status, response shape, headers | |
| DB | rows/documents actually written, in the right state | |
| Queue | messages actually published, with the right payload | |
| Logs | each pipeline stage actually ran, and said so properly |
Why logs are a first-class assertion
Logs are the only cheap way to prove that a middle stage executed. A 200 at the edge is consistent with a worker that never ran, a retry that silently swallowed, or a branch that fell through.
Asserting logs also makes the suite an enforcement point for the project's logging standard: if a scenario asserts a structured log line with named fields and the line is missing, unstructured, or logged at the wrong level, that is a real finding about observability — found by a test, before an incident needs it.
Assert on level + message + structured fields, not on a substring of a formatted line. Substring assertions on log text are among the most brittle tests it is possible to write.
Log access strategy. How the harness reads logs differs sharply by environment (local stdout, container logs, a log platform); state the access method in the plan for the environment in use.
Test environment
Isolation model
Ranked by strength:
- Ephemeral everything — fresh DB, fresh services per run. Strongest; slowest.
- Fresh data, shared services — services stay up, schema/data reset between runs. Usually the right trade.
- Namespaced in a shared environment — every run scopes itself by a unique prefix/tenant. Only when 1 and 2 are impossible; leaks are hard to detect and the failure mode is cross-run interference that looks like flake.
Never test against an environment someone else is using. A suite that intermittently fails because a colleague was clicking around teaches the team to ignore red.
Readiness, not sleeping
sleep 30 is a race condition with a comment. Gate on a real signal — health endpoint 200, port accepting, migration complete, topic created — with a bounded timeout and a loud failure.
An under-gated environment produces failures that look like product bugs. That is precisely how a team learns to distrust its own suite.
Teardown
Teardown must verify itself. "Ran docker compose down" is not evidence; "docker ps shows nothing from this run" is. A suite that leaks will eventually make its own machine unable to run it.
Determining the topology — recall, then verify, then ask only the deltas, then confirm on screen
Never silently infer how to run the system — and never make the user the memory. The order is fixed:
- Recall the topology record (
results.topology; what the last run confirmed and what the last execution corrected). - Verify fingerprints and re-probe every volatile fact.
- Ask only the deltas.
- Present on screen and get explicit confirmation.
Write the confirmed topology to env-plan.md and to the record after the user confirms it, not before.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/cc10x/skills/qa-strategy/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/romiluz13/cc10x/qa-strategy)