Fix a UI bug with Design Mode
Design Mode collapses the "that button looks wrong" → "fixed commit" loop to under a minute.
Steps
- Open the worktree's browser pane. Navigate to the page with the bug.
- Toggle Design Mode on.
- Click the broken element. It lands in the agent chat as a rich attachment.
- Type what you want fixed: "this padding is too tight, increase to match the cards above."
- The agent edits the source. Hot reload refreshes the browser.
- Click the element again to verify — if still wrong, repeat.
- When it's right, commit.
Why it's fast
No screenshot, no DOM hunting, no selector copying. The agent gets the HTML, computed CSS, and a cropped image of the exact element you pointed at — the same context a human reviewer would want.