/qa-toolkit:testcase-to-trackerfrom qa-toolkit
Author test cases from a ticket in a rigorous senior-SQA house style and file them as Test Case work items in the user's issue tracker (Azure DevOps, Jira, or any other), then link each back to the source ticket. Use whenever the user wants to write, draft, generate, or create test cases for a ticket, story, defect, or bug AND get them into their tracker — or mentions a work item ID together with testing, a Test Plan/Suite, test steps, expected/actual results, or QA verification. Trigger even on a bare "write tests for #1001 and add them", "I need test cases for this story in the tracker", or when they paste a ticket description and ask to turn it into filed test cases. For authoring cases without filing, use ui-test-cases (UI) or api-test-cases (API); this skill is the filing counterpart.
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 test cases in the house style — precise, behavior-driven, no ceremony — then create them as Test Case work items in the user's tracker and link them to the source ticket. This skill owns the filing workflow; the authoring style is identical to ui-test-cases / api-test-cases.
~~tracker below means whatever issue/work-item system the user connects (Azure DevOps, Jira, Linear, etc.). Read references/tracker-field-mapping.md for how to render the house step table in the specific tracker before creating anything.
~~tracker (by ID) or have the user paste it. Extract: the environment/account, the feature touched, expected vs actual behavior, and any acceptance criteria.~~tracker (see "Creating in the tracker").Title: ALWAYS [Module] - [Feature] - Verify that <expected behavior>.
The third segment is phrased as "Verify that..." describing the specific behavior under test. Mirror an entity-bracket convention when the ticket is entity-specific: [Module] - [Feature] - <Entity Name> [ID] - Verify that ....
Examples:
Deals - Pipeline - Verify that user is able to switch to the newly created pipeline.Inbox - Chat - Verify that user is unable to send a message after the messaging window closes.Customers - Merge - Verify that a duplicate customer can be merged into an existing record.Steps — childlike granularity is mandatory. Every single click, navigation, and field entry is its own step. Never collapse "Navigate to Settings -> Deals tab -> Add Pipeline" into one step — that is three steps. Assume the tester knows nothing and must be guided action-by-action. A 10-action flow has 10 steps. The final step is always the verification step.
Every step has its own explicit Expected Result. No step is left without one. State exactly what the system shows or does in response to that one action.
Use this exact shape:
Preconditions: Environment: <QA/Staging/Production> | Role: <role> | <any setup state>
| # | Action | Expected Result |
|---|--------|-----------------|
| 1 | Log in to the application | User is logged in and the dashboard loads |
| 2 | Navigate to Settings | Settings page opens |
| 3 | Move to the Deals tab | Deals settings tab is displayed |
| 4 | Click the Add Pipeline button | Add Pipeline form/drawer opens |
| 5 | Add at least one stage | Stage is added to the pipeline |
| 6 | Click the SAVE button | Pipeline is saved and appears in the pipeline list |
| 7 | Navigate to the Deals module | Deals module opens |
| 8 | Click the "Select Pipeline" dropdown | Dropdown expands showing the list of pipelines |
| 9 | Click the newly created pipeline option | Pipeline is selected |
| 10 | Verify that the user switched to the pipeline successfully | The selected pipeline's stages load and the active pipeline reflects the new selection |
Actual Result:
Actual Result: leave a labeled blank line for the tester to fill during execution — never pre-fill it at authoring time.
For any ticket, produce cases across these axes — skip one only if it genuinely does not apply: happy path; each business rule (enforce + normal); edge cases (empty, max length, expired, duplicate, deleted/merged); negative cases (invalid input, wrong state, disallowed action); permissions (per role); cross-flow impact (each connected flow that shares data or state).
The house step table does not map identically to every tracker. Before creating, read references/tracker-field-mapping.md for the tracker in use — it covers Azure DevOps (the native Test Case Steps XML), Jira (Xray/Zephyr step tables or a formatted description), and a generic fallback (steps in the description as an HTML/Markdown table).
General procedure, tracker-agnostic:
Always get the user's approval before creating — creation is a real write. If a step or field is rejected by the tracker, fall back to putting the full step table in the description and tell the user, rather than failing the whole creation.
references/tracker-field-mapping.md — how to render the house step table and links per tracker (Azure DevOps, Jira, generic)references/example-testcases.md — a worked example: ticket -> derived cases in full house styleWhat 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.