Logo van User Story Re

User Story Re

Community
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.

Overzicht

Uitgeverjdm4pku
RepositoryRE-Skills
Skillnaamuser-story-re
Sterren
27
Forks
1
Meegeleverde bestanden
2
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Meegeleverde bestanden: 2

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. De bestanden kunnen alleen worden gelezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door jdm4pku op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill User Story Re in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/jdm4pku/RE-Skills/tree/main/skills/user-story-re
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die 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 na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel User Story Re in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt User Story Re automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is User Story Re niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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

Meegeleverde bestanden

Zolang de skill geladen is, leest het model deze bestanden als dat nodig is. Het model kan ze alleen lezen; ze worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-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.

Waarom User Story Re gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. User Story Re bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik User Story Re in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/jdm4pku/RE-Skills/tree/main/skills/user-story-re. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen User Story Re gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met User Story Re gebruiken?

Zoveel als je wilt. Je kunt User Story Re gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill User Story Re gratis?

Deze skill is door jdm4pku op GitHub gepubliceerd. Bekijk de repository voor de licentievoorwaarden. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