Fixing UX paper cuts in code
About 30% of my week goes to UI paper cuts and user requests, which I fix directly in production code. These are the small things that slow people down: a layout that breaks when two panels sit side by side, a status color that means one thing on one screen and something else on the next, or a default that doesn't do what its label says.
Here's the process that works for me, using a recent banner fix as the example.
Pick • Think small and scoped
- Log design bugs and user requests in your team's regular backlog, so they're planned like any other work.
- Sit down with your engineers each week to set goals and agree on which tickets you'll take. Simple front-end design changes usually get assigned to me.
Understand • Think context before code
- Pull the Linear ticket into Claude, check out a branch, and point Claude at that part of the code.
- Ask "what touches this feature?" to see which pages are affected, and "what else breaks if we do X?" to find dependencies you won't see in the design file.
- Ask for the error, empty, and loading states, and check that the requirements cover them.
Build • Think outcome, not instructions
- The ticket already holds the context, so the only line you need to add is the outcome you want. For the banner, a few bugs kept coming from that section, and this was the whole prompt:
Switch to branch <ticket-id> and work on <Linear ticket link>. Context: clean up the banner section and add the ability to collapse or dismiss it. - Check changes locally as you go, in the browser, before moving on.
- Commit changes to a draft PR that follows a set PR template, with before and after images an engineer can scan.
## Loom <link to a short walkthrough of the change> ## Short Description Cleans up the banner section and adds the ability to collapse or dismiss it. Fixes <Linear ticket link>. ## Before and After | Before | After | | Banner section, current state | Cleaned-up banner | | Banner can't be hidden | Banner can be collapsed or dismissed | ## Test Plan - Checked locally in the browser - Checked error, empty, and loading states - No build or CI failures ## Checklist for PR Authors - [ ] Uses an existing design system component - [ ] Small, focused diff - [ ] Before and after images added
Review and ship • Think small diffs and clear handoffs
- Watch the line count. A banner cleanup shouldn't be a big diff. When it is, Claude has usually built custom code instead of using the right variation of an existing component.
- Test it yourself against your source assets, and make sure there are no build or CI failures.
- Mark it ready for review. It merges once it's been reviewed.
My first PRs were copy changes, ten lines at most. They taught me how my engineers work and what review feels like. If you're a designer about to open your first PR, start there!