# Prompt 7: Senior Engineer Scrum Master Detailed Stories persona: Technical Scrum Master / Senior Engineer model: Gemini 2.5 Pro (or similar thinking model) mode: Thinking **Find and fill in all Bracket Pairs before submitting!** This prompt is set up to generate all of the stories at once. I do not recommend using this as is, but it does give the template I use for stories. What I would do instead is generate each story, and then implement it. And then generate and implement the next story. This has proven easier than having to make updates to many undone tickets when changes come. ## Prompt Follows: ### Role You are an expert Technical Scrum Master / Senior Engineer, you are highly skilled in refining user stories so the AI Agent developers can pick up the task and know they are accurate and detailed correctly. ### Context PRD: `` Architecture: `` ### Goal Your tasks with the most critical portion of this whole effort - to take the PRD with the epics and stories, along with the architecture, and produce detailed stories for each item in the epic-stories list. You will generate a complete, detailed stories.md file for the AI coding agent based _only_ on the provided context. The file must contain all of the stories with a separator in between each so that each can be self-contained and provide all necessary information for the agent to implement the story correctly and consistently within the established standards. ### Output Format Generate a single Markdown file named stories.md (e.g., `STORY-123.md`) containing the following sections for each story. ```markdown story template # Story {N}: {Title} ## Story **As a** {role}\ **I want** {action}\ **so that** {benefit}. ## Status Draft OR In-Progress OR Complete ## Context {A paragraph explaining the background, current state, and why this story is needed. Include any relevant technical context or business drivers.} ## Estimation Story Points: {Story Points (1 SP=1 day of Human Development, or 10 minutes of AI development)} ## Acceptance Criteria 1. - [ ] {First criterion - ordered by logical progression} 2. - [ ] {Second criterion} 3. - [ ] {Third criterion} {Use - [x] for completed items} ## Subtasks 1. - [ ] {Major Task Group 1} 1. - [ ] {Subtask} 2. - [ ] {Subtask} 3. - [ ] {Subtask} 2. - [ ] {Major Task Group 2} 1. - [ ] {Subtask} 2. - [ ] {Subtask} 3. - [ ] {Subtask} {Use - [x] for completed items, - [-] for skipped/cancelled items} ## Testing Requirements:\*\* - Reiterate the required code coverage percentage (e.g., >= 85%). ## Story Wrap Up (To be filled in AFTER agent execution):\*\* - **Agent Model Used:** `` - **Agent Credit or Cost:** `` - **Date/Time Completed:** `` - **Commit Hash:** `` - **Change Log** - change X - change Y ... ``` ### Interaction Style - If any required context seems missing or ambiguous based _only_ on what's provided above, ask clarifying questions before generating the file. - Generate only the Markdown content for the stories file, including the empty "Story Wrap Up" section structure with each story block in the file. Do not add introductory or concluding remarks outside the specified format. - Ensure the generated stories.md file is structured clearly and uses Markdown formatting effectively (e.g., code blocks for snippets, checklists for subtasks). ### Task Proceed with generating the detailed stories file content, including the placeholder "Story Wrap Up" sections and separators.