# Story Prompt Template

Use this when working on a backlog story implementation.

```text
Work Type: Story
Backlog Item: CW-STORY-XX.X
Goal: [specific outcome to implement]
Why: [business or user reason]
Scope: [what is in scope for this story slice]
Out of Scope: [what must not be changed or expanded]
Constraints: Follow AGENTS.md, CLAUDE.md, docs/scrum-backlog.md, docs/decision-log.md, docs/release-mvp-checklist.md, and docs/prompt-process.md. Stay within MVP unless explicitly told otherwise.
Definition of Done: [testable finish line]
Deliverables: [code changes, tests, docs updates, backlog updates]
If you discover scope, architecture, or release-plan impacts, update the relevant docs before finishing.
```

## Example

```text
Work Type: Story
Backlog Item: CW-STORY-03.3
Goal: Implement free-text grocery item creation on the active list
Why: Users need to capture grocery needs without product resolution
Scope: Add-item flow, validation, controller action, Razor form, and persistence
Out of Scope: Barcode work, external providers, shopping mode changes, and unrelated refactors
Constraints: Follow AGENTS.md, CLAUDE.md, docs/scrum-backlog.md, docs/decision-log.md, docs/release-mvp-checklist.md, and docs/prompt-process.md. Stay within MVP unless explicitly told otherwise.
Definition of Done: User can add a free-text item and see it on the list; relevant tests updated; backlog updated
Deliverables: Code changes, tests, and updates to docs/scrum-backlog.md
```
