qa-test-cases
Skill0 starsChanged 18 days agoMITView on GitHub
Design or update the test-case catalog for a page or feature (a markdown catalog next to its specs) - scenarios, steps, expected results derived from tickets, business rules, API contracts and schemas, automation status, and a findings section for bugs. Use before writing specs, when a ticket arrives, when requirements change, or when asked what should be tested.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- keber/qa-frameworktheir own version, first seen Nov 8, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- keber/qa-framework★ 9same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository5 other files it gives its agents.
- qa-automationSkill
- qa-explore-appSkill
- qa-memorySkill
- qa-playwright-authorSkill
- qa-run-triageSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 20
Follow the project's catalog template if it has one (check conventions.md and the rule docs).
- Very specific: line 22
Write in the language the project's catalogs already use.
- Very specific: line 69
Keep a ## Findings section (or the project's own heading for it in its language): numbered, each with test ID, evidence (file:line, run …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Design test cases
The catalog says what should be tested, automated or not. Specs say how. The catalog is written first and kept where the project's layout puts it (usually next to the specs).
1. Recall and locate
qa-kit memory search "<page or module>"
qa-kit cases --page <page folder or route fragment> # existing rows, status, linked specs
qa-kit gaps --page <fragment> # todo rows, drift
qa-kit config get catalog # file names, ID pattern, languagesFollow the project's catalog template if it has one (check conventions.md and the rule
docs). Otherwise use references/catalog-template.md.
Write in the language the project's catalogs already use; qa-kit reads column headers and
status words through language packs (lib/vocab.mjs), and a team can add its own words
with qa-kit config set catalog.vocabulary '{"todo":["…"]}'.
2. Collect expectations, in this priority
- Ticket / acceptance criteria / business rules (ask the user for the ticket ID, or use a tracker MCP if available).
- API contract: request/response shapes, required fields, enum values, error codes.
- Validation schema and form attributes: required, length, format, ranges.
- UI copy in components: titles, labels, messages (assert on these words).
- Permissions: which roles see which buttons.
Where the code disagrees with the requirement, the requirement is the expected result and
the difference is a finding (with file:line). Record open questions for the BA/PO
instead of guessing.
3. Write the rows
- Group by tab/section. One short uppercase prefix per page or section (
INV,CHK). New IDs:qa-kit next-id <PREFIX>. Never renumber or reuse an ID. - Columns:
ID | Scenario | Steps | Expected result | Automation. - Expected results are observable: exact text, element state, API status, row present/absent. "Works correctly" is not an expected result.
- Automation column:
spec/spec @smoke/spec <mutation tag>(or the file name),not automated,manual (reason), or the same words in the catalog's language. Mark known failures, e.g.spec, **failing: bug** (Finding 2)orspec, **suspected fail** (Finding 3).
Coverage checklist per page type (keep what applies; add the project's own mandatory checks
from conventions.md):
| Page type | Cases |
| List / index | loads with title and columns (smoke), search hit, search miss/empty state, pagination, sort, filters, export, row actions per permission |
| Create / edit form | open/cancel, required fields, length/format/range limits, enum options, duplicate key rejected, success message + row visible, edit keeps immutable fields locked |
| Delete | cancel keeps row, confirm removes row, delete blocked when referenced |
| Detail / read-only | all fields shown, nothing editable |
| Workflow / status | allowed transitions, forbidden transitions, who may act |
| Auth / permission | redirect or "access denied" for roles without permission |
Tests that create/update/delete data carry the project's mutation tag
(qa-kit config get e2e.mutationTags) and clean up after themselves; write that into the
steps.
4. Findings section
Keep a ## Findings section (or the project's own heading for it in its language):
numbered, each with test ID, evidence (file:line, run date, environment), and status
(suspected from code reading vs confirmed by a run).
5. Sync and learn
qa-kit index && qa-kit gaps --page <fragment> # no new drift on this page
qa-kit memory add --kind decision --scope <page dir> "<clarification agreed with BA/QA>"
qa-kit memory add --kind bug --scope <page dir> "<ID>: <finding>, evidence <file:line>"Then continue with qa-playwright-author if the user wants the cases automated.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

