diff --git a/CLAUDE.md b/CLAUDE.md index f95bb927..68e7b155 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -77,15 +77,17 @@ Only update CLAUDE.md if you have **genuinely reusable knowledge** that would he - Keep changes focused and minimal - Follow existing code patterns -## Browser Testing (If Available) +## Browser Testing (Required for Frontend Stories) -For any story that changes UI, verify it works in the browser if you have browser testing tools configured (e.g., via MCP): +For any story that changes UI, you MUST verify it works in the browser: -1. Navigate to the relevant page -2. Verify the UI changes work as expected -3. Take a screenshot if helpful for the progress log +1. Load the `dev-browser` skill +2. Navigate to the relevant page +3. Verify the UI changes work as expected +4. Also verify that ALL other pages/routes still work (no 404s, no broken navigation) +5. Take a screenshot if helpful for the progress log -If no browser tools are available, note in your progress report that manual browser verification is needed. +A frontend story is NOT complete until browser verification passes. ## Stop Condition diff --git a/prompt.md b/prompt.md index cdebe901..66bbd7d8 100644 --- a/prompt.md +++ b/prompt.md @@ -87,7 +87,8 @@ For any story that changes UI, you MUST verify it works in the browser: 1. Load the `dev-browser` skill 2. Navigate to the relevant page 3. Verify the UI changes work as expected -4. Take a screenshot if helpful for the progress log +4. Also verify that ALL other pages/routes still work (no 404s, no broken navigation) +5. Take a screenshot if helpful for the progress log A frontend story is NOT complete until browser verification passes.