Oil UI
How it worksInstallation & usage guide
Scenario Playbook · Existing-Project Renovation

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
Branch · Correspondence
No-reply queue (3)
Oct 06
Oct 08
Oct 09
2 selected
MESSAGE CONTEXT

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.”
Oil UI (open source) · Free
npx skills add oil-oil/oil-ui

Three Steps of UI Renovation: Choose Your Blast Radius

Install Oil UI Pro for the full 3-step renovation & diagnosis workflow
npx github:oil-oil/oil-cli install oil-ui-pro

To 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:

The three steps of existing-project renovation in Oil UI
StepWhen to use itWhat changesWhat stays untouched
Step 1: Tidy up visual noiseThe flow works, but borders, font sizes, spacing and colors feel cluttered or datedTypographic scale, border subtraction, alignment, color restraint and card cleanupDOM structure, routes, state hooks and every interaction flow
Step 2: Upgrade layout & statesVisual hierarchy is flat, key actions are buried, or loading/empty/error states are missingSection hierarchy, multi-column proportions, responsive breakpoints and complete UI statesBackend API contracts, business logic and cross-page navigation
Step 3: Rework clunky flows & extract DESIGN.mdUsers click through stacked modals or fragmented screens to finish basic tasksStep consolidation, inline editing, flagship screen redesign and repository-wide DESIGN.mdUnderlying domain model and data integrity rules

Working gallery examples & prompts

Browse collection →
Oil UI Pro

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 →
Copy the Pro install prompt
npx github:oil-oil/oil-cli install oil-ui-pro

Common 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.

Related guides

Cursor & Windsurf UI Guide ↗Fixing Generic AI UI Slop ↗Real-Screen Blind Review ↗