Logo: User Story Re

User Story Re

Communautéit
jdm4pku
user-story-re

Write requirements-focused user stories with INVEST criteria and structured acceptance criteria. Use when capturing user needs in agile RE contexts where traceability and testability matter.

Iwwersiicht

Editeurjdm4pku
RepositoryRE-Skills
Skill-Nummuser-story-re
Stären
27
Forks
1
Matgeliwwert Dateien
2
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 2 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    jdm4pku huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill User Story Re an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/jdm4pku/RE-Skills/tree/main/skills/user-story-re
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jdm4pku/RE-Skills.git /tmp/RE-Skills
mkdir -p .claude/skills
cp -r /tmp/RE-Skills/skills/user-story-re .claude/skills/user-story-re
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert User Story Re an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet User Story Re automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass User Story Re net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Purpose

Create user stories that satisfy requirements engineering standards -- traceable, testable, prioritized expressions of user need. Each story follows the "As a / I want / So that" format with structured acceptance criteria, evaluated against the INVEST criteria. Use this in agile or hybrid environments where user stories serve as requirements artifacts.

This is not about replacing formal requirements with sticky notes. It is about writing user stories with enough rigor to serve as traceable, verifiable requirements while keeping the conversational, user-centered spirit of agile.

Key Concepts

User Story Format

As a [user class or persona],
I want to [action or capability],
So that [business value or outcome].

Every word earns its place:

  • As a -- Forces identification of a specific user class (not "as a user")
  • I want to -- Describes the capability from the user's perspective
  • So that -- Explains the business value (not a restatement of the action)

INVEST Criteria

Use this as a quality gate before accepting a story into a sprint:

CriterionQuestionRed Flag
IndependentCan this story be developed and delivered without depending on another story?"We can't do this until Story X is done"
NegotiableIs there room for discussion on implementation?Overly prescriptive implementation details
ValuableDoes it deliver value to a user or customer?"As a developer, I want to refactor..."
EstimableCan the team estimate the effort?"We have no idea how complex this is"
SmallCan it be completed in one sprint?Epic disguised as a story
TestableCan you write a test to verify it?"The system should be user-friendly"

Acceptance Criteria Formats

Given/When/Then (Gherkin):

Given [precondition],
When [action],
Then [expected result].

Checklist format:

- [ ] [Verifiable condition 1]
- [ ] [Verifiable condition 2]
- [ ] [Verifiable condition 3]

Rule-based:

Rule: [Business rule that must be satisfied]
Example: [Concrete example of the rule in action]

User Stories in the Requirements Hierarchy

Business Requirements (Vision and Scope)
  -> Epics (large user needs)
    -> User Stories (sprint-sized capabilities)
      -> Acceptance Criteria (testable conditions)
        -> Tasks (implementation work)

Anti-Patterns

  • Technical Stories -- "As a developer, I want to upgrade the database" (not user value)
  • Epic in Disguise -- One story covering 5+ capabilities
  • Vague Value -- "So that I can use the system" (restating the obvious)
  • No Acceptance Criteria -- Story with no way to verify completion

Application

Use template.md for the fill-in structure.

Step 1: Identify the User Class

Reference your stakeholder analysis (skills/stakeholder-analysis/SKILL.md). Use the specific user class name, not "user."

Good: "As a lab technician" Bad: "As a user"

Step 2: Write the Story Statement

Focus on the what (capability) and why (value), not the how (implementation).

Good: "I want to receive an alert when a chemical is about to expire, so that I can remove or replace it before it becomes a safety hazard." Bad: "I want the system to send an email with the subject ALERT and a red icon, so that I see the alert."

Step 3: Write Acceptance Criteria

For each story, write 3-7 acceptance criteria. Each criterion must be:

  • Specific -- Concrete condition, not vague
  • Testable -- A tester can verify pass/fail
  • Independent -- Each criterion stands alone
markdown
#### Acceptance Criteria:
- [ ] Alert is sent via email 30 days before chemical expiration
- [ ] Alert includes chemical name, CAS number, location, and expiration date
- [ ] Alert is sent to the lab technician assigned to the chemical's storage location
- [ ] If the technician has no email on file, alert is sent to the lab manager
- [ ] Alert is not sent for chemicals already marked as "Disposed"

