user-story
Fungsinya
Skill ini menulis user story yang menyebutkan siapa yang diuntungkan, apa yang ingin mereka lakukan, dan mengapa, diikuti kriteria penerimaan dalam format yang bisa diuji. Skill ini cocok untuk product manager yang menyerahkan pekerjaan kepada tim pengembangan.
Kapan dipakai
- ✓Saat kebutuhan pengguna siap menjadi pekerjaan pengembangan dengan hasil yang jelas.
- ✓Saat engineer dan produk membutuhkan pemahaman bersama dan kondisi keberhasilan yang bisa diuji.
- ✓Saat Anda membutuhkan kriteria penerimaan yang mencakup kasus tepi sebelum pekerjaan dimulai.
Link skill
https://github.com/deanpeters/Product-Manager-Skills/blob/main/skills/user-story/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Tulis user story untuk reset kata sandi lewat SMS di aplikasi perbankan kami, dan sertakan kasus tepi penguncian akun.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill ini menanyakan siapa penggunanya dan apa yang ingin mereka capai, lalu menyusun story dalam bentuk sebagai pengguna, saya ingin sebuah tindakan, agar sebuah hasil, dengan kriteria penerimaan bergaya Gherkin.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum
Apakah user story adalah spesifikasi fitur?
Tidak. Ini adalah pemicu percakapan yang menangkap siapa yang diuntungkan, apa yang mereka butuhkan, mengapa itu penting, dan bagaimana Anda tahu hal itu berhasil.
Bisakah saya menyebutkan kasus tepi?
Bisa. Kasus tepi yang Anda sebutkan, seperti penguncian akun, dicakup dalam kriteria penerimaan.
Bagaimana jika saya belum tahu penggunanya?
Skill menanyakan siapa penggunanya sebelum menyusun draf, sehingga Anda bisa menjawab itu lebih dulu.
Detail
Deskripsi asli dari pembuat
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.
Popularitas
- Bintang GitHub
- 7.8k
- Peringkat
- #12822
- Lisensi
- —
- Diperbarui
- 15/10/2026
Komentar
- …
Skill lain dari repositori ini
acquisition-channel-advisor
7.8kMembantu agent Anda menilai apakah sebuah saluran pemasaran layak diskalakan, diuji, atau dihentikan, dengan memakai biaya akuisisi pelanggan, nilai seumur hidup, dan waktu pengembalian modal.
agent-orchestration-advisor
7.8kMembantu agent Anda merencanakan tugas produk yang kompleks sebagai beberapa agen AI khusus yang bekerja paralel, dengan serah terima yang jelas dan pemantauan.
ai-shaped-readiness-advisor
7.8kMembantu agent Anda memeriksa apakah tim produk Anda hanya memakai AI untuk mempercepat tugas lama, atau sudah merancang ulang pekerjaannya di sekitar AI, dan apa yang harus dibangun berikutnya.
altitude-horizon-framework
7.8kMenjelaskan pergeseran dari product manager ke direktur melalui dua gagasan, yaitu altitude dan horizon, dan membantu Anda menemukan dari mana gesekan Anda berasal.
Skill serupa
knowledge-capture
394kMengajari agent Anda menyimpan keputusan, preferensi, dan fakta penting ke Knowledge vault sebagai catatan singkat dengan atribusi sumber.
knowledge-claim-consolidation
394kMembantu agent Anda merapikan Knowledge vault dengan menggabungkan klaim duplikat, memindahkannya ke halaman subjek yang tepat, dan menonaktifkan klaim yang sudah usang.
knowledge-correct
394kMemungkinkan agent Anda memperbaiki atau menarik kembali klaim atau halaman Knowledge tertentu atas permintaan Anda, dengan menyimpan catatan perubahan.