Get the FREE Ultimate OpenClaw Setup Guide →

agile-product-owner

npx machina-cli add skill alirezarezvani/claude-skills/agile-product-owner --openclaw
Files (1)
SKILL.md
11.3 KB

Agile Product Owner

Backlog management and sprint execution toolkit for product owners, including user story generation, acceptance criteria patterns, sprint planning, and velocity tracking.


Table of Contents


User Story Generation Workflow

Create INVEST-compliant user stories from requirements:

  1. Identify the persona (who benefits from this feature)
  2. Define the action or capability needed
  3. Articulate the benefit or value delivered
  4. Write acceptance criteria using Given-When-Then
  5. Estimate story points using Fibonacci scale
  6. Validate against INVEST criteria
  7. Add to backlog with priority
  8. Validation: Story passes all INVEST criteria; acceptance criteria are testable

User Story Template

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.

Story Types

TypeTemplateExample
FeatureAs a [persona], I want to [action] so that [benefit]As a user, I want to filter search results so that I find items faster
ImprovementAs a [persona], I need [capability] to [goal]As a user, I need faster page loads to complete tasks without frustration
Bug FixAs a [persona], I expect [behavior] when [condition]As a user, I expect my cart to persist when I refresh the page
EnablerAs a developer, I need to [technical task] to enable [capability]As a developer, I need to implement caching to enable instant search

Persona Reference

PersonaTypical NeedsContext
End UserEfficiency, simplicity, reliabilityDaily feature usage
AdministratorControl, visibility, securitySystem management
Power UserAutomation, customization, shortcutsExpert workflows
New UserGuidance, learning, safetyOnboarding

Acceptance Criteria Patterns

Write testable acceptance criteria using Given-When-Then format.

Given-When-Then Template

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.

Acceptance Criteria Checklist

Each story should include criteria for:

CategoryExample
Happy PathGiven valid input, When submitted, Then success message displayed
ValidationShould reject input when required field is empty
Error HandlingMust show user-friendly message when API fails
PerformanceShould complete operation within 2 seconds
AccessibilityMust be navigable via keyboard only

Minimum Criteria by Story Size

Story PointsMinimum AC Count
1-23-4 criteria
3-54-6 criteria
85-8 criteria
13+Split the story

See references/user-story-templates.md for complete template library.


Epic Breakdown Workflow

Break epics into deliverable sprint-sized stories:

  1. Define epic scope and success criteria
  2. Identify all personas affected by the epic
  3. List all capabilities needed for each persona
  4. Group capabilities into logical stories
  5. Validate each story is ≤8 points
  6. Identify dependencies between stories
  7. Sequence stories for incremental delivery
  8. Validation: Each story delivers standalone value; total stories cover epic scope

Splitting Techniques

TechniqueWhen to UseExample
By workflow stepLinear process"Checkout" → "Add to cart" + "Enter payment" + "Confirm order"
By personaMultiple user types"Dashboard" → "Admin dashboard" + "User dashboard"
By data typeMultiple inputs"Import" → "Import CSV" + "Import Excel"
By operationCRUD functionality"Manage users" → "Create" + "Edit" + "Delete"
Happy path firstRisk reduction"Feature" → "Basic flow" + "Error handling" + "Edge cases"

Epic Example

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

Sprint Planning Workflow

Plan sprint capacity and select stories:

  1. Calculate team capacity (velocity × availability)
  2. Review sprint goal with stakeholders
  3. Select stories from prioritized backlog
  4. Fill to 80-85% of capacity (committed)
  5. Add stretch goals (10-15% additional)
  6. Identify dependencies and risks
  7. Break complex stories into tasks
  8. Validation: Committed points ≤85% capacity; all stories have acceptance criteria

Capacity Calculation

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)

Availability Factors

ScenarioFactor
Full sprint, no PTO1.0
One team member out 50%0.9
Holiday during sprint0.8
Multiple members out0.7

Sprint Loading Template

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.


Backlog Prioritization

Prioritize backlog using value and effort assessment.

Priority Levels

PriorityDefinitionSprint Target
CriticalBlocking users, security, data lossImmediate
HighCore functionality, key user needsThis sprint
MediumImprovements, enhancementsNext 2-3 sprints
LowNice-to-have, minor improvementsBacklog

Prioritization Factors

FactorWeightQuestions
Business Value40%Revenue impact? User demand? Strategic alignment?
User Impact30%How many users? How frequently used?
Risk/Dependencies15%Technical risk? External dependencies?
Effort15%Size? Complexity? Uncertainty?

INVEST Criteria Validation

Before adding to sprint, validate each story:

