user-stories — скилл для Claude Code: что делает и как установить
Скилл превращает описание фичи в независимые пользовательские истории с дизайном и критериями приёмки. Пригодится для подготовки бэклога.
npx skills add phuryn/pm-skills --skill user-stories -a claude-codeЧто делает user-stories
Скилл разбивает новую фичу на пользовательские истории: определяет роли и отдельные пользовательские пути, затем оформляет каждую историю через 3 C's — Card, Conversation и Confirmation. В результате есть заголовок, описание от лица пользователя, ссылка на дизайн и проверяемые критерии приёмки.
При подготовке историй скилл применяет INVEST: Independent, Negotiable, Valuable, Estimable, Small и Testable. Он просит использовать простой язык, учитывать переданный контекст и связывать результат с файлами дизайна. Для работы можно передать название продукта или системы, фичу, ссылку на дизайн и ключевые предположения.
Это повод заранее подготовить ссылку на макеты и контекст: без них часть описания будет опираться только на саму фичу.
Какие задачи решает
- разбить фичу на отдельные пользовательские истории
- описать задачи от лица нужных ролей
- добавить ссылку на дизайн к каждой истории
- сформулировать проверяемые критерии приёмки
- проверить истории по критериям INVEST
Примеры запросов агенту
- Используй `user-stories`, чтобы разбить фичу `$FEATURE` для `$PRODUCT` на независимые истории.
- Создай пользовательские истории для `$FEATURE`, учти ссылку `$DESIGN` и предположения `$ASSUMPTIONS`.
- Оформи истории для этой фичи по 3 C's и INVEST, добавь описания и критерии приёмки.
Как установить user-stories
1Через Skills CLI (Vercel)
npx skills add phuryn/pm-skills --skill user-stories -a claude-code2Вручную: положить файлы
~/.claude/skills/user-stories/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/user-stories/
1Через Skills CLI (Vercel)
npx skills add phuryn/pm-skills --skill user-stories -a codex2Вручную: положить файлы
.agents/skills/user-stories/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add phuryn/pm-skills --skill user-stories -a cursor2Вручную: положить файлы
.cursor/skills/user-stories/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install phuryn/pm-skills user-stories2Вручную: положить файлы
.github/skills/user-stories/SKILL.md1Через Skills CLI (Vercel)
npx skills add phuryn/pm-skills --skill user-stories -a gemini-cli2Командой платформы
gemini skills install https://github.com/phuryn/pm-skills --path pm-execution/skills/user-storiesВручную: положить файлы
.devin/skills/user-stories/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add phuryn/pm-skills --skill user-stories -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
Из того же набора61
Весь набор →Похожие
Вопросы о user-stories
Как установить user-stories в Claude Code?
Выполните npx skills add phuryn/pm-skills --skill user-stories -a claude-code, затем повторите npx skills add phuryn/pm-skills --skill user-stories -a claude-code. После установки скилл доступен в ~/.claude/skills/user-stories/SKILL.md.
Что делает user-stories?
Скилл превращает описание фичи в набор пользовательских историй с ролями, описаниями, ссылками на дизайн и критериями приёмки. Он также проверяет истории по 3 C's и INVEST.
Что нужно передать user-stories для подготовки историй?
Можно передать название продукта или системы, фичу, ссылку на дизайн и ключевые предположения. Эти данные используются при анализе фичи и оформлении историй.
Исходный текст
SKILL.md · MIT
--- name: user-stories description: "Create user stories following the 3 C's (Card, Conversation, Confirmation) and INVEST criteria with descriptions, design links, and acceptance criteria. Use when writing user stories, breaking down features into backlog items, or defining acceptance criteria." --- # User Stories Create user stories following the 3 C's (Card, Conversation, Confirmation) and INVEST criteria. Generates stories with descriptions, design links, and acceptance criteria. **Use when:** Writing user stories, breaking down features into stories, creating backlog items, or defining acceptance criteria. **Arguments:** - `$PRODUCT`: The product or system name - `$FEATURE`: The new feature to break into stories - `$DESIGN`: Link to design files (Figma, Miro, etc.) - `$ASSUMPTIONS`: Key assumptions or context ## Step-by-Step Process 1. **Analyze the feature** based on provided design and context 2. **Identify user roles** and distinct user journeys 3. **Apply 3 C's framework:** - Card: Simple title and one-liner - Conversation: Detailed discussion of intent - Confirmation: Clear acceptance criteria 4. **Respect INVEST criteria:** Independent, Negotiable, Valuable, Estimable, Small, Testable 5. **Use plain language** a primary school graduate can understand 6. **Link to design files** for visual reference 7. **Output user stories** in structured format ## Story Template **Title:** [Feature name] **Description:** As a [user role], I want to [action], so that [benefit]. **Design:** [Link to design files] **Acceptance Criteria:** 1. [Clear, testable criterion] 2. [Observable behavior] 3. [System validates correctly] 4. [Edge case handling] 5. [Performance or accessibility consideration] 6. [Integration point] ## Example User Story **Title:** Recently Viewed Section **Description:** As an Online Shopper, I want to see a 'Recently viewed' section on the product page to easily revisit items I considered. **Design:** [Figma link] **Acceptance Criteria:** 1. The 'Recently viewed' section is displayed at the bottom of the product page for every user who has previously viewed at least 1 product. 2. It is not displayed for users visiting the first product page of their session. 3. The current product itself is excluded from the displayed items. 4. The section showcases product cards or thumbnails with images, titles, and prices. 5. Each product card indicates when it was viewed (e.g., 'Viewed 5 minutes ago'). 6. Clicking on a product card leads the user to the corresponding product page. ## Output Deliverables - Complete set of user stories for the feature - Each story includes title, description, design link, and 4-6 acceptance criteria - Stories are independent and can be developed in any order - Stories are sized for one sprint cycle - Stories reference related design documentation --- ### Further Reading - [How to Write User Stories: The Ultimate Guide](https://www.productcompass.pm/p/how-to-write-user-stories)
© phuryn · MIT · phuryn/pm-skills