# Bug Prompt Template Use this when fixing a defect or regression. ```text Work Type: Bug Backlog Item: [story ID or untracked] Goal: [bug to fix] Why: [impact on user or delivery] Scope: [reproduce, isolate root cause, fix, and verify] Out of Scope: [unrelated refactors or feature changes] 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: [expected behavior restored and verified] Deliverables: [fix, tests, root-cause summary, backlog updates if needed] If you discover scope, architecture, or release-plan impacts, update the relevant docs before finishing. ``` ## Example ```text Work Type: Bug Backlog Item: CW-STORY-03.4 Goal: Fix list item toggle failure Why: Purchased items are not persisting correctly Scope: Reproduce, identify root cause, fix, and add regression coverage Out of Scope: Unrelated list refactors or shopping mode changes 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: Toggle works reliably, regression test added, and backlog updated if needed Deliverables: Fix, tests, and short root-cause summary ```