🎯

user-story-fundamentals

🎯Skill

from flpbalada/my-opencode-config

VibeIndex|
What it does

Helps product teams craft precise, user-centered requirements by transforming user needs into clear, actionable user stories.

πŸ“¦

Part of

flpbalada/my-opencode-config(40 items)

user-story-fundamentals

Installation

πŸ“‹ No install commands found in docs. Showing default command. Check GitHub for actual instructions.
Quick InstallInstall with npx
npx skills add flpbalada/my-opencode-config --skill user-story-fundamentals
1Installs
-
AddedFeb 4, 2026

Skill Details

SKILL.md

Overview

# User Story Fundamentals - Capturing User-Centered Requirements

A structured framework for capturing product requirements from the user's

perspective. User stories help teams understand who needs a feature, what they

want to accomplish, and why it matters.

When to Use This Skill

  • Writing backlog items
  • Defining feature requirements
  • Prioritizing development work
  • Communicating with development teams
  • Breaking down epics into actionable work
  • Ensuring user focus in product decisions

User Story Format

```

THE STANDARD TEMPLATE

"As a [type of user],

I want [some goal],

so that [some reason/benefit]."

Components:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”

β”‚ WHO: The user persona or role β”‚

β”‚ WHAT: The desired functionality or goal β”‚

β”‚ WHY: The business value or user benefit β”‚

β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

This format shifts focus from WRITING about requirements

to TALKING about them, with users at the center.

```

Core Components

WHO - User Persona

```

Specificity Spectrum:

Generic (avoid):

β”œβ”€β”€ "As a user..."

└── "As a customer..."

Better:

β”œβ”€β”€ "As a first-time visitor..."

β”œβ”€β”€ "As a returning customer..."

β”œβ”€β”€ "As an admin user..."

└── "As a mobile user..."

Best (with job context):

β”œβ”€β”€ "As a marketing manager who needs weekly reports..."

β”œβ”€β”€ "As a parent shopping for school supplies..."

β”œβ”€β”€ "As a developer debugging production issues..."

└── "As a sales rep preparing for a client meeting..."

```

WHAT - Desired Functionality

```

Focus on GOALS, not IMPLEMENTATION:

❌ "I want a blue button in the header"

(prescriptive, limits solutions)

βœ“ "I want to quickly access my saved items"

(goal-focused, enables creativity)

❌ "I want a REST API endpoint"

(technical implementation)

βœ“ "I want to integrate my data with external tools"

(user goal, flexible implementation)

```

WHY - Business Value

```

The "So That" Connection:

This part explains:

β”œβ”€β”€ What pain it solves

β”œβ”€β”€ What value it creates

β”œβ”€β”€ Why this matters to the user

└── How it connects to business goals

Without "so that":

"As a user, I want to filter search results"

β†’ Why? What's the actual need?

With "so that":

"As a user, I want to filter search results

so that I can find relevant items faster

when browsing large catalogs"

β†’ Clear value, enables better solutions

```

INVEST Criteria

```

QUALITY CHECKLIST FOR USER STORIES

I - Independent

β”‚ Can be developed and delivered separately

β”‚ No tight coupling to other stories

β”‚

N - Negotiable

β”‚ Details open to discussion

β”‚ Not a rigid contract

β”‚

V - Valuable

β”‚ Delivers real value to user or business

β”‚ Not just technical tasks

β”‚

E - Estimable

β”‚ Team can estimate effort

β”‚ Clear enough to size

β”‚

S - Small

β”‚ Fits within single sprint

β”‚ If too big, split it

β”‚

T - Testable

β”‚ Has clear acceptance criteria

β”‚ Can verify when complete

```

Acceptance Criteria

Definition

```

ACCEPTANCE CRITERIA (AC)

Purpose: Define what makes the story "done"

Format: Specific, testable conditions

Example Story:

"As a user, I want to reset my password via email

so that I can regain access if I forget it"

Acceptance Criteria:

β–‘ User can request reset from login page

β–‘ Email sent within 60 seconds of request

β–‘ Reset link expires after 24 hours

β–‘ Link works only once

β–‘ Password must meet security requirements

β–‘ User receives confirmation after successful reset

```

Writing Good AC

| Characteristic | Example |

| --------------- | -------------------------------------------- |

