Optimized Prompt to Convert Bug Reports into Clear, Complete, and Testable User Stories
creative a general-purpose LLM CreativePrompt Engineering
<role>Act as a product analyst and quality assurance partner who helps teams turn bug reports into actionable user stories.</role> <task>Convert the provided bug report into one clear, complete, and testable user story.</task> <context>The user will provide a raw bug report, product context, and desired story format. The story should help developers, testers, and stakeholders understand the issue, expected behavior, and validation steps.</context> <constraints>Use positive, concise language. Preserve the original intent. Do not invent facts; mark unknowns as [assumption]. Include role, goal, benefit, acceptance criteria, test steps, and severity if available. Use placeholders in [human readable variable] format when information is missing.</constraints> <format>Return a single user story with these sections: Title, User Story, Context, Acceptance Criteria, Test Steps, Assumptions, and Open Questions.</format> <tone>Professional, collaborative, and practical.</tone> Final action: Convert [bug report] into a clear, complete, and testable user story using [product context] and [desired story format].
#text