The dev-browser skill is typically installed separately. Check if you have it:
ls ~/.config/amp/skills/ | grep browser
If not installed, you’ll need to add a browser automation skill compatible with Amp.
2
Add to acceptance criteria
For any UI story, include this criterion:
{ "id": "US-003", "title": "Add status badge to task cards", "acceptanceCriteria": [ "Each task card shows colored status badge", "Badge colors: gray=pending, blue=in_progress, green=done", "Typecheck passes", "Verify in browser using dev-browser skill" ]}
3
Configure your dev server
Ensure your dev server can be started and accessed at a known URLAdd to your customized prompt.md:
## Browser TestingFor UI stories:1. Ensure dev server is running on http://localhost:30002. Load the `dev-browser` skill3. Navigate to the relevant page4. Verify the changes work as expected5. Take a screenshot for the progress log
When Ralph encounters a story with browser verification:
1
Load the skill
Ralph will load the dev-browser skill:
Load the dev-browser skill
2
Navigate to the page
Ralph navigates to the URL where changes should be visible:
Navigate to http://localhost:3000/tasks
3
Interact with UI
Ralph performs actions to verify behavior:
Click the status dropdown on the first taskVerify the options appear: Pending, In Progress, DoneSelect "In Progress"Verify the badge color changes to blue
4
Take screenshot
Ralph captures evidence for the progress log:
Take a screenshot showing the blue badge
5
Document in progress.txt
Ralph records what was verified:
## 2026-03-11 14:30 - US-003- Added status badge component to task cards- Verified in browser: - All three status colors render correctly - Badge appears on each task card - Screenshot: [attached]
Claude Code doesn’t have built-in browser automation, but you can use MCP (Model Context Protocol) servers:
Using Playwright MCP with Claude Code
## Browser Testing (via Playwright MCP)For UI stories, verify changes using the Playwright MCP server:1. Ensure dev server is running on http://localhost:30002. Use Playwright MCP tools to: - Navigate to the page - Interact with elements - Take screenshots3. Document verification in progress.txtExample:
Use playwright_navigate to http://localhost:3000/tasks
Use playwright_click on the status dropdown
Use playwright_screenshot to capture the result
If browser tools are not available, note in progress.txt that manual browser verification is needed after the iteration completes.
"acceptanceCriteria": [ "Status dropdown appears when clicking the badge", "Dropdown shows three options: Pending, In Progress, Done", "Selecting an option updates the badge color immediately", "Badge colors: gray (pending), blue (in progress), green (done)", "Verify in browser using dev-browser skill"]
Acceptance Criteria:- New "Export" button appears in the toolbar- Button has a download icon- Button is positioned to the right of the filter dropdown- Verify in browser using dev-browser skillRalph will:1. Navigate to the page2. Locate the toolbar3. Confirm button exists with correct icon and position4. Screenshot the toolbar
Verify interaction works
Acceptance Criteria:- Clicking "Mark as done" changes task status- Task moves to the "Completed" section- Page updates without refresh- Verify in browser using dev-browser skillRalph will:1. Navigate to the tasks page2. Click "Mark as done" on a task3. Verify the task moves to completed section4. Verify no page reload occurred5. Screenshot before and after
Verify form validation
Acceptance Criteria:- Submitting empty form shows "Title is required" error- Error appears below the title input- Error is red text- Verify in browser using dev-browser skillRalph will:1. Navigate to the form2. Click submit without entering data3. Verify error message appears4. Verify error styling5. Screenshot the validation error
Verify responsive design
Acceptance Criteria:- Navigation collapses to hamburger menu on mobile (< 768px)- Clicking hamburger opens slide-out menu- Menu items are stacked vertically- Verify in browser using dev-browser skill at mobile viewportRalph will:1. Navigate to the page2. Resize viewport to 375x667 (iPhone)3. Verify hamburger menu appears4. Click to open menu5. Verify vertical layout6. Screenshot mobile view