test-case-ideation-from-story
Use for any question or task about turning a user story, ticket or spec into test cases, including one-line stories whose gaps QA finds only after coding…
от testland★ 18 звёзд на GitHub
Установить test-case-ideation-from-story в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
test-case-ideation-from-story
Overview
A user story is not a test plan. The "three amigos" hand-off from product to QA needs an intermediate artifact: a human-reviewable test-case matrix that enumerates the cases the story implies, before anyone writes Gherkin or test code. This skill produces that matrix.
The matrix is what manual testers paste into TestRail / Qase / Xray. It is also the contract that the downstream automation engineer reads when picking up the story - gherkin-from-stories (in qa-bdd) needs a stable AC layer, and the AC layer is derived from this matrix, not the other way around.
The PractiTest 2026 State of Testing Report finds 70% of teams already use AI for test-case creation but only 40.7% report achieving "more diverse and complex test cases" (https://www.practitest.com/state-of-testing/) - the dominant failure mode is shallow output (one happy path × three trivial restatements). This skill exists to constrain the output shape so that the matrix is forced through equivalence-partitioning, boundary, and negative-path lenses.
When to use
- A new user story has been accepted by the team and needs initial QA breakdown.
- A three-amigos session is about to start and needs a case-list straw-man.
- A test-management tool (TestRail, Qase, Xray, Zephyr, TestCollab) needs cases populated before the next sprint.
- A manual tester has been handed a feature spec and is opening a blank document.
Do not use this skill when:
- The acceptance criteria are already locked and the team is past the matrix stage - go straight to
gherkin-from-storiesormanual-test-script-author. - The story is a one-line bug fix; the matrix overhead exceeds the value.
Step 1 - Extract the story's testable claims
Read the user story (and any attached AC, mockups, or rejection notes) and extract:
- Actor - who is performing the action? (logged-in user / anonymous / admin / system).
- Action - the verb the actor performs (clicks "Add to cart", submits form, calls API).
- Object - the thing being acted on (a product, a form, a record).
- Preconditions - system state needed before the action (logged in, has X items in cart, feature flag on).
- Postconditions - observable outcomes (cart shows item, email sent, audit log written, redirect occurred).
- Constraints - bounded values, rate limits, role permissions.
If any of (1) - (5) is missing from the story, stop and request clarification. A matrix derived from incomplete input will mask the gap rather than surface it. ISTQB's test analysis step is explicit that test conditions must trace to identified test bases; an unclear story is not a test basis.
Step 2 - Enumerate cases per ISTQB test design technique
For each (action, object) pair, generate cases by walking three lenses (equivalence partitioning, boundary value analysis, decision table testing):
Lens 1 - Equivalence classes (one row per class)
For each input parameter, identify the valid and invalid equivalence classes. One representative case per class.
| If parameter is… | Valid classes | Invalid classes |
|---|---|---|
| String with format constraint (email, URL, phone) | Conformant | Empty / wrong format / null / oversized |
| Numeric with range | Min ≤ x ≤ max | x < min, x > max, NaN, negative, zero (if not in range) |
| Enum | Each documented value | Undocumented value, mixed case |
| Reference (foreign key, file path) | Existing | Missing, deleted, belongs-to-other-tenant |
Lens 2 - Boundaries (one row per boundary)
For numeric / length-bounded parameters, add cases at min, min-1, max, max+1. Skip if the parameter is unbounded (free-text comment, etc.).
Lens 3 - Decision conditions (one row per branch)
If the story implies decision logic (role-based access, plan tier, feature flag, A/B variant), add one case per condition combination. Use a decision table to be exhaustive; collapse rows that have the same outcome.
Step 3 - Emit the matrix
Output is a markdown table. Required columns:
| Field | Notes |
|---|---|
| ID | <story-key>-TC-<n>, e.g. CART-142-TC-03. Stable across iterations. |
| Title | Imperative single sentence: "Adds a product to the cart as an anonymous user". No "should". |
| Tier | smoke / regression / edge / negative. Tier rationale belongs in the next column. |
| Precondition | One sentence; references fixtures by name where possible. |
| Steps | Numbered. Declarative (per Cucumber better-gherkin guidance) - describe behavior, not UI mechanics. |
| Expected | One sentence per observable post-condition. |
| Source claim | Which sentence in the story / AC this c |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- .tessl-plugin/plugin.json
- evals/account-deletion-aftermath/criteria.json
- evals/account-deletion-aftermath/task.md
- evals/booking-window-boundaries/criteria.json
- evals/booking-window-boundaries/task.md
- evals/checkout-state-drift/criteria.json
- evals/checkout-state-drift/task.md
- evals/claim-upload-classes/criteria.json
- evals/claim-upload-classes/task.md
- evals/digest-email-thin-story/criteria.json
- evals/digest-email-thin-story/task.md
- evals/folder-share-recipient-classes/criteria.json
- evals/folder-share-recipient-classes/task.md
- evals/invoice-locale-classes/criteria.json
- evals/invoice-locale-classes/task.md
- evals/onboarding-script-to-cases/criteria.json
- evals/onboarding-script-to-cases/task.md
- evals/refund-approval-combinations/criteria.json
- evals/refund-approval-combinations/task.md
- evals/search-ac-churn-traceability/criteria.json
- evals/search-ac-churn-traceability/task.md
FAQ
Что делает скилл test-case-ideation-from-story?
Use for any question or task about turning a user story, ticket or spec into test cases, including one-line stories whose gaps QA finds only after coding. Produces a markdown test case matrix (id, title, precondition, steps, expected, tier) covering happy, alternate, boundary and negative paths, agreed before automation and ready for TestRail, Qase or Xray.
Как установить скилл test-case-ideation-from-story?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл test-case-ideation-from-story запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…