Writing prompts · Prompt
Write user stories (prompt)
write-user-stories-prompt
A prompt that turns one feature idea into a few backlog stories, each with a role, a goal, a reason, and checkable acceptance bullets a developer or tester can verify. Use when the user wants user stories, acceptance criteria, or a story written from a feature idea.
Works with: Any AI Not yet model-tested; testing Jan 2027
Paste it into ChatGPT, Claude, Gemini or any AI chat, then tell it about your project. How it works
Install in Claude Code, Cursor or Codex (optional)
Only for AI coding tools that read skill folders. Run one line in a terminal, in your project folder. It downloads this skill's text files from TheSkillVault and nothing else; you can read them first with “View raw SKILL.md”.
Claude Code (all your projects)
curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/write-user-stories-prompt/raw' -o ~/'.claude/skills/write-user-stories-prompt/SKILL.md' && curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/write-user-stories-prompt/files/LICENSE.txt' -o ~/'.claude/skills/write-user-stories-prompt/LICENSE.txt'Cursor (this project)
curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/write-user-stories-prompt/raw' -o '.cursor/skills/write-user-stories-prompt/SKILL.md' && curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/write-user-stories-prompt/files/LICENSE.txt' -o '.cursor/skills/write-user-stories-prompt/LICENSE.txt'Codex and other Agent Skills tools (this project)
curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/write-user-stories-prompt/raw' -o '.agents/skills/write-user-stories-prompt/SKILL.md' && curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/write-user-stories-prompt/files/LICENSE.txt' -o '.agents/skills/write-user-stories-prompt/LICENSE.txt'
Or connect the whole library over MCP
Add TheSkillVault to Cursor or add this to your app's MCP settings (read-only; help):
{
"mcpServers": {
"theskillvault": {
"url": "https://theskillvault.ai/mcp"
}
}
}A user story says who needs something, what they need, and how you will know it works. This prompt writes only those stories. It does not write a full product plan.
When to use
- You have one feature and need backlog stories.
- A developer or tester asked for acceptance criteria.
- You want the story in the usual "as a / I want / so that" shape.
When not to use
- You need users, scope, a data model and an MVP plan. Use write-prd-prompt.
- You already talked it through and want the whole spec. Use turn-chat-into-spec-prompt.
Steps
- Write the feature in a few sentences. Name the person who uses it.
- Paste it into the prompt below.
- Cut any story that is really a second feature.
- Check that each acceptance bullet can be tested.
Prompt
Write user stories for this feature. Audience: {{WHO USES IT}}. Constraint: {{WHAT MUST STAY TRUE}}.
For each story use only this shape:
Description
- As a <role>
- I want <goal>
- So that <reason>
Acceptance criteria
- Bullets a developer or a tester can check. One behaviour per bullet.
- Include the failure case when it matters, such as empty input, no permission, or the outside system is down.
Rules:
- Three to six stories. Split a story that needs more than one change.
- Plain words. No slogans.
- Do not invent a database, a vendor or a screen that I did not mention.
- If the change affects a live system, add one line on who to tell before it ships.
End with a one-line list of what is out of this feature.
FEATURE:
{{FEATURE}}
How to adapt
- One story only? Say "write a single story".
- Your team uses Given/When/Then? Ask for that shape under the acceptance criteria.
Gotchas
- Do not paste private customer records, passwords or live credentials into the feature text.
- A long bullet list is a design in disguise. Split it.
Portability
Works with any chat AI and any issue tracker. No tool lock-in.
Done when
- Each story has a role, a goal, a reason and testable bullets.
- You could hand the stories to someone who was not in the room.
Example prompt
"Write user stories for letting a project admin invite a teammate by email and choose a role. The invite expires after seven days."
---
Converted from the "create_user_story" pattern in danielmiessler/Fabric (MIT, Copyright (c) 2012-2024 Scott Chacon and others). See LICENSE.txt.
Bundled files
Licence
Adapted from Daniel Miessler and Fabric contributors (create_user_story pattern) (Copyright (c) 2012-2024 Scott Chacon and others), MIT License. Converted by TheSkillVault into a fill-in prompt: kept the role-goal-reason shape and testable acceptance bullets, dropped the vendor-specific sample story, added a failure-case bullet, an out-of-scope line, steps and done-when.
Licence: MIT License. Attribution when you reuse it: Based on work by Daniel Miessler and Fabric contributors (create_user_story pattern) (Copyright (c) 2012-2024 Scott Chacon and others, MIT License), https://github.com/danielmiessler/Fabric/blob/8ce0909d8622a61b6aaf539d467ba31bb7e0b6dd/data/patterns/create_user_story/system.md; adapted by TheSkillVault, https://theskillvault.ai