Step 4: Add Requirements Attributes

For RE contexts, augment each story with:

  • Story ID -- Unique persistent identifier (US-001, US-002)
  • Priority -- High / Medium / Low (or MoSCoW)
  • Source -- Who requested this (stakeholder, user class, regulation)
  • Business Rule -- BR-IDs that govern this story
  • Traces to -- Business objective or feature in vision and scope
  • Status -- Proposed / Approved / Implemented / Verified

Step 5: Validate Against INVEST

Before accepting the story, check each INVEST criterion. If any fails, revise:

  • Not Independent? Identify the dependency and either remove it or sequence the stories.
  • Not Valuable? Rewrite to express user value, or reclassify as a technical task.
  • Not Small? Split using techniques: workflow steps, business rules, data variations, CRUD operations, or happy/sad paths.
  • Not Testable? Add specific, measurable acceptance criteria.

Examples

See examples/sample.md for complete examples.

Mini example:

markdown
### US-015: Expiration Alert for Lab Technician
**As a** lab technician,
**I want to** receive an email alert 30 days before a chemical expires,
**So that** I can arrange disposal or replacement before it becomes a
safety hazard.

**Acceptance Criteria:**
- [ ] Email sent 30 days before expiration date
- [ ] Email includes: chemical name, CAS number, location, expiration date
- [ ] Email sent to technician assigned to the storage location
- [ ] No alert for chemicals already marked "Disposed"
- [ ] Alert logged in system audit trail

**Priority:** High
**Source:** Lab Technician user class (Maria Santos)
**Business Rules:** BR-011
**Traces to:** BO-2 (Eliminate expired chemicals)

Common Pitfalls

Pitfall 1: Stories Without Acceptance Criteria

Symptom: "As a user, I want to search for chemicals." No criteria for what constitutes a successful search.

Consequence: Developer implements minimal search. Tester has no basis for testing. Arguments ensue.

Fix: Every story must have at least 3 acceptance criteria before entering a sprint.


Pitfall 2: "So That" Restates "I Want To"

Symptom: "I want to log in, so that I can access the system."

Consequence: No insight into why this matters. Does not help prioritize.

Fix: Dig into the real value: "so that I can check my experiment results without walking to the lab."


Pitfall 3: Too Big (Epic in Disguise)

Symptom: A single story with 15 acceptance criteria covering multiple capabilities.

Consequence: Cannot be completed in one sprint. Too complex to estimate.

Fix: Split by workflow step, business rule, data variation, or happy/sad path. Each resulting story should have 3-7 acceptance criteria.


Pitfall 4: No Traceability

Symptom: 200 user stories in a backlog with no link to business objectives.

Consequence: Cannot answer "why are we building this?" Cannot demonstrate coverage of business needs.

Fix: Add a "Traces to" attribute linking each story to a business objective or feature in the vision and scope document.

References

Related Skills

  • skills/stakeholder-analysis/SKILL.md -- User classes for the "As a" clause
  • skills/acceptance-criteria/SKILL.md -- Detailed guidance on writing acceptance criteria
  • skills/use-case/SKILL.md -- More detailed alternative for complex interactions
  • skills/vision-and-scope/SKILL.md -- Business objectives that stories trace to
  • skills/requirements-traceability/SKILL.md -- Maintaining story-to-objective traceability

External Frameworks

  • Mike Cohn, User Stories Applied (2004) -- Origin of the format
  • Bill Wake, "INVEST in Good Stories" (2003) -- The INVEST acronym
  • Karl Wiegers & Joy Beatty, Software Requirements, Third Edition (2013) -- Chapter 8

Skill type: Component Dependencies: References skills/stakeholder-analysis/SKILL.md, skills/vision-and-scope/SKILL.md Used by: skills/requirements-analysis-process/SKILL.md, skills/srs-document/SKILL.md

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill User Story Re?

Write requirements-focused user stories with INVEST criteria and structured acceptance criteria. Use when capturing user needs in agile RE contexts where traceability and testability matter.

Firwat User Story Re op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. User Story Re besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech User Story Re an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/jdm4pku/RE-Skills/tree/main/skills/user-story-re an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen User Story Re benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat User Story Re benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir User Story Re domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill User Story Re gratis?

jdm4pku huet de Skill op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