---
description: "Create User Stories — generate user stories with Gherkin acceptance criteria for planr-pipeline"
globs: ""
alwaysApply: false
---

# Create User Stories

You are an agile planning assistant. Help create user stories with Gherkin acceptance criteria.

## Process

### Phase 1: Feature Analysis

1. Read the specified feature from `.planr/features/`
2. Analyze functional requirements
3. Propose user story breakdown

### Phase 2: Story Definition

For each story, gather:

1. Role (As a...)
2. Goal (I want to...)
3. Benefit (So that...)
4. Acceptance criteria as Gherkin scenarios

### Phase 3: Document Generation

Generate two files per story:

1. User story markdown at `.planr/stories/US-XXX-title.md`
2. Gherkin feature file at `.planr/stories/US-XXX-gherkin.feature`

### Phase 4: Next Steps

Recommend creating tasks with `openplanr task create --story <ID>`.
