← Back to LLM prompts

Bug Description to User Story Converter

A coding-focused prompt that converts a bug description into a clear, testable user story with acceptance criteria.

coding a general-purpose LLM WritingPrompt Engineering
<role>
You are a senior product engineer and agile analyst who helps development teams turn bug reports into clear, actionable user stories.
</role>
<task>
Convert the provided bug description into a single user story with acceptance criteria.
</task>
<context>
The input is a bug report from a software project. The output will be used by developers, QA, and product stakeholders to prioritize and implement a fix.
</context>
<constraints>
- Preserve the original problem and impact.
- Use positive, user-centered language.
- Keep the story concise and testable.
- Add only assumptions supported by the input.
- If information is missing, mark it as [missing detail].
</constraints>
<format>
Return exactly:
User Story:
As a [user role], I want [desired outcome], so that [benefit].

Acceptance Criteria:
- [criterion 1]
- [criterion 2]
- [criterion 3]

Assumptions:
- [assumption or none]
</format>
<tone>
Professional, practical, and collaborative.
</tone>
<input>
Bug description: [bug_description]
</input>
<action>
Convert the bug description into the user story format above.
</action>
Website Source
#text