Sw user story creator
Skill chfle/lehnert-claude-skills/skills/sw-user-story-creator
Use when user wants to create user stories, acceptance criteria, or a requirements document from a software idea, vision.md, or sw-idea-analyzer output – generates a complete structured requirements/user-stories.md file.From its SKILL.md
npx -y skills add chfle/lehnert-claude-skills --skill sw-user-story-creatorAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
4.1 KB, as published. Nobody here has run it
SW User Story Creator
Overview
Reads requirements/vision.md (generated by sw-idea-analyzer) and produces a complete, professional user story document at requirements/user-stories.md. Operates silently – no file content is shown in the chat.
Language detection: Read the user's input language and respond entirely in that language. Default to German if undetectable.
Required Input – Check in Order
-
requirements/vision.mdexists → read it, extract idea title, target audience, core features, and risks. Use as the primary source. -
requirements/vision.mdmissing, user provided description → use the description as input. -
requirements/vision.mdmissing, no input given → stop and respond:requirements/vision.mdnot found. Run/sw-idea-analyzerfirst to generate it, or provide your idea directly:/sw-user-story-creator <your description>
User Story Format
Every story follows this exact structure:
### US-XXX: <Short Title>
**As a** [role], **I want** [goal] **so that** [benefit].
**Priority:** MVP | Nice-to-have
**Acceptance Criteria:**
- [ ] Criterion 1
- [ ] Criterion 2
- [ ] Criterion 3
Rules:
- Role = specific user type from the target audience (not "user" generically)
- Goal = concrete action, not a vague wish
- Benefit = measurable or observable outcome
- Each story gets 3–5 acceptance criteria minimum
- MVP = required for the first working version; Nice-to-have = can be deferred
- IDs start at
US-001and increment sequentially across the entire document (never reset per epic) - If
requirements/user-stories.mdalready exists: read the entire file, find the highestUS-XXXID, continue from the next number, and append new epics/stories to the end — never modify existing content
Epics
Group stories into epics derived from the core feature areas in the input. Name each epic after the feature cluster it represents.
Example epics for a task manager:
- Epic: Authentication & Onboarding
- Epic: Task Management
- Epic: Notifications
- Epic: Settings & Profile
Generate at least one story per core MVP feature. Add 1–2 Nice-to-have stories per epic.
Output Rules
- Never output the file content in the chat. All content goes to the file only.
- Do not show any user stories, acceptance criteria, or Markdown in the chat response.
- The only chat output allowed is the two confirmation lines at the end.
- Use the user's language throughout the file content.
- Never truncate – include every story, every acceptance criterion in the file.
File Output
After generating all stories, write to requirements/user-stories.md in the repository root.
Steps:
- If
requirements/does not exist:mkdir -p requirements - Write the complete document to
requirements/user-stories.md - Print only these two lines to the chat – nothing else:
✅ File created:
requirements/user-stories.mdOpen it in your editor or commit it.
One optional sentence max summarizing what was generated (e.g. "Generated 12 user stories across 4 epics."). No code blocks, no Markdown content, no full output.
requirements/user-stories.md structure:
# User Stories: <Project Title>
> Generated: <YYYY-MM-DD>
---
## Epic: <Epic Name>
### US-001: <Title>
**As a** [role], **I want** [goal] **so that** [benefit].
**Priority:** MVP
**Acceptance Criteria:**
- [ ] ...
- [ ] ...
- [ ] ...
---
### US-002: <Title>
...
Next Skill
▶ Next steps:
- Run
/sw-use-case-creatorto expand user stories into detailed use cases with actor flows and exceptions- Run
/sw-tech-stack-plannerto select the tech stack and generaterequirements/tech-stack.yaml- Optionally run
/sw-diagram-creatorto visualize the architecture