项目的 README,来自 github.com/oil-oil/oil-ui。合并为一个 markdown 文件:README.md。
English · 中文 · 日本語 · 한국어 · Deutsch · Español
Full-lifecycle UI/UX design skill for AI coding agents—covering 0→1 interface design, on-demand 3-direction comparison, screenshot recreation, isolated real-browser review, existing-codebase renovation, and DESIGN.md governance across Claude Code, Codex, Cursor, and any SKILL.md-compatible agent.
Browse 141 Examples → · Core Workflows · Quick Start (90s) · Walkthrough · Benchmark
Oil UI is not just a comparison generator—by default it recommends one clear visual direction and builds cleanly, switching workflows to match whatever UI task you hand it:
| Workflow | What it does | Edition |
|---|---|---|
| 0→1 interface design | Recommends one clear visual direction by default and builds responsive websites, apps, dashboards, or components | Open Source (multi-page rollout & workspace depth in Pro) |
| On-demand 3-direction comparison | Generates an offline side-by-side HTML comparison page from one brief so you pick before full build | Open Source |
| Screenshot & prototype recreation | Rebuilds layouts faithfully from screenshots with mobile adaptation; supports interactive pacing & real-time 3D scenes | Open Source (prototype-to-code mapping audit in Pro) |
| Isolated real-browser review & UX check | Read-only visual scoring on desktop/mobile screenshots + lightweight UX walkthrough without touching files (gracefully skips browser steps when unavailable) | Open Source (multi-round 9/10 polish & risk probes in Pro) |
| Existing-project UI & flow makeover | Diagnoses live screens and renovates UI, flows, or new features from shared tokens/components without breaking business logic | Pro (open source triages intent) |
DESIGN.md governance & deep polish |
Consolidates conflicting design docs into one DESIGN.md, runs structured revision rounds, and polishes single components |
Pro (open source flags conflicts) |
| Companion specialized skills | Free motion craft & frame-by-frame checker (oil-motion-effect); art-directed brand landing anchors (oil-art-landing) |
oil-motion-effect: Open Source · oil-art-landing: Pro |
Explore online first (no install): Open any of the 141 interactive live examples (each includes the prompt and model used), or step through the interactive walkthrough.
Run locally (~90 seconds):
npx skills add oil-oil/oil-ui --skill oil-ui
Or paste this into an agent that installs skills:
Install oil-ui for me by running: npx skills add oil-oil/oil-ui --skill oil-ui
-g for user-global instead of project-local):npx skills add oil-oil/oil-ui --skill oil-ui -a claude-code
npx skills add oil-oil/oil-ui --skill oil-ui -a cursor
npx skills add oil-oil/oil-ui --skill oil-ui -a codex
dsh plugin --profile web add github:oil-oil/dsh-oil-ui), which bundles the open-source edition and detects local Oil UI Pro installations automatically.oil-oil/oil-ui and copy SKILL.md, references/, assets/, and scripts/ into your host's skill directory (for example ~/.claude/skills/oil-ui or .cursor/skills/oil-ui).Use oil-ui to design and build a responsive pricing page for our team collaboration tool. Recommend one clear direction first before coding.
Use oil-ui to explore 3 distinct design directions for Orvo, an AI website & app builder with human experts on call. Put them on a side-by-side comparison page so I can pick one before building the full responsive page.
"Use oil-ui to review this homepage on desktop and mobile screenshots and list what to fix and why. Leave files untouched.""Use oil-ui to recreate this page faithfully from the screenshot and add a 390px mobile layout.""Use oil-ui to diagnose visual clutter on this existing page and propose improvements that follow our current design system without breaking logic."Share any brand assets, screenshots, or existing files you have. Intermediate drafts and screenshots stay in .oil-ui; final code and production assets are written directly to your project.
By default, Oil UI recommends one clear direction and confirms before building. When you ask to compare, it generates a portable offline HTML comparison page (scripts/build_explorer.py) where any two directions may share at most one trait across layout, typography, palette, and visual anchor—preventing color-swapped clones.
Candidates can be HTML files, images, or running localhost dev servers (with the current version placed first as a baseline). Toggle Desktop 1280 and Mobile 390, inspect any candidate at actual size, navigate with arrow keys, and click Select to copy a ready-to-paste choice back to your agent.
scripts/shoot.mjs), dispatches an isolated reviewer without build-history bias to score hierarchy and readability, and runs a lightweight UX walkthrough across primary flows.Host capability & fallback: Visual screenshot scoring requires an agent with image viewing plus local Chrome/Chromium/Edge (Node.js 22+); interactive walkthroughs require a runnable preview. On hosts without vision or a local browser, Oil UI still delivers the direction, layout, and code cleanly and skips screenshot-dependent checks rather than fabricating results.
oil-motion-effectGive AI-built interfaces tactile motion instead of sluggish default fades: presses respond immediately, popovers originate from their trigger, exits settle cleanly, and spring presets stay crisp without bouncy overshoot. Includes motion_check.mjs to flag boilerplate CSS/JS transitions and capture frame-by-frame contact sheets.
npx skills add oil-oil/oil-ui --full-depth --skill oil-motion-effect
(--full-depth is required because oil-motion-effect lives in skills/oil-motion-effect/ alongside the root oil-ui skill.)
Explore interactive motion demos & guide →
frontend-design, UI UX Pro Max, Impeccable, and a no-skill control, with screenshots and live HTML demos.DESIGN.md.The open-source edition covers designing a new page from a blank start through visual review and a lightweight UX walkthrough. Upgrade to Oil UI Pro when you are renovating an existing codebase without breaking logic, governing a shared DESIGN.md across multi-page products, running optional multi-round polish loops, or building art-directed brand landing pages.
| Capability | Oil UI (Open Source) | Oil UI Pro |
|---|---|---|
| Design direction: category framing, tone, distinct directions, comparison page | ✓ | ✓ |
| Visual craft: hierarchy, typography, color, spacing, imagery, scroll storytelling | ✓ | ✓ |
| Screenshot recreation & real-time 3D / pacing for interactive mini-games | ✓ | ✓ |
Companion open-source motion skill (oil-motion-effect) |
✓ (manual install) | ✓ (auto-installed) |
| Independent review | 1-round visual score + lightweight UX walkthrough | Blind review + optional multi-round 9/10 polish, overlap checks & autonomous UX risk probes |
| Usability depth: forms, states, dialogs/popovers, full desktop & mobile rules | ✓ | |
| Dashboards & workspaces: object-led layouts held consistent across the app | ✓ | |
| Existing codebases: separate paths for UI refresh, flow fix, and new features | Identifies which path fits | ✓ |
| Prototype to production code: component mapping table & side-by-side audit | Avoids raw copy-paste | ✓ |
Design system governance: write DESIGN.md & consolidate conflicting rules |
Flags conflicts | ✓ |
| Multi-page sets, structured revision rounds & single-component deep polish | ✓ | |
| 19 coded card prototypes, spatial expansion containers & SVG/shader effects | ✓ | |
Included free companion oil-art-landing (desktop & mobile visual anchors) |
✓ |
oil-art-landingBeyond product UI and workspaces, Oil UI Pro includes the standalone companion skill oil-art-landing at no extra cost: a library of desktop and mobile visual anchors (infrared film, polar glacier, X-ray darkroom, sunlit conservatory, fluted glass, cotton letterpress, terracotta dunes, optical ice, indigo shibori, and more) with a derivation grammar to compare 3 directions and hand off clean foreground-occlusion layers into live code. Explore 20 interactive live examples →
Pricing & install: Oil UI Pro is a one-time purchase ($19.99 with lifetime updates, 100 image-generation credits, oil-art-landing included free, and oil-motion-effect auto-installed). See current details & checkout at ui.oiloil.org/en/pro, or let your agent guide sign-in, payment, and setup:
npx github:oil-oil/oil-cli install oil-ui-pro
SKILL.md-compatible agent.scripts/build_explorer.py) requires Python 3.10+; optional screenshot/media helpers require Node.js 22+ and local Chrome/Chromium/Edge.ui.oiloil.org's public version list at most once every 10 minutes and uploads nothing from your project. Notifies only—nothing is downloaded or replaced unless you explicitly ask to update. Cached in ~/.local/state/oil/ (XDG_STATE_HOME if set; %LOCALAPPDATA%\oil\ on Windows); set OIL_NO_UPDATE_CHECK=1 to disable.