/qa-toolkit:ui-test-casesfrom qa-toolkit
Review a user story, feature description, or acceptance criteria as a senior SQA analyst and write click-by-click UI test cases in a rigorous, behavior-driven house style — every step atomic, every step with an explicit expected result. Use whenever the user pastes a story, ticket, AC block, feature spec, or flow description and asks for test cases, test scenarios, test coverage, or QA review — even a bare "write tests for this", "what should I test?", "break this story into test cases", or "give me QA coverage for this AC". Also trigger when the user shares a numbered list of acceptance criteria, a bug description, or a Gherkin-style scenario and wants them turned into step-by-step test cases with explicit expected results. Authors cases only; to file them as work items hand off to testcase-to-tracker.
Ships in qa-toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Write UI test cases the way a rigorous senior SQA analyst writes them: behavior-driven, action-by-action granularity, every step with an explicit expected result, no ceremony. Given a user story or feature description, extract the behavior, scope the full coverage, and write every case in the house format below.
This skill authors cases. It does not write to any tracker. When the user wants these created as Test Case work items, hand off to the testcase-to-tracker skill. For request/response coverage instead of click-by-click UI, use the api-test-cases skill.
The example module/feature names below (Deals, Settings, Inbox, Customers, Roles, etc.) are illustrative only. Use whatever modules and features exist in the product under test. The format and voice are fixed; the domain is the user's.
Before writing anything, do a thorough read of the story. Extract:
[Module] - [Feature].Think: "What are all the ways this can work? All the ways it can break? What must the system enforce?" — write a case for every answer.
List the cases you intend to write before drafting steps. Use this shape internally; show it to the user when scope is ambiguous:
Coverage plan:
- Happy path: <one-line description>
- AC #1 (pass): <verify what behavior>
- AC #1 (boundary/fail): <verify enforcement>
- AC #2: <verify what>
- Business rule — <state the rule>: <pass case> + <fail/enforcement case>
- Edge case: <describe>
- Negative: <describe>
- Permission — <role>: can / cannot
- Cross-flow: <which module, what to confirm>
Proceed without asking when scope is clear. Ask one focused question only for genuine ambiguity (which environment, which role, which data state).
[Module] - [Feature] - Verify that <expected behavior>.
The third segment is always "Verify that..." — specific, observable, tied to a single behavior; period at the end.
Examples of good titles:
Deals - Pipeline - Verify that user is able to switch to the newly created pipeline.Customers - Merge - Verify that a duplicate customer can be merged into an existing record.Settings - Roles - Verify that a user without the Admin role cannot access pipeline settings.Inbox - Chat - Verify that user is unable to send a message after the messaging window closes.Entity-specific variant (when the story targets a specific account/tenant/record):
[Module] - [Feature] - <Entity Name> [ID] - Verify that <behavior>.
Preconditions: <Environment / role / account or tenant / required data state>
| # | Action | Expected Result |
|---|--------|-----------------|
| 1 | <single atomic action> | <concrete observable response> |
| 2 | <single atomic action> | <concrete observable response> |
...
| N | Verify that <behavior from title> | <definitive expected outcome> |
Actual Result:
Actual Result: is always left blank — the tester fills it during execution.
Read references/format-and-voice.md for the extended voice guide, granularity guide, and common mistakes.
For every story, produce cases across all applicable axes: happy path; each acceptance criterion (pass + fail/boundary); each business rule (enforce + normal); edge cases (empty, max-length, boundary, missing/expired, duplicate, deleted mid-flow); negative cases; permissions (per role, can/cannot); cross-flow (each shared-data feature, one regression guard). Skip an axis only when it genuinely does not apply. If in doubt, include it.
Present all test cases to the user. Ask: "Does this coverage look right? Anything to add or cut?" Adjust before finalizing.
If the user wants these created as Test Case work items in their tracker, hand off to testcase-to-tracker.
references/format-and-voice.md — full format rules, granularity guide, common mistakes, step verb patternsreferences/example-from-story.md — worked example: user story → coverage plan → full test casesWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub shironigun/marketplace --plugin qa-toolkitOther plugins' skills for the same job
4 skills in this plugin
/api-failure-to-bugWhen an API test fails, act as a senior SQA analyst — triage whether it is a real product bug, and if so draft a review-ready bug in a rigorous house format for the user's tracker. Use whenever an API test (contract / endpoint / workflow) fails and the user wants a bug drafted, when the user pastes a failed test's output, an assertion error, a schema-validation error, or a non-2xx response and asks to log or write it up, or says "draft a bug for this failure", "the contract test failed, write it up", "turn this red run into a bug". Draft-and-review only — it classifies and drafts, it never auto-files. To actually create the work item, hand the drafted fields to testcase-to-tracker or file directly. Failure-side sibling of api-test-cases (which authors the cases)./api-test-casesAct as a senior SQA analyst doing API testing and author API test cases in a rigorous, behavior-driven house style at three levels — Contract (response/request shape against a schema), Endpoints (happy path plus the full negative matrix per endpoint), and Workflows (chained end-to-end across calls). Use whenever the user asks for API test cases, contract/schema tests, endpoint coverage, request/response verification, negative-path coverage, or API workflow/chaining tests — e.g. "write API tests for POST /orders", "what should I test on this endpoint?", "cover this endpoint's error cases", "chain these calls into an end-to-end case", "turn this OpenAPI spec into test cases". API sibling of the UI-focused ui-test-cases skill; use ui-test-cases for click-by-click UI and this one for anything request/response. Authors cases only — to file them as work items hand off to testcase-to-tracker; to draft a bug from a failed API test use api-failure-to-bug.