| Specific | "Within 60 seconds" not "quickly" |

| Testable | "Email contains reset link" - can verify |

| Outcome-focused | "User can access account" not "system sends" |

| Complete | Covers happy path AND edge cases |

Prioritization Framework

RICE Scoring

```

RICE = (Reach Γ— Impact Γ— Confidence) / Effort

Reach: How many users affected per time period?

(100 users/month, 1000 users/quarter)

Impact: How much will it move the needle?

3 = Massive, 2 = High, 1 = Medium, 0.5 = Low, 0.25 = Minimal

Confidence: How sure are we about estimates?

100% = High, 80% = Medium, 50% = Low

Effort: Person-months of work

(0.5, 1, 2, 3...)

Higher RICE score = Higher priority

```

MoSCoW Method

```

CATEGORIZATION FOR RELEASE PLANNING

MUST Have (Non-negotiable)

β”œβ”€β”€ Critical for release

β”œβ”€β”€ Legal/compliance requirements

└── Core value proposition

SHOULD Have (Important)

β”œβ”€β”€ High value but not critical

β”œβ”€β”€ Workarounds exist

└── Strong user demand

COULD Have (Nice to have)

β”œβ”€β”€ Desired but not necessary

β”œβ”€β”€ Easy wins if time permits

└── Lower user impact

WON'T Have (Not this time)

β”œβ”€β”€ Explicitly out of scope

β”œβ”€β”€ Future consideration

└── Documented for later

```

Story Splitting Techniques

When to Split

```

SPLIT IF:

β”œβ”€β”€ Can't complete in one sprint

β”œβ”€β”€ Story points > 13 (or team max)

β”œβ”€β”€ Multiple distinct user values

β”œβ”€β”€ Contains "and" connecting features

└── Too many acceptance criteria

```

Splitting Methods

```

  1. BY WORKFLOW STEPS

Original: "User can complete purchase"

Split:

β”œβ”€β”€ User can add items to cart

β”œβ”€β”€ User can enter shipping info

β”œβ”€β”€ User can enter payment info

└── User can confirm and place order

  1. BY USER TYPE

Original: "User can view dashboard"

Split:

β”œβ”€β”€ Admin can view full dashboard

β”œβ”€β”€ Manager can view team metrics

└── User can view personal stats

  1. BY OPERATIONS (CRUD)

Original: "User can manage contacts"

Split:

β”œβ”€β”€ User can create contact

β”œβ”€β”€ User can view contact details

β”œβ”€β”€ User can edit contact

└── User can delete contact

  1. BY DATA VARIATIONS

Original: "User can import data"

Split:

β”œβ”€β”€ User can import CSV files

β”œβ”€β”€ User can import Excel files

└── User can import from API

  1. BY ACCEPTANCE CRITERIA

Original: "User can search products"

Split:

β”œβ”€β”€ User can basic keyword search

β”œβ”€β”€ User can filter by category

β”œβ”€β”€ User can sort results

└── User can save search

```

Definition of Done vs. Acceptance Criteria

```

DEFINITION OF DONE (DoD) ACCEPTANCE CRITERIA (AC)

──────────────────────── ────────────────────────

Universal checklist Story-specific conditions

Same for all stories Unique per story

Quality standard Functional requirements

DoD Examples: AC Examples:

β–‘ Code reviewed β–‘ User can X

β–‘ Tests written β–‘ System does Y

β–‘ Documentation updated β–‘ Data validates as Z

β–‘ No critical bugs β–‘ Performance meets N

```

Story Template

```markdown

User Story

ID: [PROJ-123] Title: [Brief descriptive title]

Story

As a [specific user type], I want [goal/desire], so that [benefit/value].

Acceptance Criteria

  • [ ] [Specific, testable condition 1]
  • [ ] [Specific, testable condition 2]
  • [ ] [Specific, testable condition 3]

Notes

  • [Additional context]
  • [Technical considerations]
  • [Dependencies]

Attachments

  • [Link to designs]
  • [Link to research]

Estimation

  • Story Points: [X]
  • Priority: [High/Medium/Low]
  • Sprint: [Sprint N]

```

Real-World Examples

E-commerce

