Agent skill

02 User Stories

by ai-driven-dev in ai-driven-dev/framework

Produces or refines ordered User Stories from an Epic, Product Brief, PRD, or bounded request.

MITAuto-check passedProduct & Project Management

Install 02 User Stories

skills CLI
$ npx skills add ai-driven-dev/framework --skill 02-user-stories -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ai-driven-dev/framework 02-user-stories --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ai-driven-dev/framework.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/aidd-pm/skills/02-user-stories .claude/skills/02-user-stories && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
02-user-stories
GitHub stars
513
Token cost
~417 tokens
SKILL.md length
107 words
Files
18 (incl. references, assets)
Skills in repo
46
Repo updated
First seen
Licence
MIT

At a glance

Produces or refines ordered User Stories from an Epic, Product Brief, PRD, or bounded request.

  • The user wants to slice
  • SKILL.md covers Actions and Transversal rules
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Persist Stories

What it does

02 User Stories is an agent skill from ai-driven-dev/framework. Produces or refines ordered User Stories from an Epic, Product Brief, PRD, or bounded request. Use when the user wants to slice, write, assess, order, or persist Stories. Not for Epics or implementation.

Its SKILL.md is about 420 tokens, which your agent loads only when the skill is triggered. The skill folder holds 20 other files, including reference files and assets (for example `actions/01-frame.md`, `actions/02-slice.md` and `actions/03-write.md`).

It sits in Product & Project Management, covering User stories. The repository describes itself as: Marketplace Framework AI-Driven Dev : Context Engineering, Plugins, Agents, Skills, Hooks, Templates, SDLC. The licence is MIT.

When your agent uses it

  • The user wants to slice
  • Persist Stories

Example prompts

  • “Use the 02-user-stories skill to produce or refines ordered User Stories from an Epic, Product Brief, PRD, or bounded request”
  • “/02-user-stories”

What it can do on your machine

Read from SKILL.md and the folder at commit 6e30640. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are mermaid).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

02 User Stories loads about 417 tokens when it runs, and up to ~1.8k if it reads all its reference files. Until then it costs about 55 tokens; SKILL.md has 107 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~55
When it runs · the whole SKILL.md, loaded when a task matches
~417
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ai-driven-dev/framework at commit 6e30640, republished under its MIT licence (© ai-driven-dev). 107 words, ~417 tokens.

