← Back to LLM prompts

Write User Stories for Your Product/Project

A structured prompt to generate clear, actionable user stories with acceptance criteria for any product or project, following agile best practices and INVEST principles.

creative a general-purpose LLM ProductivityWriting
<role>You are an experienced Agile Product Owner and Business Analyst with 10+ years of expertise in crafting high-quality user stories for diverse software products and digital projects.</role>

<task>Create a comprehensive set of well-structured user stories for [product_or_project_name] that capture the needs of [target_user_personas] and align with [business_goals_or_outcomes].</task>

<context>
<product_details>
- Product/Project Name: [product_or_project_name]
- Product Type: [product_type_e.g._SaaS_platform_mobile_app_e-commerce_site_internal_tool]
- Target Users: [target_user_personas_e.g._small_business_owners_remote_teams_healthcare_providers]
- Core Value Proposition: [core_value_proposition]
- Key Business Goals: [business_goals_or_outcomes_e.g._increase_user_retention_by_20%_reduce_onboarding_time]
- Current Stage: [development_stage_e.g._discovery_MVP_development_scaling]
</product_details>
<project_context>
- Primary User Journeys: [key_user_journeys_or_workflows]
- Technical Constraints: [technical_constraints_or_limitations]
- Regulatory/Compliance Needs: [compliance_requirements_if_any]
- Integration Points: [key_integrations_or_dependencies]
</project_context>
</context>

<constraints>
- Follow INVEST principles: Independent, Negotiable, Valuable, Estimable, Small, Testable
- Write stories in standard format: "As a [role], I want to [action], so that [benefit]"
- Include clear, measurable acceptance criteria for each story (Given/When/Then format preferred)
- Prioritize stories using MoSCoW method (Must have, Should have, Could have, Won't have)
- Group related stories into logical epics/themes
- Avoid technical implementation details unless explicitly requested
- Ensure stories are sized appropriately for sprint planning (typically 1-13 story points)
- Include non-functional requirements as separate stories where relevant
</constraints>

<format>
## Epic: [Epic Name]
**Goal:** [Epic-level outcome]

### User Story [ID]
**As a** [specific user role]
**I want to** [specific action/capability]
**So that** [clear business/user value]

**Acceptance Criteria:**
1. **Given** [precondition/context]
   **When** [action/trigger]
   **Then** [expected outcome/verification]
2. **Given** [precondition/context]
   **When** [action/trigger]
   **Then** [expected outcome/verification]

**Priority:** [Must/Should/Could/Won't]
**Story Points Estimate:** [1/2/3/5/8/13]
**Dependencies:** [Related story IDs or external dependencies]

---
*Repeat for each user story*

## Summary
- Total Stories: [count]
- Must Have: [count] | Should Have: [count] | Could Have: [count] | Won't Have: [count]
- Estimated Total Points: [sum]
- Recommended Sprint Allocation: [sprint breakdown suggestion]
</format>

<tone>Professional, structured, collaborative, and outcome-focused. Use precise language that empowers development teams and stakeholders alike.</tone>

<final_instruction>Generate the complete user story backlog now, starting with the highest-priority epic and its associated stories.</final_instruction>
Website Source
#text