test-scenarios

Generate test scenarios from user stories: objectives, preconditions, roles, steps and expected outcomes.

test-scenarios derives test cases from user stories: goal, preconditions, roles, steps and expected results. It covers more than the happy path.

Small business & careeragents 2MIT downloadable Scan upstream repo ↗

Upstream:phuryn/pm-skills · ★ 28369 · last commit 2026-11-08 (20d)

What it is

Turns user stories and acceptance criteria into executable test scenarios: objective, starting conditions, role, step-by-step actions and observable outcomes. For people writing QA cases, test plans or acceptance tests. It generates no automation scripts and runs no tests.

Core workflow

StageContent
TriggerWriting QA cases, creating a test plan, defining acceptance tests, or validating a user story
Input$PRODUCT name, $USER_STORY with acceptance criteria, $CONTEXT constraints
StepsEight steps: read the story → set the objective → establish starting conditions (state, data, config, permissions) → name the role → break down steps → write the expected result per step → add invalid input and boundaries → output the scenario
OutputTemplate scenarios (name, objective, starting conditions, role, steps, expectations) plus edge and error scenarios
BoundaryEach step is action → observable result with no implementation detail; the deliverable is for QA to execute, not runnable code

Getting started: give each acceptance criterion at least one scenario, and put the exclusions (“the current item must not appear”) into the expectations first.

Traits

  • Eight fixed steps, with starting conditions split into system state, data setup and permissions
  • Steps and expectations alternate, each step carrying its own observable result instead of assertions piling up at the end
  • Edge coverage is explicit: invalid input and boundary conditions, not just the happy path
  • Ships a worked example (a product page’s “Recently viewed”) showing exclusions, timestamps and thresholds

Who it is for and who it is not for

Good fitPoor fit
Turning acceptance criteria into scenarios QA can click throughGenerating and running Playwright/Cypress scripts
Filling in a test plan before a releaseAuditing code that disagrees with its docs
Briefing testers who lack the business contextLoad-test plans or a security case library

How it differs

NeedUse
Finding the gap between code and documented intentphuryn-pm-skills-pm-ai-shipping-intended-vs-implemented
A testable requirements document firstphuryn-pm-skills-pm-execution-create-prd
Reviewing process after a sprintphuryn-pm-skills-pm-execution-retro

Source-level risks

RiskSourceImpact
Example thresholds invite copying“Example Test Scenario”: 4–8 cards, load within 2 secondsCarried to another product they become unrelated numbers
The three arguments have no defaults“Arguments” lists three variables onlyGiven one sentence, constraints and roles are invented
No scripts, no export formatProcess and template onlyOutput is markdown to paste into TestRail by hand
Manual execution only“Output Deliverables” stops at ready for QA executionCannot feed CI regression

Example: input and output

Input

Derive test scenarios from the story 'manager bulk-adjusts shifts'.

Output

Outputs goal, preconditions, roles, steps and expected results.

Check: failure paths and permission boundaries are covered.

FAQ

Should failure paths be included?

Yes — they are the easiest to miss.

Do I test permission boundaries?

Yes, especially in multi-role products.

How many cases?

Three to eight per story, covering the main path and edges.

CategorySmall business & career
Version2026-10-16
Agent supportClaude Code, Generic (reads SKILL.md)
OSmacOS / Linux / Windows
Dependenciesnone
Environmentnone
Scriptsnone
LicenseMIT
Sourcephuryn/pm-skills ↗
Verification✓ verified
Get itDownload zip
SHA256: 6fd7276511fd4fd4cac6c48d238f86ffc9964e8466b2586bb280bd415e4f862e · 0.0 MB

"Generic (agents that read SKILL.md)" means any agent that discovers and loads SKILL.md; support level (auto-discovery, manual config, script execution) varies by agent.

Install
unzip phuryn-pm-skills-pm-execution-test-scenarios-2026-10-16.zip -d ~/.claude/skills/

Skills directory example: ~/.claude/skills/ for Claude Code; other agents use wherever SKILL.md is discovered.