deliver-user-stories — скилл для Claude Code: юзер-стори из требований
Разбивает описание фичи или PRD на юзер-стори в формате «как <роль>, я хочу <действие>, чтобы <выгода>» — с критериями приёмки и проверкой по INVEST.
npx skills add product-on-purpose/pm-skills --skill deliver-user-stories -a claude-codeЧто делает deliver-user-stories
Скилл берёт требования или описание фичи и раскладывает их на отдельные истории. Сначала он смотрит на контекст: цель фичи, целевых пользователей, границы объёма. Потом выделяет персоны — не абстрактных «пользователей», а конкретные роли, потому что для одной и той же фичи у разных ролей получаются разные истории.
Дальше фича делится по целям пользователя, и каждая история пишется по шаблону «As a… I want… so that…». Критерии приёмки идут в формате Given/When/Then, а готовые истории прогоняются через INVEST: независимость, ценность, оцениваемость, размер под один спринт, тестируемость. В выводе на каждую историю есть заголовок, сама формулировка, контекст, критерии, заметки по дизайну и технике, зависимости и то, что осталось за рамками. Структура задана в references/TEMPLATE.md, пример готового документа — в references/EXAMPLE.md.
Скилл не заменяет PRD: если фича ещё не описана, истории будет не к чему привязать, поэтому сначала нужен документ с требованиями. Для глубокого покрытия одной истории по Given/When/Then есть отдельный скилл deliver-acceptance-criteria, а для граничных и отказных сценариев по всей фиче — deliver-edge-cases. Ставить этот скилл имеет смысл, когда требования уже зафиксированы, а на руках нужен бэклог для планирования спринта.
Какие задачи решает
- разбить одобренный PRD на истории для спринта
- сформулировать требования к фиче так, чтобы их понял инженер
- написать тикеты с критериями приёмки в Given/When/Then
- проверить историю на INVEST перед оценкой
- разложить одну фичу по разным ролям пользователей
Примеры запросов агенту
- разбей эту фичу на юзер-стори для планирования спринта
- напиши истории из PRD в
docs/prd.mdс критериями приёмки - сделай бэклог по этой фиче и проверь каждую историю на INVEST
Как установить deliver-user-stories
1Через Skills CLI (Vercel)
npx skills add product-on-purpose/pm-skills --skill deliver-user-stories -a claude-code2Вручную: положить файлы
~/.claude/skills/deliver-user-stories/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/deliver-user-stories/
1Через Skills CLI (Vercel)
npx skills add product-on-purpose/pm-skills --skill deliver-user-stories -a codex2Вручную: положить файлы
.agents/skills/deliver-user-stories/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add product-on-purpose/pm-skills --skill deliver-user-stories -a cursor2Вручную: положить файлы
.cursor/skills/deliver-user-stories/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install product-on-purpose/pm-skills deliver-user-stories2Вручную: положить файлы
.github/skills/deliver-user-stories/SKILL.md1Через Skills CLI (Vercel)
npx skills add product-on-purpose/pm-skills --skill deliver-user-stories -a gemini-cli2Командой платформы
gemini skills install https://github.com/product-on-purpose/pm-skills --path skills/deliver-user-storiesВручную: положить файлы
.devin/skills/deliver-user-stories/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add product-on-purpose/pm-skills --skill deliver-user-stories -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о deliver-user-stories
Как установить deliver-user-stories в Claude?
Через skills CLI: npx skills add product-on-purpose/pm-skills --skill deliver-user-stories -a claude-code. После этого файл скилла лежит в ~/.claude/skills/deliver-user-stories/SKILL.md.
Что делает deliver-user-stories?
Превращает требования или описание фичи в юзер-стори формата «как <роль>, я хочу <действие>, чтобы <выгода>». К каждой истории добавляются критерии приёмки, контекст, зависимости и открытые вопросы.
Чем он отличается от deliver-acceptance-criteria и deliver-edge-cases?
Этот скилл пишет сами истории. deliver-acceptance-criteria даёт более глубокое покрытие Given/When/Then для одной истории, а deliver-edge-cases собирает граничные и отказные сценарии по всей фиче.
Исходный текст
SKILL.md · Apache-2.0
--- name: deliver-user-stories description: Generates user stories in the standard persona, action, benefit story format from product requirements or feature descriptions. Use when breaking a feature into stories for sprint planning, writing tickets, or communicating scope to engineering. For testable Given/When/Then acceptance criteria on a story, use deliver-acceptance-criteria; for boundary and failure scenarios, use deliver-edge-cases. license: Apache-2.0 metadata: phase: deliver version: "2.1.0" updated: 2026-06-10 category: specification frameworks: [triple-diamond, lean-startup, design-thinking] author: product-on-purpose --- <!-- PM-Skills | https://github.com/product-on-purpose/pm-skills | Apache 2.0 --> # User Stories User stories are concise descriptions of functionality from the user's perspective. They capture who needs something, what they need, and why - without prescribing how to build it. Good user stories enable teams to break large features into estimable, deliverable increments while maintaining focus on user value. ## When to Use - After PRD approval, when breaking down features for implementation - During sprint planning to create actionable work items - When writing tickets for engineering teams - When communicating requirements to stakeholders in accessible terms - When prioritizing a backlog based on user value ## When NOT to Use - You need deeper, QA-ready Given/When/Then coverage for a single story or slice -> use `deliver-acceptance-criteria` - You need the feature-wide catalog of boundary conditions and failure scenarios -> use `deliver-edge-cases` - The feature itself is not yet specified -> use `deliver-prd` first; stories should trace back to documented requirements - You want refinement-session outcomes (estimates, scope decisions, open questions) -> use `iterate-refinement-notes` ## Instructions When asked to create user stories, follow these steps: 1. **Understand the Feature Context** Review the PRD or feature description. Understand the overall goal, target users, and scope boundaries. User stories should trace back to documented requirements. 2. **Identify User Personas** Determine which users interact with this feature. Each story should be written for a specific persona, not generic "users." Different personas may need different stories for the same feature. 3. **Break Down by User Goal** Decompose the feature into distinct user goals. Each story should deliver a complete, valuable capability - something the user can actually do when the story is done. 4. **Write Story Statements** Use the format: "As a [persona], I want [action] so that [benefit]." The benefit clause is critical - it explains why this matters and helps prioritize. 5. **Define Acceptance Criteria** Write specific, testable criteria using Given/When/Then format. Acceptance criteria define "done" - if all criteria pass, the story is complete. 6. **Apply INVEST Criteria** Validate each story against INVEST: Independent, Negotiable, Valuable, Estimable, Small, Testable. Revise stories that don't meet these criteria. 7. **Add Context and Notes** Include relevant design references, technical considerations, and dependencies. These help implementers understand the full picture. ## Output Format Use the template in `references/TEMPLATE.md` to structure the output. A complete output carries, per story: Story Header; User Story Statement; Context & Background; Acceptance Criteria; Design Notes; Technical Notes; Dependencies; Out of Scope; and Open Questions where any remain. Multi-story documents nest these sections under one heading per story, as the example shows. ## Quality Checklist Before finalizing, verify: - [ ] Each story follows "As a... I want... so that..." format - [ ] Stories are independent (can be built in any order) - [ ] Acceptance criteria use Given/When/Then format - [ ] Each criterion is testable (someone can verify pass/fail) - [ ] Stories are small enough to complete in one sprint - [ ] No implementation details in the story statement - [ ] Benefit clause explains why this matters to the user ## Examples See `references/EXAMPLE.md` for a completed example.
© product-on-purpose · Apache-2.0 · product-on-purpose/pm-skills