agentleFS
hamzafarooqhamzafarooq/claude-code-starter/.claude/skills/user-story-writer/SKILL.md

user-story-writer

Skill145 starsChanged 7 months agoMITView on GitHub

Converts feature ideas or rough bullets into user stories with acceptance criteria. Use when asked to write user stories or break down a feature.

4 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    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:

    Use this exact format for each story:

    line 20
  2. Distinctive:

    After the stories, add:

    line 38
  3. Distinctive:

    Write the stories directly without preamble or explanation

    line 64
  4. Distinctive:

    Keep language simple enough for a non-technical stakeholder to read

    line 65
  5. Distinctive:

    If the feature seems too large for one sprint, say so and suggest how to split it

    line 67
  6. Very specific:

    After delivering the stories, ask: "Want me to add these to docs/prd.md?"

    line 68

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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

What this skill does

Take a feature description — it can be rough, even a single bullet point — and produce:

  1. Primary user story — the one main story that captures the core value
  2. Supporting user stories — 2-4 sub-stories for the key flows
  3. Acceptance criteria for each story in Given/When/Then format
  4. Edge cases to consider — 3-5 scenarios the team should discuss before building
  5. Open questions — what needs to be answered before sprint planning

Story format

Use this exact format for each story:

**Story [N]:** As a [user type], I want to [do something] so that [I get this value].

**Acceptance Criteria:**
- Given [starting context], when [user takes this action], then [this result happens]
- Given [starting context], when [user takes this action], then [this result happens]
- Given [starting context], when [user takes this action], then [this result happens]

**Priority:** Must-have / Should-have / Nice-to-have
**Effort:** Small (< 1 day) / Medium (2-3 days) / Large (1 week+)

Edge cases section

After the stories, add:

## Edge Cases to Discuss
- [Scenario 1: e.g. "What happens if the user has no data yet?"]
- [Scenario 2: e.g. "What if the export fails mid-way?"]
- [Scenario 3: e.g. "How does this behave on mobile?"]

Open questions section

End with:

## Questions for the Team
1. [Question about scope, ownership, or a missing decision]
2. [Question about a dependency or integration]
3. [Question about edge cases that need a product decision]

How to respond

  • Write the stories directly without preamble or explanation
  • Keep language simple enough for a non-technical stakeholder to read
  • Mark stories with unclear scope as [NEEDS CLARIFICATION]
  • If the feature seems too large for one sprint, say so and suggest how to split it
  • After delivering the stories, ask: "Want me to add these to docs/prd.md?"

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.