Skill: generate test plans from tickets

Turn tickets into test plans covering happy paths, edges, and regressions agents can actually execute.

Published 2026-11-09 · Translation: VI

What to do first

  • Extract actors, preconditions, and acceptance criteria from the ticket before writing any case.
  • Map every case to a criterion or mark GAP: do not invent product requirements.
  • Treat the run as unfinished until happy / edge / negative / regression are represented (or justified absent) with observable expected results.

Agents otherwise jump straight to writing random tests. This skill forces a reviewable plan first: happy path, edges, negatives (including authz when relevant), and regression checks for nearby features. Expected results must be observable (“status 403”, “row count unchanged”), never “user is happy.”

Part 1: Criteria map

Criteria Map

Criteria Map

Build a test plan from this ticket. Do not write test code yet.

TICKET:
[paste]

Return:
1. Actors + preconditions
2. Acceptance criteria listed as AC-1, AC-2, …
3. Gaps: anything a tester needs that the ticket omits (ask; do not invent)

Part 2: Coverage table

Emit a plan table:
| ID | Type (happy/edge/negative/regression) | Steps | Expected (observable) | AC link | Manual/Auto | Priority |

Rules:
1. Include negative and permission cases when auth is involved.
2. Edges as relevant: empty, max, unicode, timezone, concurrency.
3. Separate manual vs automated candidates.
4. No invented requirements: list GAPS instead.
5. One-line risk note on each high-priority case.

Part 3: Traps and skill file

Failure modes to catch early

Failure modes to catch early

# Skill: test-plan-from-ticket
## When
- Designing tests from stories/tickets before coding tests
## Hard rules
1. Observable expected results. No invented requirements.
2. Map cases to AC or GAP. Tag manual vs automated.
3. Auth tickets include negative/permission cases.
## Steps

![Coverage Gate](/images/articles/skill-for-test-plans/en/02-coverage-gate.jpg)

*Coverage Gate*

1. Extract criteria + gaps. Stop if AC missing and ask.
2. Happy / edge / negative / regression table.
3. Prioritize + risk notes on P0/P1.
## Done when
- Reviewable plan exists; gaps listed.

Test cases

  1. Ticket missing acceptance criteria. Pass: ask or list gaps.
  2. Payment ticket. Pass: failure + idempotency cases.
  3. Typo-only ticket. Pass: stays minimal.

Related: write Cursor skills.

Common mistakes

  • Only happy-path screenshots.
  • Expected result: “user is happy.”
  • Ignoring authz on admin tickets.

You are done when QA or an agent can execute the plan without inventing what “done” means.

Share

X Facebook LinkedIn