user-story
Что он делает
Этот скилл пишет пользовательские истории, в которых указано, кто получает пользу, что он хочет сделать и зачем, а за ними идут критерии приёмки в проверяемом формате. Он нужен менеджерам продукта, которые передают работу командам разработки.
Когда использовать
- ✓Когда потребность пользователя готова стать работой для разработки с понятными результатами.
- ✓Когда инженерам и продукту нужно общее понимание и проверяемые условия успеха.
- ✓Когда нужны критерии приёмки, которые покрывают крайние случаи до начала работы.
Ссылка на скилл
https://github.com/deanpeters/Product-Manager-Skills/blob/main/skills/user-story/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Напиши пользовательские истории для сброса пароля по 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
- Лицензия
- —
- Обновлён
- 15.10.2026
Комментарии
- …
Другие скиллы из этого репозитория
acquisition-channel-advisor
7.8kПомогает агенту оценить, стоит ли масштабировать, тестировать или останавливать канал маркетинга, по стоимости привлечения клиента, пожизненной ценности и сроку окупаемости.
agent-orchestration-advisor
7.8kПомогает агенту спланировать сложную продуктовую задачу как работу нескольких специализированных ИИ-агентов, которые трудятся параллельно, с четкой передачей работы и мониторингом.
ai-shaped-readiness-advisor
7.8kПомогает агенту понять, использует ли ваша продуктовая команда ИИ только для ускорения старых задач или перестроила работу вокруг ИИ, и что строить дальше.
altitude-horizon-framework
7.8kОбъясняет переход от продакт-менеджера к директору через две идеи, высоту и горизонт, и помогает понять, откуда берется ваше трение.
Похожие скиллы
knowledge-capture
394kУчит агента сохранять решения, предпочтения и ключевые факты в хранилище Knowledge короткими заметками с указанием источника.
knowledge-claim-consolidation
394kПомогает агенту навести порядок в хранилище Knowledge: объединить дубликаты, перенести утверждения на нужные страницы и убрать устаревшие.
knowledge-correct
394kПозволяет агенту исправить или отозвать конкретное сохраненное утверждение или страницу Knowledge по вашей просьбе и вести запись изменений.