Command Palette

Search for a command to run...

Назад к скиллам
скилл № 25667

create-story

Use when the user asks for the next story, to implement STORY-XXX, pick up the next ticket, or create one implementation story from the PRD backlog. Produces…

БесплатноБез исполняемых скриптов
j4flmaoот j4flmao★ 47 звёзд на GitHub

Установить create-story в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Create Story

Purpose

Generate a single, well-defined implementation story from the PRD backlog, complete with acceptance criteria, technical notes, and complexity estimate. Ready for immediate implementation. A well-crafted story tells a developer exactly what to build, how to verify it, and how it fits into the broader system — while leaving implementation details to the developer's judgment.

Stories are the bridge between product requirements and code. They translate "what the user needs" into "what the developer builds." A great story is small enough to complete quickly, precise enough to avoid ambiguity, and contextual enough to fit the system architecture.

Architecture/Decision Trees

Story Selection Decision Tree

Are there any blocked stories that need resolving?
  |-- YES --> Select the highest-priority blocked story and resolve the blocker
  |-- NO --> Are there stories in the highest-priority epic?
        |-- YES --> Select the first unstarted story from that epic
        |-- NO --> Move to next priority epic

Does the selected story have dependencies on incomplete stories?
  |-- YES --> Can we implement the dependency first?
  |     |-- YES --> Select the dependency story instead
  |     |-- NO  --> Mark as blocked, select next available story
  |-- NO --> Proceed with this story

Is the story estimated at L or XL?
  |-- YES --> Split into smaller stories before starting
  |-- NO --> Proceed — story is appropriately sized

Story Splitting Decision

Can the story be completed in 1-3 days?
  |-- YES --> Good to go
  |-- NO --> Can it be split into vertical slices?
        |-- YES --> Split into 2+ stories, each touching all layers
        |-- NO --> Does it involve significant research?
              |-- YES --> Create a spike story first, then implementation stories
              |-- NO --> Challenge scope assumptions — is everything truly necessary?

Does the story describe work for multiple user roles?
  |-- YES --> Split by user role — each role gets its own story
  |-- NO --> Does the story contain "and" connecting separate actions?
        |-- YES --> Split into separate stories per action
        |-- NO --> Story scope is appropriate

Story Format Selection Tree

What type of work is this?
  |-- USER-FACING FEATURE --> Standard user story: "As a {role}, I want to..."
  |-- TECHNICAL IMPROVEMENT --> Technical story: "As a {developer/system}, I want to..."
  |-- BUG FIX --> Bug story: "Given {context}, when {action}, {unexpected result} occurs"
  |-- RESEARCH/SPIKE --> Spike story: "Research {topic} and recommend {decision}"
  |-- DATA MIGRATION --> Migration story: "Migrate {data} from {source} to {target}"

Is the story for a frontend feature?
  |-- YES --> Include: component tree, state management, API integration, loading/error/empty states
  |-- NO --> Is the story for a backend feature?
        |-- YES --> Include: endpoint contracts, data models, validation, error handling, auth checks
        |-- NO --> Full-stack: include both frontend and backend sections

Agent Protocol

Trigger

Exact user phrases: "create story", "next story", "implement STORY-XXX", "pick up ticket", "what should I build next", "story from PRD", "next ticket", "what is next".

Input Context

Before activating, verify:

  • docs/prd-{YYYY-MM-DD}.md exists. Read it.
  • docs/stories/ directory exists. Read all existing STORY-*.md files to determine the next NNN and which stories are already defined or in progress.
  • docs/specs/ directory may contain relevant specs. Check for the feature matching the next story.
  • docs/decisions/ directory may contain relevant ADRs. Read any that apply to the story.

Output Artifact

Writes to docs/stories/STORY-{NNN}.md.

Response Format

After saving, output exactly:

STORY-{NNN}: {title}
Epic: {epic name}
Complexity: {estimate}
Saved to docs/stories/STORY-{NNN}.md
Ready for implementation.

No preamble. No postamble. No explanations. No filler.

Completion Criteria

  • PRD read. Next unimplemented story identified from highest-priority epic.
  • Story has a unique NNN (auto-incremented from existing stories).
  • User story format: "As a {user}, I want to {action} so that {value}."
  • Acceptance criteria include happy path AND at least one edge case.
  • Technical notes reference specific files, patterns, and relevant ADRs.
  • Dependencies on other stories documented.
  • Complexity estimated using the defined scale.
  • File saved to docs/stories/STORY-{NNN}.md.

Max Response Length

Confirmation: exactly 5 lines. Do not output the full story content unless the user explicitly asks.

Workflow

Step 1: Read PRD and Existing Stories

Read docs/prd.md to understand epics and priority. Read docs/stories/ to see what has been done.

PRD analysis:

  • Identify the highest-priority epic with incomplete stories
  • Check which MVP features from the brief are being addressed
  • Note a
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • references/acceptance-criteria.md
  • references/create-story-advanced.md
  • references/create-story-fundamentals.md
  • references/story-examples.md
  • references/story-refinement.md
  • references/story-template.md
  • references/user-story-acceptance-criteria.md
  • references/user-story-splitting.md

FAQ

Что делает скилл create-story?

Use when the user asks for the next story, to implement STORY-XXX, pick up the next ticket, or create one implementation story from the PRD backlog. Produces a single detailed story file with acceptance criteria and technical notes. Not for writing the whole PRD (use create-prd) or backlog refinement (use ba).

Как установить скилл create-story?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл create-story запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить create-story с