CriterionQuestionPass If...
IndependentCan this be developed without other uncommitted stories?No blocking dependencies
NegotiableIs the implementation flexible?Multiple approaches possible
ValuableDoes this deliver user or business value?Clear benefit in "so that"
EstimableCan the team estimate this?Understood well enough to size
SmallCan this complete in one sprint?≤8 story points
TestableCan we verify this is done?Clear acceptance criteria

Reference Documentation

User Story Templates

references/user-story-templates.md contains:

  • Standard story formats by type (feature, improvement, bug fix, enabler)
  • Acceptance criteria patterns (Given-When-Then, Should/Must/Can)
  • INVEST criteria validation checklist
  • Story point estimation guide (Fibonacci scale)
  • Common story antipatterns and fixes
  • Story splitting techniques

Sprint Planning Guide

references/sprint-planning-guide.md contains:

  • Sprint planning meeting agenda
  • Capacity calculation formulas
  • Backlog prioritization framework (WSJF)
  • Sprint ceremony guides (standup, review, retro)
  • Velocity tracking and burndown patterns
  • Definition of Done checklist
  • Sprint metrics and targets

Tools

User Story Generator

# Generate stories from sample epic
python scripts/user_story_generator.py

# Plan sprint with capacity
python scripts/user_story_generator.py sprint 30

Generates:

  • INVEST-compliant user stories
  • Given-When-Then acceptance criteria
  • Story point estimates (Fibonacci scale)
  • Priority assignments
  • Sprint loading with committed and stretch items

Sample Output

USER STORY: USR-001
========================================
Title: View Key Metrics
Type: story
Priority: HIGH
Points: 5

Story:
As a End User, I want to view key metrics and KPIs
so that I can save time and work more efficiently

Acceptance Criteria:
  1. Given user has access, When they view key metrics, Then the result is displayed
  2. Should validate input before processing
  3. Must show clear error message when action fails
  4. Should complete within 2 seconds
  5. Must be accessible via keyboard navigation

INVEST Checklist:
  ✓ Independent
  ✓ Negotiable
  ✓ Valuable
  ✓ Estimable
  ✓ Small
  ✓ Testable

Sprint Metrics

Track sprint health and team performance.

Key Metrics

MetricFormulaTarget
VelocityPoints completed / sprintStable ±10%
Commitment ReliabilityCompleted / Committed>85%
Scope ChangePoints added or removed mid-sprint<10%
CarryoverPoints not completed<15%

Velocity Tracking

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

Definition of Done

Story is complete when:

  • Code complete and peer reviewed
  • Unit tests written and passing
  • Acceptance criteria verified
  • Documentation updated
  • Deployed to staging environment
  • Product Owner accepted
  • No critical bugs remaining

Source

git clone https://github.com/alirezarezvani/claude-skills/blob/main/product-team/agile-product-owner/SKILL.mdView on GitHub

Overview

Backlog management and sprint execution toolkit for product owners. It covers user story generation, acceptance criteria patterns, sprint planning, and velocity tracking.

How This Skill Works

Identify the persona and desired capability, craft INVEST-compliant user stories, and write testable acceptance criteria using Given-When-Then. Estimate story points with a Fibonacci scale, validate INVEST, and add items to the backlog with appropriate priority to guide sprint planning and velocity tracking.

When to Use It

  • When drafting a new feature or enhancement, write INVEST-compliant user stories.
  • When defining acceptance criteria, use Given-When-Then patterns to create testable criteria.
  • When planning a sprint, estimate story points and consider sprint capacity and velocity.
  • When breaking down epics, convert them into smaller, shippable stories for incremental delivery.
  • When prioritizing the backlog, align items with stakeholder value and velocity constraints.

Quick Start

  1. Step 1: Identify the persona, action, and value you want to deliver.
  2. Step 2: Write the user story using the standard template and create acceptance criteria with Given-When-Then; estimate points and validate INVEST.
  3. Step 3: Add to backlog with priority and use velocity to plan the upcoming sprint.

Best Practices

  • Use INVEST to ensure each story is Independent, Negotiable, Valuable, Estimable, Small, and Testable.
  • Write acceptance criteria in Given-When-Then and ensure they are testable.
  • Estimate with Fibonacci story points and validate against team velocity.
  • Break epics into small, actionable stories and avoid large, ambiguous tasks.
  • Regularly prioritize backlog by value and risk, updating based on sprint velocity.

Example Use Cases

  • 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.
  • As a user, I want to filter search results so that I find items faster.
  • As a user, I need faster page loads to complete tasks without frustration.
  • As a user, I expect my cart to persist when I refresh the page.
  • As a developer, I need to implement caching to enable instant search.

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers