user-story

user-story is a skill for Claude Code, Codex from tmj-90/gaffer. It costs 53 tokens per session (1,230 once invoked), scanned A, original, Apache-2.0.

A guide for writing user stories: short descriptions of user value paired with clear, testable acceptance criteria. It also explains how to estimate story size for sprint planning.

In plain words
What is it for?
Writing feature stories, adding acceptance criteria, splitting large stories, and estimating sprint capacity.
Why use it?
It prevents vague requests, implementation-focused tickets, and stories that are too large to deliver reliably. Teams can agree on what done means before work starts.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Writing feature stories, adding acceptance criteria, splitting large stories, and estimating sprint capacity.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tmj-90/gaffer/user-story
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add tmj-90/gaffer --skill user-story
Clone the repo
git clone --depth 1 https://github.com/tmj-90/gaffer

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for user-story

README.md
[![agentmods](https://agentmods.dev/badge/skills/tmj-90/gaffer/user-story/github.svg)](https://agentmods.dev/skills/tmj-90/gaffer/user-story)
Your own site
<a href="https://agentmods.dev/skills/tmj-90/gaffer/user-story"><img src="https://agentmods.dev/badge/skills/tmj-90/gaffer/user-story/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for user-story

Your own site · 80×15
<a href="https://agentmods.dev/skills/tmj-90/gaffer/user-story"><img src="https://agentmods.dev/badge/skills/tmj-90/gaffer/user-story.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,230 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00053 $0.01230
Opus 5.5 $0.00021 $0.00492
Sonnet 5.5 $0.00011 $0.00246
Haiku 4.5 $0.00005 $0.00123

Measured 2mo ago against content hash 7c969b79d126, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

user-story scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

runner/skills/user-story/SKILL.md · 111 lines

How it starts

The opening of the file, as written. The whole thing — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Write user stories with testable acceptance criteria

A user story is a unit of user value that can be delivered and tested on its own. It is not a task. Its acceptance criteria (ACs) are the contract: in the factory, the delivery agent builds to them, the reviewer checks that each AC has a test exercising that AC's own behaviour, and the independent tester verifies them black-box. An AC that no test can check will be approved unverified. A behaviour with no AC will not be built.

Story format

As a <specific role>, I want <capability> so that <outcome/value>.

Acceptance criteria (Gherkin):
Scenario: <one behaviour>
  Given <state/precondition, with concrete data>
  When  <one action>
  Then  <observable outcome>

Gherkin rules (from the Cucumber reference):

  • One behaviour per scenario, and one When per scenario.
  • Write declaratively: "When she submits a valid order", not "When she clicks #btn-3".
  • A Then names something observable: a response, a stored state, a displayed message, an exit code. "It works" is not observable.
  • Use Scenario Outline with Examples for the same rule over several data rows (boundaries, invalid inputs).

INVEST (Bill Wake, 2003)

Every story should be:

  • Independent: deliverable in any order, without waiting on another in-flight story.
  • Negotiable: the what and why are fixed; the how is open.
  • Valuable: a user or customer gets something, not only engineering.
  • Estimable: the team can size it, and unknowns are named (or spiked).
  • Small: fits in a sprint. In the factory, one agent delivers it in one ticket.
  • Testable: every AC can be checked by an automated test.

Cover more than the happy path

Every story needs at least:

  1. One happy-path scenario.
  2. One error or edge scenario: invalid input, empty state, a boundary, a missing permission.
  3. The quality scenarios its shape implies. These are the ones live builds shipped broken when nobody wrote them down:
    • Stores data: an acknowledged save survives a restart, and a save interrupted mid-write leaves the prior data intact.
    • Several users, requests or processes write: e.g. "Given 20 clients save at once, then all 20 saves succeed and all 20 records exist." When more than one process writes, cover a writer that is paused or killed while holding a lock.
    • Behind auth: a user cannot read or change another user's data.
    • Speed matters: a measurable threshold under a stated load.

Read the full file on GitHub · 111 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · +31 lines 7c969b79d126
  2. 3mo ago First seen · 80 lines · 53 tokens per session scan A e9f9ceb8787f

Subscribe to this mod's changes

user-story is a skill published in the GitHub repository tmj-90/gaffer (1 stars, last pushed 4d ago), licensed Apache-2.0. It adds 53 tokens to every session and 1,230 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

user-story compared with skills from other repositories

user-story next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
user-storytmj-90/gafferSkill14d agoApache-2.0A53Claude Code, Codex
bulwark-brainstormQBall-Inc/the-bulwarkSkill9yesterdayMITA50Claude Code
plan-creationQBall-Inc/the-bulwarkSkill9yesterdayMITA38Claude Code
anthropic-validatorQBall-Inc/the-bulwarkSkill9yesterdayMITA40Claude Code
create-subagentQBall-Inc/the-bulwarkSkill9yesterdayMITA42Claude Code
test-auditQBall-Inc/the-bulwarkSkill9yesterdayMITA0Claude Code
code-reviewQBall-Inc/the-bulwarkSkill9yesterdayMITA61Claude Code