/product-skills:agile-product-ownerfrom product-skills
Generates INVEST-compliant user stories, splits epics, plans sprints, and prioritizes backlogs. Useful for product owners managing agile workflows.
Ships in product-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Backlog management and sprint execution toolkit for product owners, including user story generation, acceptance criteria patterns, sprint planning, and velocity tracking.
Before generating stories or a sprint plan, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.
Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.
Create INVEST-compliant user stories from requirements:
As a [persona],
I want to [action/capability],
So that [benefit/value].
Example:
As a marketing manager,
I want to export campaign reports to PDF,
So that I can share results with stakeholders who don't have system access.
| Type | Template | Example |
|---|---|---|
| Feature | As a [persona], I want to [action] so that [benefit] | As a user, I want to filter search results so that I find items faster |
| Improvement | As a [persona], I need [capability] to [goal] | As a user, I need faster page loads to complete tasks without frustration |
| Bug Fix | As a [persona], I expect [behavior] when [condition] | As a user, I expect my cart to persist when I refresh the page |
| Enabler | As a developer, I need to [technical task] to enable [capability] | As a developer, I need to implement caching to enable instant search |
| Persona | Typical Needs | Context |
|---|---|---|
| End User | Efficiency, simplicity, reliability | Daily feature usage |
| Administrator | Control, visibility, security | System management |
| Power User | Automation, customization, shortcuts | Expert workflows |
| New User | Guidance, learning, safety | Onboarding |
Write testable acceptance criteria using Given-When-Then format.
Given [precondition/context],
When [action/trigger],
Then [expected outcome].
Examples:
Given the user is logged in with valid credentials,
When they click the "Export" button,
Then a PDF download starts within 2 seconds.
Given the user has entered an invalid email format,
When they submit the registration form,
Then an inline error message displays "Please enter a valid email address."
Given the shopping cart contains items,
When the user refreshes the browser,
Then the cart contents remain unchanged.
Each story should include criteria for:
| Category | Example |
|---|---|
| Happy Path | Given valid input, When submitted, Then success message displayed |
| Validation | Should reject input when required field is empty |
| Error Handling | Must show user-friendly message when API fails |
| Performance | Should complete operation within 2 seconds |
| Accessibility | Must be navigable via keyboard only |
| Story Points | Minimum AC Count |
|---|---|
| 1-2 | 3-4 criteria |
| 3-5 | 4-6 criteria |
| 8 | 5-8 criteria |
| 13+ | Split the story |
See references/user-story-templates.md for complete template library.
Break epics into deliverable sprint-sized stories:
Apply these rules in order. Use the first rule that fits the story:
| # | Split Rule | When It Applies | How to Split |
|---|---|---|---|
| 1 | Workflow Steps | Story contains multiple sequential steps | Each step becomes its own story |
| 2 | Business Rule Variations | Story introduces rule variations (e.g., pricing tiers, user roles) | Each rule variation becomes its own story |
| 3 | Data Variations | Story handles different data types or formats | Each data type becomes its own story |
| 4 | Complex Acceptance Criteria | Story has 8+ acceptance criteria covering distinct behaviors | Each distinct behavior cluster becomes its own story |
| 5 | Major Effort | Story requires significant build effort (13+ points) | Split along effort milestones (foundation → feature → polish) |
| 6 | External Dependencies | Story depends on external APIs, teams, or approvals | Split dependent and independent work into separate stories |
| 7 | DevOps Effort | Story requires significant infrastructure work | Split infrastructure setup from feature implementation |
| 8 | None Apply | Story is already small but unclear | Use Tiny Acts of Discovery (TADs) -- small spikes to reduce uncertainty |
For each split, document:
## Original Story
As a [persona], I want to [action] so that [benefit].
Points: 13 | Status: Too large for sprint
## Suggested Splits
### Split 1: By Workflow Steps
- **Story A:** As a [persona], I want to [step 1] so that [partial benefit].
Points: 5 | Independently valuable: Yes
- **Story B:** As a [persona], I want to [step 2] so that [remaining benefit].
Points: 5 | Independently valuable: Yes
### Risks & Tradeoffs
- [What coupling exists between the split stories]
- [What is lost by delivering them separately]
### Implementation Order
1. Story A (foundation) → 2. Story B (builds on A)
| Technique | When to Use | Example |
|---|---|---|
| By workflow step | Linear process | "Checkout" → "Add to cart" + "Enter payment" + "Confirm order" |
| By persona | Multiple user types | "Dashboard" → "Admin dashboard" + "User dashboard" |
| By data type | Multiple inputs | "Import" → "Import CSV" + "Import Excel" |
| By operation | CRUD functionality | "Manage users" → "Create" + "Edit" + "Delete" |
| By business rule | Rule variations | "Discount" → "% discount" + "Fixed discount" + "BOGO" |
| Happy path first | Risk reduction | "Feature" → "Basic flow" + "Error handling" + "Edge cases" |
| By dependency | External blockers | "Integration" → "Mock integration" + "Live integration" |
| Tiny Acts of Discovery | High uncertainty | "AI feature" → "Spike: feasibility" + "MVP implementation" |
Epic: User Dashboard
Breakdown:
Epic: User Dashboard (34 points total)
├── US-001: View key metrics (5 pts) - End User
├── US-002: Customize layout (5 pts) - Power User
├── US-003: Export data to CSV (3 pts) - End User
├── US-004: Share with team (5 pts) - End User
├── US-005: Set up alerts (5 pts) - Power User
├── US-006: Filter by date range (3 pts) - End User
├── US-007: Admin overview (5 pts) - Admin
└── US-008: Enable caching (3 pts) - Enabler
Plan sprint capacity and select stories:
Sprint Capacity = Average Velocity × Availability Factor
Example:
Average Velocity: 30 points
Team availability: 90% (one member partially out)
Adjusted Capacity: 27 points
Committed: 23 points (85% of 27)
Stretch: 4 points (15% of 27)
| Scenario | Factor |
|---|---|
| Full sprint, no PTO | 1.0 |
| One team member out 50% | 0.9 |
| Holiday during sprint | 0.8 |
| Multiple members out | 0.7 |
Sprint Capacity: 27 points
Sprint Goal: [Clear, measurable objective]
COMMITTED (23 points):
[H] US-001: User dashboard (5 pts)
[H] US-002: Export feature (3 pts)
[H] US-003: Search filter (5 pts)
[M] US-004: Settings page (5 pts)
[M] US-005: Help tooltips (3 pts)
[L] US-006: Theme options (2 pts)
STRETCH (4 points):
[L] US-007: Sort options (2 pts)
[L] US-008: Print view (2 pts)
See references/sprint-planning-guide.md for complete planning procedures.
Prioritize backlog using value and effort assessment.
| Priority | Definition | Sprint Target |
|---|---|---|
| Critical | Blocking users, security, data loss | Immediate |
| High | Core functionality, key user needs | This sprint |
| Medium | Improvements, enhancements | Next 2-3 sprints |
| Low | Nice-to-have, minor improvements | Backlog |
| Factor | Weight | Questions |
|---|---|---|
| Business Value | 40% | Revenue impact? User demand? Strategic alignment? |
| User Impact | 30% | How many users? How frequently used? |
| Risk/Dependencies | 15% | Technical risk? External dependencies? |
| Effort | 15% | Size? Complexity? Uncertainty? |
Before adding to sprint, validate each story:
| Criterion | Question | Pass If... |
|---|---|---|
| Independent | Can this be developed without other uncommitted stories? | No blocking dependencies |
| Negotiable | Is the implementation flexible? | Multiple approaches possible |
| Valuable | Does this deliver user or business value? | Clear benefit in "so that" |
| Estimable | Can the team estimate this? | Understood well enough to size |
| Small | Can this complete in one sprint? | ≤8 story points |
| Testable | Can we verify this is done? | Clear acceptance criteria |
references/user-story-templates.md contains:
references/sprint-planning-guide.md contains:
Drafts one story per persona x scope item from your epic file and checks each against INVEST-style rules. It never invents points, benefits or acceptance criteria: missing ones are findings, each with a fix. Standard library only.
python3 scripts/user_story_generator.py assets/sample_epic.json --capacity 10
python3 scripts/user_story_generator.py assets/flawed_epic.json --format json
cat assets/sample_epic.json | python3 scripts/user_story_generator.py -
Epic file shape (see assets/sample_epic.json):
{"name": "Report Export", "personas": ["marketing manager"],
"scope": ["plain string, optionally with 'so that <benefit>'",
{"action": "...", "benefit": "...", "points": 3, "priority": "high",
"acceptance_criteria": ["Given ..., When ..., Then ..."], "depends_on": []}],
"technical_requirements": ["optional enabler stories, same shape"]}
--capacity N adds a sprint plan: stories sorted by priority, committed up to 85% of N (a heuristic from this skill's planning guide, not an industry statistic), stretch up to 100%. Stories without valid points, or above 8, are listed as not planned.
Rules checked (all heuristics): benefit present, points on the 1/2/3/5/8/13/21 scale, points <= 8, no vague terms (fast, easy, user-friendly, TBD ...), no dependency wording, action <= 20 words, acceptance criteria present.
Real output on a flawed epic (python3 scripts/user_story_generator.py assets/flawed_epic.json):
DAS-001 [story] As an end user, I want to view key metrics so that <benefit missing>.
points: unestimated | priority: unset
AC (draft): Given end user is signed in with access, When they view key metrics, Then <observable result: confirm with the team>
FINDING "View key metrics": Valuable: no 'so that' benefit. Fix: add the benefit: "View key metrics so that <what end user gains>"
...
FIX 12 issues
| Code | Meaning |
|---|---|
| 0 | every story passes the checks |
| 1 | findings; each quotes the input and gives a fix |
| 2 | unusable input (empty, not JSON, missing name, personas or scope); one-line message on stderr |
Track sprint health and team performance.
| Metric | Formula | Target |
|---|---|---|
| Velocity | Points completed / sprint | Stable ±10% |
| Commitment Reliability | Completed / Committed | >85% |
| Scope Change | Points added or removed mid-sprint | <10% |
| Carryover | Points not completed | <15% |
Sprint 1: 25 points
Sprint 2: 28 points
Sprint 3: 30 points
Sprint 4: 32 points
Sprint 5: 29 points
------------------------
Average Velocity: 28.8 points
Trend: Stable
Planning: Commit to 24-26 points
Story is complete when:
| Problem | Cause | Solution |
|---|---|---|
| Stories too large (>8 points) | Epic not broken down enough | Apply splitting techniques: by workflow step, persona, or CRUD operation |
| Acceptance criteria untestable | Criteria use vague language | Rewrite using Given-When-Then format with specific, observable outcomes |
| Sprint commitment missed repeatedly | Velocity not stabilized or too aggressive | Track velocity over 3+ sprints; commit to 80-85% of rolling average |
| Too many carryover stories | Mid-sprint scope changes or poor estimation | Enforce no-scope-change rule; calibrate estimates using planning poker |
| Stories lack clear value | Missing "so that" benefit clause | Validate every story answers: who benefits, what they get, and why it matters |
| Sprint has too many dependencies | Stories not independent | Re-sequence backlog; break dependent stories into independent slices |
| Stakeholders dispute priority | No objective prioritization framework | Use WSJF or value/effort scoring; document decision rationale |
| Criterion | Target | How to Measure |
|---|---|---|
| Commitment reliability | >85% of committed points completed | Points completed / Points committed per sprint |
| INVEST compliance | 100% of stories pass the checks | user_story_generator exit code 0 |
| Velocity stability | Within +/-10% of rolling average | Track velocity trend over 5+ sprints |
| Scope change | <10% of sprint points added/removed mid-sprint | Count points added or removed after planning |
| Carryover rate | <15% of committed points | Points not completed / Points committed |
| Acceptance criteria quality | All criteria testable and verified | QA sign-off on acceptance criteria before sprint start |
| Backlog grooming | Top 2 sprints of backlog always ready | Count of refined stories with acceptance criteria |
In scope:
Out of scope:
| Tool / Platform | Integration Method | Use Case |
|---|---|---|
| Jira / Linear | Copy story output or extend script for JSON export | Import generated stories as tickets |
| Confluence / Notion | Paste human-readable output | Document sprint plans and backlog |
| Slack | Share sprint planning summary | Async sprint kickoff communication |
| product-manager-toolkit | RICE scores inform story priority | Align sprint priorities with product strategy |
| product-strategist | OKR cascade informs epic selection | Connect sprint work to quarterly objectives |
| ux-researcher-designer | Persona data informs story personas | Ground user stories in research-backed personas |
assets/contract.json (opens in a new tab)assets/flawed_epic.json (opens in a new tab)assets/malformed_epic.json (opens in a new tab)assets/sample_epic.json (opens in a new tab)references/sprint-planning-guide.md (opens in a new tab)references/user-story-templates.md (opens in a new tab)scripts/user_story_generator.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
agile, user-stories, backlog-management, sprint-planning, scrum
npx claudepluginhub borghei/claude-skills --plugin product-skills15 skills in this plugin
/ab-test-setupCheck an A/B hypothesis, size the test, and analyse results from a CSV with data-quality checks (sample ratio mismatch, small counts, multiple variants). Use when planning an experiment, calculating sample size or duration, reading experiment results, or when someone says "let's test that."
/apple-hig-expertApple Human Interface Guidelines expert across iOS, iPadOS, macOS, watchOS, tvOS, and visionOS. Use when designing or reviewing an Apple-platform app, auditing for HIG compliance, picking native components, or validating accessibility. Use when you have a screen inventory (JSON of true/false flags per screen) to audit, or a UX goal to map to a native pattern.
/design-directionTurns a product brief into a design-system spec: style direction, contrast-checked palette, type pairing, tokens, UX rules and chart choices. Use when starting a new product's UI, picking a palette or fonts, or auditing a token file.
/design-system-leadDesign systems leadership across component libraries, design tokens, and design-dev collaboration. Use when you need to generate design tokens from a brand color (with a WCAG contrast check), scaffold a component spec, or audit design system adoption from a per-product CSV.
/product-analyticsProduct analytics checks for metric trees, event taxonomies and retention cohorts. Use when reviewing a North Star and its input metrics, auditing an event inventory for naming, PII and gaps, or reading cohort retention tables for curve shape and trend. Reads your JSON, exits 0/1/2.
/product-designerTurns user research into design decisions: journey maps with gap checks, SUS and task scoring, design critique and flow critique. Use when mapping a journey, scoring a usability test, or critiquing a flow before it ships.
Other plugins' skills for the same job