```

Story: Password-less Login

As a returning customer,

I want to login using a magic link sent to my email,

so that I can access my account without remembering passwords.

Acceptance Criteria:

β–‘ User enters email on login page

β–‘ "Send magic link" option available

β–‘ Email received within 30 seconds

β–‘ Link valid for 15 minutes

β–‘ One-click login from email

β–‘ User lands on their dashboard after login

β–‘ Link cannot be reused after login

```

SaaS Product

```

Story: Team Invitation

As an account admin,

I want to invite team members via email,

so that I can onboard my team without manual account creation.

Acceptance Criteria:

β–‘ Admin can enter multiple email addresses

β–‘ Invitation email clearly explains next steps

β–‘ Invited user can set their own password

β–‘ Admin can see pending invitations

β–‘ Admin can revoke pending invitations

β–‘ Duplicate email addresses are prevented

β–‘ Admin can set role during invitation

```

Common Mistakes

```

ANTI-PATTERNS TO AVOID

❌ Implementation as story

"Create database table for users"

β†’ Not user value, technical task

❌ Missing "so that"

"As a user, I want to search"

β†’ Why? What problem does this solve?

❌ Too vague

"As a user, I want a better experience"

β†’ What specifically? Not actionable

❌ Too large

"As a user, I want full account management"

β†’ Multiple features, needs splitting

❌ Solution prescribed

"As a user, I want a dropdown menu"

β†’ Describes UI, not user goal

```

Integration with Other Methods

| Method | Combined Use |

| -------------------- | --------------------------------- |

| Theme-Epic-Story | Stories fit within epic hierarchy |

| Jobs to Be Done | Stories address user jobs |

| Five Whys | Find root cause behind story need |

| Hypothesis Tree | Stories as hypotheses to test |

| Kanban | Stories flow through board stages |

Quick Reference

```

STORY WRITING CHECKLIST

Format:

β–‘ Follows "As a... I want... so that..." format

β–‘ User type is specific and meaningful

β–‘ Goal is user-focused, not technical

β–‘ Benefit clearly stated

Quality (INVEST):

β–‘ Independent - can be built alone

β–‘ Negotiable - details discussable

β–‘ Valuable - delivers real value

β–‘ Estimable - team can size it

β–‘ Small - fits in single sprint

β–‘ Testable - has clear AC

Acceptance Criteria:

β–‘ Specific and measurable

β–‘ Testable (can verify pass/fail)

β–‘ Covers main scenarios

β–‘ Includes edge cases

β–‘ Outcome-focused

```

Resources

  • [User Stories Applied - Mike Cohn](https://www.mountaingoatsoftware.com/books/user-stories-applied)
  • [User Story Mapping - Jeff Patton](https://www.jpattonassociates.com/user-story-mapping/)
  • [Writing Effective User Stories - Scrum Alliance](https://www.scrumalliance.org/)

More from this repository10

🎯
five-whys🎯Skill

Systematically uncovers root causes of problems through iterative questioning, revealing underlying issues beyond surface-level symptoms.

🎯
social-proof-psychology🎯Skill

Optimizes user trust and conversion by strategically displaying social validation through testimonials, user stats, and expert endorsements.

🎯
cognitive-fluency-psychology🎯Skill

Enhances user comprehension and engagement by applying cognitive fluency principles to simplify information processing across content and interfaces.

🎯
hooked-model🎯Skill

Designs habit-forming products by mapping user triggers, actions, rewards, and investments to create engaging, addictive product experiences.

🎯
cognitive-biases🎯Skill

Applies cognitive bias insights to optimize product design, user experiences, and decision-making strategies by leveraging psychological principles.

🎯
typescript-satisfies-operator🎯Skill

Validates TypeScript object types while preserving precise literal types, preventing type widening and catching type-related errors early.

🎯
typescript-best-practices🎯Skill

Enforces TypeScript best practices and coding standards through comprehensive linting and configuration rules for consistent, high-quality code.

🎯
status-quo-bias🎯Skill

Helps design product changes and migrations by understanding users' psychological resistance to change and creating strategies to overcome status quo bias.

🎯
kanban🎯Skill

Visualize and optimize team workflow by creating Kanban boards that track tasks, limit work-in-progress, and improve delivery efficiency.

🎯
theme-epic-story🎯Skill

I apologize, but I cannot generate a description without seeing the actual content or context of the "theme-epic-story" skill from the repository. Could you provide more details about what this spe...