Download SKILL.mdSave it as .claude/skills/02-user-stories/SKILL.md (or your agent's skills folder). This skill also uses 17 other files; get the full folder from GitHub.
name
02-user-stories
description
Produces or refines ordered User Stories from an Epic, Product Brief, PRD, or bounded request. Use when the user wants to slice, write, assess, order, or persist Stories. Not for Epics or implementation.
argument-hint
request | epic

User Stories

mermaid
flowchart LR
  source([request, Product Brief, PRD, Epic, or Stories]) --> frame --> slice --> write --> assess
  source -->|"already persisted"| finalize
  assess -->|"reshape"| slice
  assess --> estimation --> order --> finalize
  order -->|"reslice"| slice
  finalize -->|"revise"| write
  finalize -->|"authorized"| done([User Stories])

Actions

Run the flow above. Read only the next action file.

ActionDoes
frameresolve the source and Story scope
slicefind vertical deliverable slices
writewrite Stories and acceptance
assessdetermine readiness and blockers
estimationestimate only when applicable
orderorder only when useful
finalizeapprove, persist, or transition

Transversal rules

  • Keep product and lifecycle decisions with the user.
  • Separate evidence, decisions, and assumptions.
  • Preserve source links and existing edits.
  • Ask natural questions; never expose actions, references, or unchanged state.
  • Require explicit approval or caller-provided bounded authority before any write.
  • Draft only after actor, need, and outcome are explicit in the source or confirmed.

© ai-driven-dev, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 17 other files (references, assets) in plugins/aidd-pm/skills/02-user-stories of ai-driven-dev/framework.

  • SKILL.md
  • actions/01-frame.md
  • actions/02-slice.md
  • actions/03-write.md
  • actions/04-assess.md
  • actions/05-estimation.md
  • actions/06-order.md
  • actions/07-finalize.md
  • assets/user-story-template.md
  • references/estimation.md
  • references/handoffs.md
  • references/lifecycle.md
  • references/ordering.md
  • references/persistence.md
  • references/qualification.md
  • references/readiness.md
  • references/relations.md
  • references/slicing.md

Open the folder on GitHubat commit 6e30640

Compare with similar skills

02 User Stories next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

02 User Stories compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
02 User Stories this skillai-driven-dev/framework513—~417Automated safety check: PassMIT
User Story Writerdeanpeters/Product-Manager-Skills7.2k2 repos~2.9kAutomated safety check: PassCustom licence
Ralph Tui Create Beadssubsy/ralph-tui2.5k1 repos~2.6kAutomated safety check: PassMIT
Agile Product Owneralirezarezvani/claude-skills28k3 repos~3.2kAutomated safety check: PassMIT
Ralph Tui Create Beads Rustsubsy/ralph-tui2.5k1 repos~2.8kAutomated safety check: PassMIT
To Specbestofjs/bestofjs3.1k22 repos~757Automated safety check: PassMIT

Similar skills

  • User Story Writer

    deanpeters/Product-Manager-Skills

    Writes user stories in Mike Cohn's format with Gherkin acceptance criteria, turning user needs into development-ready work with testable conditions.

    7.2k GitHub starsUsed in 2 repos~2.9k tokens
    Product & Project ManagementAuto-check passed
  • Ralph Tui Create Beads

    subsy/ralph-tui

    Convert PRDs to beads for ralph-tui execution. An agent skill from subsy/ralph-tui.

    2.5k GitHub starsUsed in 1 repo~2.6k tokens
    Product & Project ManagementAuto-check passed
  • Agile Product Owner

    alirezarezvani/claude-skills

    Writes INVEST-checked user stories with acceptance criteria, splits epics, plans sprints from velocity and ranks the backlog with a weighted score.

    28k GitHub starsUsed in 3 repos~3.2k tokens
    Product & Project ManagementAuto-check passed
  • Convert PRDs to beads for ralph-tui execution using beads-rust (br CLI).

    2.5k GitHub starsUsed in 1 repo~2.8k tokens
    Product & Project ManagementAuto-check passed
  • To Spec

    bestofjs/bestofjs

    Turn the current conversation into a spec and publish it to the project issue tracker — no interview, just synthesis of what you've already discussed.

    3.1k GitHub starsUsed in 22 repos~757 tokens
    Product & Project ManagementAuto-check passed
  • Ralph Tui Create JSON

    subsy/ralph-tui

    Convert PRDs to prd.json format for ralph-tui execution. An agent skill from subsy/ralph-tui.

    2.5k GitHub starsUsed in 1 repo~2.6k tokens
    Product & Project ManagementAuto-check passed

More from ai-driven-dev/framework

All 46 skills in this repo
  • 00 Async Dev

    ai-driven-dev/framework

    Drive the async-dev pipeline from one entry point, whether setup, run, or review.

    513 GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • 01 Plan

    ai-driven-dev/framework

    Turn a request, ticket, or file into a phased implementation plan.

    513 GitHub stars~517 tokensUpdated today
    Auto-check passed
  • 01 Sdlc

    ai-driven-dev/framework

    Autonomously orchestrates a request from framing to a draft pull request, isolating implementation, independent review, and final outcome challenge.

    513 GitHub stars~583 tokensUpdated today
    Auto-check passed
  • 02 Backlog

    ai-driven-dev/framework

    Orchestrates a product backlog end to end. An agent skill from ai-driven-dev/framework.

    513 GitHub stars~613 tokensUpdated today
    Auto-check passed
  • 00 Onboard

    ai-driven-dev/framework

    Guide a project's journey through AIDD, from first setup to shipping a feature.

    513 GitHub stars~242 tokensUpdated today
    Auto-check passed
  • 01 Acceptance QA

    ai-driven-dev/framework

    Validate a reviewed candidate's observable behavior against its acceptance criteria and record short named videos as reviewer evidence.

    513 GitHub stars~434 tokensUpdated today
    Auto-check passed

Questions about 02 User Stories

What does 02 User Stories do?

Produces or refines ordered User Stories from an Epic, Product Brief, PRD, or bounded request. 02 User Stories is an agent skill from ai-driven-dev/framework. Produces or refines ordered User Stories from an Epic, Product Brief, PRD, or bounded request.

When should I use 02 User Stories?

02 User Stories fits situations like: the user wants to slice; persist Stories.

How do I install 02 User Stories in Claude Code?

Run `npx skills add ai-driven-dev/framework --skill 02-user-stories -a claude-code`. Or copy the skill folder (plugins/aidd-pm/skills/02-user-stories in ai-driven-dev/framework) into .claude/skills/02-user-stories in your project. Claude Code loads it when a task matches its description.

How do I install 02 User Stories in Codex?

Run `npx skills add ai-driven-dev/framework --skill 02-user-stories -a codex`. Or copy the skill folder (plugins/aidd-pm/skills/02-user-stories in ai-driven-dev/framework) into .agents/skills/02-user-stories in your project. Codex loads it when a task matches its description.

Can I use 02 User Stories in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ai-driven-dev/framework --skill 02-user-stories -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/02-user-stories, .gemini/skills/02-user-stories, .github/skills/02-user-stories and .opencode/skills/02-user-stories in your project.

What does 02 User Stories need to run?

SKILL.md names no scripts, command-line tools or credentials: 02 User Stories is instructions for the agent only.

Does 02 User Stories access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is 02 User Stories safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does 02 User Stories use?

02 User Stories is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does 02 User Stories use?

About 417 tokens (SKILL.md is roughly 1.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.4k tokens, read only when the agent opens those files.

What are the alternatives to 02 User Stories?

Skills that share tags, products or a category with 02 User Stories: User Story Writer (deanpeters/Product-Manager-Skills, 7.2k stars), Ralph Tui Create Beads (subsy/ralph-tui, 2.5k stars), Agile Product Owner (alirezarezvani/claude-skills, 28k stars) and Ralph Tui Create Beads Rust (subsy/ralph-tui, 2.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains 02 User Stories?

ai-driven-dev (a GitHub organization) maintains it in ai-driven-dev/framework, which has 513 GitHub stars. The repository holds 46 skills in this directory. The repository was last updated on October 8, 2026.

Source: ai-driven-dev/framework on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.