agentleFS
quochuydevquochuydev/kit/skills/write-user-story/SKILL.md

write-user-story

Skill0 starsChanged 8 months agoMITView on GitHub

Use when the user wants to write, add, or draft user stories for features, epics, or requirements. Triggers on requests to create user stories, acceptance criteria, or feature specifications.

3 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions3 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 3

    1. testomatio/skills★ 19same name
    2. EnigmaWU/MyCodeAgentSkills★ 4same name
    3. MarieLynneBlock/arcanum-artifex★ 4same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository8 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 4

    Distinctive

    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:

    Role: Use specific roles (e.g., "new patient", "returning patient", "administrator", "system operator", "content creator"), not generic …

    line 31
  2. Distinctive:

    When writing multiple stories, group them under epics:

    line 43
  3. Distinctive:

    When adding to an existing document, continue from the last used number.

    line 54
  4. Distinctive:

    Before finishing, verify each story has:

    line 58
  5. Very specific:

    Write user stories to docs/user-stories.mdx.

    line 69

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “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

Write User Story

Generate user stories following the project's established format.

Structure

Each user story MUST follow this exact structure:

### US {epic}.{number}: {Title}

**As a {role}**, I want to {action}, {so that benefit}.

**Acceptance Criteria:**

- {Criterion 1}
- {Criterion 2}
- ...

Separate each user story with a horizontal rule (---).

Rules

  • Role: Use specific roles (e.g., "new patient", "returning patient", "administrator", "system operator", "content creator"), not generic "user"
  • Action: State what the user wants to do — one clear action per story
  • Benefit: State why — the value or outcome the user gains
  • Acceptance Criteria: Concrete, testable, and specific
    • Include measurable thresholds (e.g., "within 2 seconds", "max 5 items", "min. 10 characters")
    • Include API behavior where applicable (endpoints, error handling, retry logic)
    • Include GDPR/privacy requirements where personal data is involved
    • Include error/edge case handling (fallbacks, rate limits, timeouts)
    • Include UI behavior specifics (what is visible, when, where)

Epic Grouping

When writing multiple stories, group them under epics:

## {number} Epic: {Epic Name}

Numbering

  • Epics: 1.1, 1.2, 1.3, ...
  • Stories within an epic: US 1.1.1, US 1.1.2, ...

When adding to an existing document, continue from the last used number.

Quality Checklist

Before finishing, verify each story has:

  • A specific user role (not "user")
  • One clear action per story
  • A stated benefit
  • 3-6 acceptance criteria that are testable and measurable
  • Error handling / edge cases addressed
  • Privacy (GDPR) considerations if personal data is involved

Output

Write user stories to docs/user-stories.mdx. If the file exists, append new stories. If creating a new epic, add it after the last epic and before the Summary section.

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.

Reviews can't be read right now.

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.