user-story
できること
このスキルは、誰が恩恵を受けるか、何をしたいか、なぜそれが必要かを書いたユーザーストーリーを作り、その後に検証可能な形式の受け入れ基準を付けます。作業を開発チームに渡すプロダクトマネージャー向けです。
使う場面
- ✓利用者のニーズが、明確な成果を伴う開発作業になる準備ができたとき。
- ✓エンジニアとプロダクトで共通の理解と、検証可能な成功条件が必要なとき。
- ✓作業を始める前に、エッジケースを含む受け入れ基準が必要なとき。
スキルのリンク
https://github.com/deanpeters/Product-Manager-Skills/blob/main/skills/user-story/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“当社の銀行アプリで、SMSによるパスワード再設定のユーザーストーリーを書いてください。アカウントロックのエッジケースも含めてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
ユーザーが誰で、何を達成したいのかを尋ねます。そのうえで、「〜として、〜したい。それによって〜できる」という形式のストーリーと、Gherkin形式の受け入れ基準を作成します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Purpose
Create clear, concise user stories that combine Mike Cohn's user story format with Gherkin-style acceptance criteria. Use this to translate user needs into actionable development work that focuses on outcomes, ensures shared understanding between product and engineering, and provides testable success criteria.
This is not a feature spec—it's a conversation starter that captures who benefits, what they're trying to do, why it matters, and how you'll know it works.
Input
Works best with: The feature or user need the story captures. Also useful: The user role, the outcome they want, and edge cases the acceptance criteria must cover.
Anything supplied with the invocation itself — text after the skill name, a pasted context dump, or an appended ARGUMENTS: line — counts as answers already given. Use it and skip whatever it covers; don't re-ask.
Arriving empty-handed? That works too. The skill asks who the user is and what they're trying to accomplish before drafting story and Gherkin criteria.
Example invocation: Write user stories for password reset via SMS for our banking app — include the lockout edge case.
Key Concepts
The Mike Cohn + Gherkin Format
A user story combines:
Use Case (Mike Cohn format):
- As a [user persona/role]
- I want to [action to achieve outcome]
- so that [desired outcome]
Acceptance Criteria (Gherkin format):
- Scenario: [Brief description of the scenario]
- Given: [Initial context or preconditions]
- and Given: [Additional preconditions]
- When: [Event that triggers the action]
- Then: [Expected outcome]
Why This Structure Works
- User-centric: Forces focus on who benefits and why
- Outcome-focused: "So that" emphasizes the value delivered, not just the action
- Testable: Gherkin acceptance criteria are concrete and verifiable
- Conversational: Story is the opening for discussion, not the final spec
- Shared language: Product, engineering, and QA all understand the format
Anti-Patterns (What This Is NOT)
- Not a task: "As a developer, I want to refactor the database" (this is a tech task, not user value)
- Not a feature list: "I want dashboards, reports, and analytics" (this is too big—needs splitting)
- Not vague: "I want a better experience" (unmeasurable, no clear outcome)
- Not a contract: Stories are placeholders for conversation, not locked-in specs
When to Use This
- Translating user needs into development work
- Backlog grooming and sprint planning
- Communicating value to engineering and design
- Ensuring testable acceptance criteria exist before development
When NOT to Use This
- For pure technical debt or refactoring (use engineering tasks instead)
- When stories are too large (split first—see
skills/user-story-splitting/SKILL.md) - Before understanding the user problem (write a problem statement first)
Application
Step 1: Gather Context
Before writing a story, ensure you have:
- User persona: Who is this for? (reference
skills/proto-persona/SKILL.md) - Problem understanding: What need does this address? (reference
skills/problem-statement/SKILL.md) - Desired outcome: What does success look like?
- Constraints: Technical, time, or scope limitations
If missing context: Run discovery interviews or problem validation work first.
Optional Helper Script (Template Generator)
If you want a consistent Markdown stub, you can generate one from CLI inputs. This script is deterministic and does not fetch data or write files.
python3 scripts/user-story-template.py --persona \"trial user\" --action \"log in with Google\" --outcome \"access the app without creating a new password\"
Step 2: Write the Use Case
Use template.md for the full fill-in structure.
Fill in the template:
### User Story [ID]:
- **Summary:** [Brief, memorable title focused on value to the user]
#### Use Case:
- **As a** [user name if available, otherwise persona, otherwise role]
- **I want to** [action user takes to get to outcome]
- **so that** [desired outcome]
Quality checks:
- "As a" specificity: Is this a specific persona (e.g., "trial user") or generic ("user")?
- "I want to" clarity: Is this an action the user takes, or a feature you're building?
- "So that" outcome: Does this explain the user's motivation? Or is it just restating the action?
**Common mista
よくある質問
ユーザーストーリーは機能仕様書ですか?
いいえ。誰が恩恵を受け、何を必要とし、なぜ重要で、どう動けば成功と言えるかを捉える、議論のきっかけです。
エッジケースを挙げられますか?
はい。アカウントロックなど挙げたエッジケースは、受け入れ基準に含められます。
まだ利用者が決まっていない場合は?
スキルは、草案を作る前に利用者が誰かを尋ねるので、先にそれに答えられます。
詳細
作者による元の説明
Create user stories with Mike Cohn format and Gherkin acceptance criteria. Use when turning user needs into development-ready work with clear outcomes and testable conditions.
人気
- GitHubのスター
- 7.8k
- ランキング
- #12822
- ライセンス
- —
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
acquisition-channel-advisor
7.8kエージェントが、顧客獲得コスト、顧客生涯価値、回収期間を使って、マーケティングのチャネルを拡大すべきか、テストすべきか、止めるべきかを判断できるよう支援します。
agent-orchestration-advisor
7.8kエージェントが、複雑なプロダクトのタスクを、明確な引き継ぎと監視を伴って並行して動く、複数の専門のAIエージェントに分けて計画できるよう支援します。
ai-shaped-readiness-advisor
7.8kエージェントが、プロダクトチームがAIを既存の作業の高速化に使うだけか、それともAIを中心に仕事を組み直しているかを確認し、次に何を作るべきかを判断できるよう支援します。
altitude-horizon-framework
7.8k高度と地平線という2つの考え方を通して、プロダクトマネージャーからディレクターへの移行を説明し、摩擦がどこから来ているかを見つける手助けをします。