Refreshing Existing Project UI & Fixing Clunky Flows Without Breaking Logic
Generating a greenfield demo from scratch is easy; renovating a live production app without breaking API contracts, form validation, or URL state is where one-shot AI prompts fall apart. The safe path is to lock your non-negotiable business logic first, follow a step-by-step renovation scope, walk the real task by counting clicks, and extract a shared DESIGN.md from your first finished screen.
list the API payloads, route params, and form handlers the agent must not touch.
Step 1 strips border and color noise, Step 2 upgrades layout and missing states, and Step 3 collapses multi-page modal chains.
Verify usability by counting clicks—cutting an 8-click detail-page loop down to 2 inline batch actions beats a cosmetic reskin.
- Clicks to complete
- 2steps
- Page transitions
- 0pages
- Backtracking risk
- Zero jumps · split preview + 1-click batch & undo
Zhou Yu · Xiaoman Books
Autumn book fair & membership cards
- Last sent
- Oct 06 · Draft proposal delivered
- Status
- Awaiting client reply
“The draft for autumn book fair & membership cards is ready for your review. With confirmation this week, we can keep the next stage on schedule.”
Three Steps of UI Renovation: Choose Your Blast Radius
npx github:oil-oil/oil-cli install oil-ui-proTo try basic direction boards and anti-slop cleanup on a single screen first, run npx skills add oil-oil/oil-ui for the free skill.
- Once your flagship screen passes review, save its tokens, type scale, and spacing into DESIGN.md so every sibling route matches.
Teams often hesitate to let an coding agent touch production views because a vague prompt like "make this page look nicer" can scramble component props or delete working filters. In Oil UI (and specifically the existing-project workflow in Oil UI Pro), renovations follow three explicit steps:
| Step | When to use it | What changes | What stays untouched |
|---|---|---|---|
| Step 1: Tidy up visual noise | The flow works, but borders, font sizes, spacing and colors feel cluttered or dated | Typographic scale, border subtraction, alignment, color restraint and card cleanup | DOM structure, routes, state hooks and every interaction flow |
| Step 2: Upgrade layout & states | Visual hierarchy is flat, key actions are buried, or loading/empty/error states are missing | Section hierarchy, multi-column proportions, responsive breakpoints and complete UI states | Backend API contracts, business logic and cross-page navigation |
| Step 3: Rework clunky flows & extract DESIGN.md | Users click through stacked modals or fragmented screens to finish basic tasks | Step consolidation, inline editing, flagship screen redesign and repository-wide DESIGN.md | Underlying domain model and data integrity rules |
Working gallery examples & prompts
Browse collection →Renovate live production apps safely with Oil UI Pro
Vague redesign prompts often break working filters and form handlers. Oil UI Pro diagnoses your live screen from screenshots first, renovates in three controlled steps, counts clicks across the real task, and extracts a repo-wide DESIGN.md ($9.99 one-time purchase).
Explore Oil UI Pro →npx github:oil-oil/oil-cli install oil-ui-proCommon questions
Should I define global CSS tokens first or renovate one real screen first?
Renovate one representative screen first. Abstract token files written in a vacuum rarely survive contact with real table density and form states. Perfecting one flagship screen with real data makes extracting accurate tokens into DESIGN.md straightforward.
Can I renovate a legacy app incrementally without rewriting third-party widgets?
Yes. A Step 1 or Step 2 pass can reorganize the page grid, typography, spacing and surrounding states while leaving complex embedded widgets untouched until you are ready to replace them.
How do I verify that a redesign actually improved usability?
Check two things: first, blur the text to confirm the primary action and exception states stand out structurally; second, complete the main user task in the browser and verify that click count, scroll hunting and error recovery are faster than before.
Where does DESIGN.md live once extracted?
Keep DESIGN.md in your repository root or docs/ folder. Whenever you or a teammate build a new feature in Claude Code, Codex or Cursor, point the agent to DESIGN.md so new screens match the established system.


