Agent skill

User Story Format

by Inebrio in Inebrio/Routerly

Shape of a user story file with acceptance criteria and edge cases.

AGPL-3.0Auto-check passedProduct & Project Management

Install User Story Format

skills CLI
$ npx skills add Inebrio/Routerly --skill user-story-format -a claude-code

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

GitHub CLI
$ gh skill install Inebrio/Routerly user-story-format --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/Inebrio/Routerly.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/user-story-format .claude/skills/user-story-format && 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
user-story-format
GitHub stars
101
Token cost
~373 tokens
SKILL.md length
124 words
Files
1
Skills in repo
17
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Shape of a user story file with acceptance criteria and edge cases.

  • Reading a story artifact
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Tasks that involve User stories

What it does

User Story Format is an agent skill from Inebrio/Routerly. Shape of a user story file with acceptance criteria and edge cases. Use when writing or reading a story artifact.

Its SKILL.md is about 370 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Product & Project Management, covering User stories. The repository describes itself as: Self-hosted LLM gateway that routes requests across AI providers (OpenAI, Anthropic, Gemini, Mistral, Ollama) using intelligent multi-policy scoring — including an LLM-native… The licence is AGPL-3.0.

When your agent uses it

  • Reading a story artifact
  • Tasks that involve User stories

Example prompts

  • “/user-story-format”

What it can do on your machine

Read from SKILL.md and the folder at commit bcf58f1. 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 markdown).

    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

User Story Format loads about 373 tokens when it runs. Until then it costs about 33 tokens; SKILL.md has 124 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~33
When it runs · the whole SKILL.md, loaded when a task matches
~373

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 Inebrio/Routerly at commit bcf58f1, republished under its AGPL-3.0 licence (© Inebrio). 124 words, ~373 tokens.

Download SKILL.mdSave it as .claude/skills/user-story-format/SKILL.md (or your agent's skills folder).
name
user-story-format
description
Shape of a user story file with acceptance criteria and edge cases. Use when writing or reading a story artifact.

User story format

One file per story: <specs-root>/<feature>/01-stories/<story-id>.md.

markdown
# <story-id> — <short title>

## Story
As <who>, I want <what>, so that <why>.

## Context
The two or three sentences from the analysis a reader needs. No more.

## Acceptance criteria
- **AC1** — Given <state>, when <action>, then <observable result>.
- **AC2** — ...

## Edge cases
- **EC1** — <condition> → <required behaviour>.

## Out of scope
What this story deliberately does not cover.

## Depends on
Story ids that must land first, and why.

Rules

  • Criteria are observable from outside the code. If checking one requires reading the implementation, rewrite it.
  • Criteria are independent: the result of one never depends on which other criterion ran first.
  • No file names, function names, endpoints, tables or components. A story that cannot be written without them is a design document.
  • Edge cases are the ones this story can actually hit. Cover absent, empty, malformed, unauthorised, duplicate, concurrent and oversized inputs where they apply, and say what should happen, not that it "should fail".
  • Numbered ids matter: the validator reports against them and the qa-engineer maps tests to them.
  • One story is one deliverable. If it needs two independent verdicts, it is two stories.

© Inebrio, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/user-story-format of Inebrio/Routerly.

Open the folder on GitHubat commit bcf58f1

Compare with similar skills

User Story Format 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.

User Story Format compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
User Story Format this skillInebrio/Routerly101—~373Automated safety check: PassAGPL-3.0
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.1k21 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 21 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 Inebrio/Routerly

All 17 skills in this repo
  • Docs Conventions

    Inebrio/Routerly

    Where documentation lives in this repository, how a page is structured, and what a change owes the docs.

    101 GitHub stars~624 tokensUpdated yesterday
    Auto-check passed
  • Feature Lifecycle

    Inebrio/Routerly

    Run a Tier 1 or Tier 2 feature end to end — feature level, story level, parallelism, integration, and retrospective.

    101 GitHub stars~3k tokensUpdated yesterday
    Auto-check passed
  • Story Lifecycle

    Inebrio/Routerly

    Run one user story end to end in its own worktree, from claim to merge.

    101 GitHub stars~905 tokensUpdated yesterday
    Auto-check passed
  • Test Conventions

    Inebrio/Routerly

    Where tests live in this repository, how to run them, and what a story owes in coverage.

    101 GitHub stars~467 tokensUpdated yesterday
    Auto-check passed
  • Validation Protocol

    Inebrio/Routerly

    How to validate a story against its criteria and write the report, including what counts as evidence and what counts as blocking.

    101 GitHub stars~628 tokensUpdated yesterday
    Auto-check passed
  • Analysis Format

    Inebrio/Routerly

    Shape of a feature analysis document (00-analysis.md). An agent skill from Inebrio/Routerly.

    101 GitHub stars~472 tokensUpdated yesterday
    Auto-check passed

Questions about User Story Format

What does User Story Format do?

Shape of a user story file with acceptance criteria and edge cases. User Story Format is an agent skill from Inebrio/Routerly. Shape of a user story file with acceptance criteria and edge cases.

When should I use User Story Format?

User Story Format fits situations like: reading a story artifact; tasks that involve User stories.

How do I install User Story Format in Claude Code?

Run `npx skills add Inebrio/Routerly --skill user-story-format -a claude-code`. Or copy the skill folder (.agents/skills/user-story-format in Inebrio/Routerly) into .claude/skills/user-story-format in your project. Claude Code loads it when a task matches its description.

How do I install User Story Format in Codex?

Run `npx skills add Inebrio/Routerly --skill user-story-format -a codex`. Or copy the skill folder (.agents/skills/user-story-format in Inebrio/Routerly) into .agents/skills/user-story-format in your project. Codex loads it when a task matches its description.

Can I use User Story Format 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 Inebrio/Routerly --skill user-story-format -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/user-story-format, .gemini/skills/user-story-format, .github/skills/user-story-format and .opencode/skills/user-story-format in your project.

What does User Story Format need to run?

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

Does User Story Format 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 User Story Format 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 User Story Format use?

User Story Format is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does User Story Format use?

About 373 tokens (SKILL.md is roughly 1.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to User Story Format?

Skills that share tags, products or a category with User Story Format: 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 User Story Format?

Inebrio (a GitHub organization) maintains it in Inebrio/Routerly, which has 101 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 8, 2026.

Source: Inebrio/Routerly on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.