agentsclimarketplace

Pm user stories

Skill serejaris/personal-corp-skills/skills/pm-user-stories

Разбивает Epic или крупное требование на независимые User Stories с acceptance criteria в формате Given-When-Then, проверкой по INVEST и оценкой Story Points (Fibonacci или T-shirt). На выходе — Story Map с предложением по Sprint-планированию. User-invoked only — do NOT auto-trigger. Triggers on /pm-user-stories, "разбей на user stories", "разбить эпик", "story map", "AC", "acceptance criteria", "break down into user stories", "split this epic", "write user stories".From its SKILL.md

Install
npx -y skills add serejaris/personal-corp-skills --skill pm-user-stories

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

7.0 KB, ~1.6k tokens by cl100k_base, as published. Nobody here has run it

pm-user-stories — Break an Epic into User Stories

Part of the Personal Corp framework — running a one-person business through AI agents. Decompose a large requirement or Epic into independently-deliverable User Stories. Every Story is validated against INVEST. Output is ready to paste into Jira, Linear, or GitHub Issues.

Inputs

FieldRequiredNotes
Requirement descriptionyesAn Epic or large requirement; can paste a PRD section
GranularitynoSprint-level (1-3 days/story) or iteration-level (1-2 weeks); default Sprint
Team compositionnoFE+BE split / full-stack / has mobile — affects per-tier splitting
Estimation systemnoFibonacci (1/2/3/5/8/13) or T-shirt (S/M/L/XL); default Fibonacci

Step 1 — Map the full requirement

Extract from the requirement:

  • Roles involved: who uses this? (end user, admin, ops, etc.)
  • Core flow: main path? branches?
  • Business rules: constraints and conditions?
  • Data entities: what data objects are involved?

Step 2 — Pick a splitting pattern

Five patterns. Pick by requirement shape; combine for hybrids.

PatternWhen to useExample
By workflow stepRequirement is a complete processCheckout → pick item / address / payment / confirm
By business-rule variantSame feature with multiple rule setsDiscount → fixed-amount / coupon / points / combined
By CRUD operationRequirement centers on one data objectAddress book → create / edit / delete / set default
By role perspectiveMulti-role featureOrder management → user view / merchant processing / ops dashboard
By complexity progressionFeature has simple and full versionsSearch → keyword / filters / suggestions / history

Selection principle: target ≤ 1 Sprint per Story. Hybrid requirements combine patterns.

Granularity calibration:

  • Stories < 3 → likely too coarse; check for hidden sub-flows
  • Stories > 20 → likely too fine, or this is multiple Epics; split Epics first
  • Single Story estimate > 8 points → too big; split further

Step 3 — Write each User Story + AC

### US-{N}: {Story title — verb-led, e.g. "Choose payment method"}

**Role:** As a {role}
**Action:** I want to {specific action}
**Value:** so that {business value}
**Priority:** P0 (must) / P1 (important) / P2 (nice-to-have)
**Story Points:** {estimate}

**Acceptance Criteria:**
- [ ] Given {precondition}, When {action}, Then {expected result}
- [ ] Given {exception precondition}, When {action}, Then {error handling}

**Dependencies:** {other Story IDs, or "none"}
**Tech notes:** {dev callouts, optional}

Story Point reference (Fibonacci):

PointsComplexityEffortTypical scope
1Trivial< 0.5 dayCopy change, config tweak, add an event
2Simple0.5-1 dayOne CRUD operation, form validation
3Medium1-2 daysA complete feature point with business logic
5Complex2-4 daysMulti-module interaction
8Big4-7 daysNew system / new flow core module
13Re-split> 1 weekMeans the Story is too big — must split

AC quality rules — every AC must satisfy:

  • Specific: Given clause has a concrete precondition ("user logged in AND balance ≥ 100"), not "user logged in"
  • Testable: Then clause has a verifiable result ("balance decreases by 100 AND order status = paid"), not "payment succeeds"
  • Edge coverage: every Story has ≥ 1 happy-path AC + ≥ 1 exception-path AC

Step 4 — INVEST validation

