Skill Spotlight: Oil UI for Comparing First-Screen Design Directions
In Short
Oil UI helps a coding agent make interface design decisions visible before building a whole page. This skill spotlight covers the Oil UI entry added to ASE on October 23: compare first-screen directions using a fixed product brief, record a choice, then refine the selected page against desktop and mobile screenshots.
The official Oil UI repository currently recommends one direction by default; several alternatives require an explicit comparison request. Ask for rendered previews when you want pictures rather than written direction cards. The workflow below is a suggested review exercise, not a report of an installation or product test performed for this article.
Who this is for
Use this approach when a founder, designer, or frontend engineer can explain the product but cannot yet choose its visual direction. A course-booking page, for example, might need to feel welcoming without hiding dates, prices, or availability. Comparing the same offer across compositions makes that tradeoff discussable.
This is a design-selection step. ASE’s Figma context guide addresses bringing existing design information into an agent session. Its browser automation review packet addresses safe execution and verification. Read those when you already have a direction and need context or operational checks.
Starter workflow
- Install the complete upstream package. Upstream documents
npx skills add oil-oil/oil-ui. Keep its references, scripts, and assets together; copying only SKILL.md loses the comparison and evidence helpers. Inspect the installed instructions before using commands, and keep project conventions authoritative. - Freeze the comparison facts. Write one brief containing audience, primary task, exact product content, brand constraints, assets, and target viewport. For the booking example, reuse the same course description, dates, price, and booking action in every candidate. Otherwise better copy can disguise a weaker composition.
- Request three rendered first screens. Make the number and deliverable explicit. Upstream’s exploration protocol separates written directions from rendered candidates. Keep this round to a representative first screen and main state; build the chosen direction further after selection.
- Assemble and compare. The comparison-page reference supports candidate HTML, running local pages, or images when runnable pages are unavailable. With Python 3.10 or later, run
python3 <skill>/scripts/build_explorer.py <candidate-directory>. Here,<skill>means the installed package directory. Inspect candidates at actual size before judging text readability. - Record the selection, then refine. Copy the comparison page’s selection sentence back into the agent conversation. Match its round and number to the current candidates, and save the choice and rationale in the design notes. Then inspect the refined page at desktop and mobile sizes using the upstream screenshot tooling guidance.
| Stage | Evidence to keep |
|---|---|
| Fixed brief | One audience, content set, primary action, and viewport |
| Comparison | Distinct first screens with readable actual-size views |
| Choice | Candidate number, round, rationale, and requested changes |
| Refinement | Inspected desktop/mobile screenshots and open issues |
A useful starter request is: βUse oil-ui to compare three rendered first-screen directions for our course-booking page. Keep the supplied course facts and booking action constant. Show them on one comparison page, recommend one with reasons, and wait for my choice before completing the page.β Add your real brief below that request.
Recommended ASE skills
- Compare UI design directions with Oil UI: start here for the spotlight’s source-backed entry, package prerequisites, and design acceptance boundary.
- Verify local web apps with Playwright scripts and managed dev servers: consider this for a later interaction-verification task once the selected page runs.
- axe-core Accessibility Testing Engine: consider a separate accessibility check on the selected implementation. Keep manual review in the acceptance plan.
- Frontend Design Guidance Skill: consult this ASE entry when planning the implementation handoff. Check its upstream material and setup requirements before adding it to your project.
- Frontend Design Review: use this ASE entry to plan a separate review of the chosen implementation. Give the reviewer the fixed brief, recorded selection, screenshots, and outstanding concerns.
What to watch
The comparison page does not write the user’s selection back into project files or message the agent automatically. A saved note closes that handoff. Suggested note: βRound 1, candidate 02: retain its course-first hierarchy; reduce image height; keep the supplied price visible.β
Bundled screenshot tooling needs Node.js 22 and Chrome, Chromium, or Edge; upstream permits equivalent host browser tools when those are unavailable. Image inspection is necessary for visual acceptance, and a running, operable page is necessary for interaction acceptance. A captured image alone does not establish that booking works.
Open-source Oil UI and Oil UI Pro have different scopes. Check the repository’s feature comparison before assuming a Pro capability is included. This exercise covers design direction and rendered evidence; keep backend behavior, accessibility review, and unresolved states explicitly assigned in the handoff.
FAQ
Does every task need three directions?
No. The current default is one recommended direction. Ask for alternatives when a real design decision remains open; otherwise spend the time refining the selected page.
Can screenshots replace runnable candidates?
They can support visual comparison when runnable pages are unavailable. Label that limitation: screenshots do not prove interaction behavior, responsive transitions, or saved data.
What should the final handoff contain?
Keep the brief, comparison, recorded choice, refined files, inspected screenshots, and remaining issues together. Start with one representative screen, make the decision traceable, and expand only after that direction is accepted.
