agentleFS
product-on-purposeproduct-on-purpose/pm-skills/skills/deliver-user-stories/SKILL.md

deliver-user-stories

Skill777 starsChanged 10 months agoApache-2.0View on GitHub

Generates user stories in the standard persona, action, benefit story format from product requirements or feature descriptions. Use when breaking a feature into stories for sprint planning, writing tickets, or communicating scope to engineering. For testable Given/When/Then acceptance criteria on a story, use deliver-acceptance-criteria; for boundary and failure scenarios, use deliver-edge-cases.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 6 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    After PRD approval, when breaking down features for implementation

    line 20
  2. Distinctive:

    When writing tickets for engineering teams

    line 22
  3. Distinctive:

    When communicating requirements to stakeholders in accessible terms

    line 23
  4. Distinctive:

    When prioritizing a backlog based on user value

    line 24
  5. Distinctive:

    When asked to create user stories, follow these steps:

    line 35
  6. Distinctive:

    Use the format: "As a [persona], I want [action] so that [benefit]." The benefit clause is critical - it explains why this matters and …

    line 47
  7. Very specific:

    Write specific, testable criteria using Given/When/Then format.

    line 50

≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md
<!-- PM-Skills | https://github.com/product-on-purpose/pm-skills | Apache 2.0 -->

User Stories

User stories are concise descriptions of functionality from the user's perspective. They capture who needs something, what they need, and why - without prescribing how to build it. Good user stories enable teams to break large features into estimable, deliverable increments while maintaining focus on user value.

When to Use

  • After PRD approval, when breaking down features for implementation
  • During sprint planning to create actionable work items
  • When writing tickets for engineering teams
  • When communicating requirements to stakeholders in accessible terms
  • When prioritizing a backlog based on user value

When NOT to Use

  • You need deeper, QA-ready Given/When/Then coverage for a single story or slice -> use deliver-acceptance-criteria
  • You need the feature-wide catalog of boundary conditions and failure scenarios -> use deliver-edge-cases
  • The feature itself is not yet specified -> use deliver-prd first; stories should trace back to documented requirements
  • You want refinement-session outcomes (estimates, scope decisions, open questions) -> use iterate-refinement-notes

Instructions

When asked to create user stories, follow these steps:

  1. Understand the Feature Context Review the PRD or feature description. Understand the overall goal, target users, and scope boundaries. User stories should trace back to documented requirements.
  2. Identify User Personas Determine which users interact with this feature. Each story should be written for a specific persona, not generic "users." Different personas may need different stories for the same feature.
  3. Break Down by User Goal Decompose the feature into distinct user goals. Each story should deliver a complete, valuable capability - something the user can actually do when the story is done.
  4. Write Story Statements Use the format: "As a [persona], I want [action] so that [benefit]." The benefit clause is critical - it explains why this matters and helps prioritize.
  5. Define Acceptance Criteria Write specific, testable criteria using Given/When/Then format. Acceptance criteria define "done" - if all criteria pass, the story is complete.
  6. Apply INVEST Criteria Validate each story against INVEST: Independent, Negotiable, Valuable, Estimable, Small, Testable. Revise stories that don't meet these criteria.
  7. Add Context and Notes Include relevant design references, technical considerations, and dependencies. These help implementers understand the full picture.

Output Format

Use the template in references/TEMPLATE.md to structure the output. A complete output carries, per story: Story Header; User Story Statement; Context & Background; Acceptance Criteria; Design Notes; Technical Notes; Dependencies; Out of Scope; and Open Questions where any remain. Multi-story documents nest these sections under one heading per story, as the example shows.

Quality Checklist

Before finalizing, verify:

  • Each story follows "As a... I want... so that..." format
  • Stories are independent (can be built in any order)
  • Acceptance criteria use Given/When/Then format
  • Each criterion is testable (someone can verify pass/fail)
  • Stories are small enough to complete in one sprint
  • No implementation details in the story statement
  • Benefit clause explains why this matters to the user

Examples

See references/EXAMPLE.md for a completed example.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.