writing-user-stories

Write user stories with Given-When-Then acceptance criteria and INVEST quality checks.

5|Updated Nov 9, 2025
One-click install
npx skills add https://github.com/britt/agent-skills --skill writing-user-stories-britt
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: writing-user-stories
Source: https://github.com/britt/agent-skills/tree/main/skills/writing-user-stories
Command: npx skills add https://github.com/britt/agent-skills --skill writing-user-stories-britt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Teams often write vague or overly technical requirements that cause scope creep, unclear completion criteria, and misaligned expectations. This Skill structures feature requirements as well-formed user stories with testable acceptance criteria. ## Core Features & Use Cases - Standard Story Format: Produces stories in the "As a [persona], I want [action], so that [benefit]" structure that captures actor, action, and value. - Given-When-Then Acceptance Criteria: Adds clear, testable conditions so every story has verifiable completion criteria. - INVEST Quality Checklist: Validates each story is Independent, Negotiable, Valuable, Estimable, Small, and Testable before finalizing. - Use Case: When planning a new dashboard filter feature, use this Skill to break it into stories like "As a manager, I want to filter issues by label, so that I can focus on relevant work," each with acceptance criteria ready to become GitHub issues. ## Quick Start Write user stories with acceptance criteria for a feature that lets users filter the project dashboard by labels.

Frequently Asked Questions about writing-user-stories

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write a good user story for a feature?▼

Write user stories in the format "As a [persona], I want [action], so that [benefit]" to capture who needs it, what they want, and why. Then add Given-When-Then acceptance criteria so the story has clear, testable completion conditions.

What is the INVEST checklist for user stories?▼

INVEST verifies a story is Independent, Negotiable, Valuable, Estimable, Small, and Testable. Checking each criterion before finalizing prevents stories that are too large, vague, or impossible to verify.

How do I write acceptance criteria in Given-When-Then format?▼

Acceptance criteria in Given-When-Then format state a precondition (Given), a user action (When), and the expected outcome (Then). For example: "Given I am viewing the dashboard, When I click Filter, Then I see a dropdown with all available labels."

When should I use user stories instead of a product spec?▼

Use user stories when breaking a feature into requirements or drafting product issues. For full product specifications covering an entire product or major initiative, use a dedicated product specification skill instead.

Why do user stories need a "so that" benefit clause?▼

The benefit clause explains why the feature matters, preventing stories like "As a user, I want dark mode" with no rationale. Stating the benefit, such as reducing eye strain during evening work, keeps implementation aligned with real user value.