Run each Story against the six checks:

PrincipleCheckIf fails
IndependentDelete this Story — can the others still ship?Cyclic deps → merge or re-split
NegotiableDoes it describe "what" or "how"?Strip implementation detail, keep value
ValuableWill the user perceive value when this ships?Pure refactor → attach to a user-perceivable feature
EstimableCan the team agree on points within 5 minutes?Wide spread = unclear requirement; clarify first
SmallFits in one Sprint?Larger → split
TestableCan QA write test cases directly from the AC?Add concrete edge values and expected results

Definition of Ready (must hold before entering development):

CheckStandardIf unmet
AC complete≥ 1 happy + ≥ 1 exceptionFill ACs, then schedule
No blocking depsAll upstream Stories done or mockableTag "Blocked", push to a later Sprint
Designs readyUI Stories have design specsNo designs → tag "Needs design"
Estimation consensusSpread < 2×Re-discuss scope until agreed
Business rules confirmedAll [TBD] resolvedConfirm with PM/business, then dev

Dependency rules:

  • Data dependency: Story B needs data created by Story A → B depends on A
  • Interface dependency: Story B calls API provided by A → B depends on A
  • No dependency: Stories on different objects or different roles → parallel
  • Pseudo-dependency: looks dependent but mockable → tag "Mockable to decouple"

Step 5 — Output a Story Map

## Epic: {requirement name}

### Story Map (user journey → Story mapping)

| Journey stage | Stories | Priority | Points |
|---|---|---|---|
| {stage 1} | US-001, US-002 | P0 | 5 |
| {stage 2} | US-003, US-004 | P1 | 8 |

### Sprint planning
- **Sprint 1 (MVP):** {Story list}, total {X} points
- **Sprint 2:** {Story list}, total {X} points

### Dependencies
US-001 → US-003 → US-005 (must follow this order)
US-002, US-004 (parallel)

Quality bar

  1. Every Story passes all six INVEST checks
  2. AC uses Given-When-Then with ≥ 1 happy + ≥ 1 exception
  3. Dependencies tagged explicitly, with mockability flagged
  4. 13-point Stories must be re-split
  5. Story Map includes Sprint planning suggestion

When input is incomplete

  • One-sentence requirement → first output a feature outline, confirm scope, then split
  • Too large (> 20 Stories) → recommend splitting into Epics; agree on MVP scope first
  • Missing business rules → tag [business rule TBD] and propose plausible assumptions for confirmation

Related skills

  • /pm-prd — write a PRD first to lock scope, then break into Stories
  • /pm-prioritize — when there are many Stories, RICE-rank for Sprint priority

What ships with it: 3 files

466.6 KB alongside SKILL.md

assets/

Gives 1 of the 12 instructions most product spec skills give in ~1.6k tokens

Counted across 483 of the 502 authors here whose files we hold, read 2026-09-06

  • Write the PRD using the templatein 39 of 483, across 36 files
  • Ask one question at a timein 24 of 483
  • Write acceptance criteria in Given-When-Then formathere, and in 24 of 483
  • Write user stories with acceptance criteriain 22 of 483, across 21 files
  • Respect ADRs in areas you touchin 21 of 483, across 17 files
  • Use the domain glossary vocabulary throughout the PRDin 20 of 483, across 16 files
  • Explore the repo to understand the current codebasein 19 of 483, across 15 files
  • Provide testable acceptance criteriain 19 of 483, across 17 files
  • Publish the PRD to the issue trackerin 18 of 483, across 14 files
  • Apply the ready-for-agent triage labelin 15 of 483, across 13 files
  • Prefer existing seams over new onesin 14 of 483, across 12 files
  • Save the PRD as a markdown filein 14 of 483, across 9 files

Said here and by no other author read

  • Extract roles, core flow, business rules, and data entities
  • Pick a splitting pattern and combine them for hybrids
  • Keep each Story within one Sprint
  • Include one happy-path and one exception AC per Story
  • Tag dependencies explicitly and flag mockable ones
  • Output a Story Map with Sprint planning suggestion

Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.