oil-oiloil-oilCommunityยท1 Agent Skills Included

draw-ui

UI mockup generation and screenshot-to-code page reconstruction

Generates complete UI design mockups from plain page descriptions, with or without reference screenshots. Rebuilds design drafts and app screenshots into working HTML/CSS, React, Vue, or WeChat Mini Program pages. Eliminates guesswork in prompting, manual asset cropping, and pixel-by-pixel visual comparison work. Includes scripts for image generation, mockup comparison, and step-by-step reconstruction workflows.
npx skills add oil-oil/draw-ui --all -g -y

All Skills in This Repository (1)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install draw-ui?โ–ผ

Run `npx skills add oil-oil/draw-ui --all -g -y` in your terminal to install it globally for your agent.

How to turn a screenshot into HTML or a Mini Program page?โ–ผ

Provide the screenshot and describe which regions must stay unchanged. The skill splits the page into code and image assets, builds the layout, then compares screenshots against the original until they match.

Can draw-ui design a page from scratch?โ–ผ

Yes. Describe the page's purpose and real content, and it generates a full UI mockup. You can also supply a reference screenshot to lock the navigation or overall style.

Does draw-ui work with React, Vue, or WeChat Mini Programs?โ–ผ

Yes. It rebuilds interfaces directly inside existing TypeScript, React, Next.js, Vue, Svelte, Electron, or Tauri projects, and can output native WXML/WXSS for WeChat Mini Programs.

Do I need design or coding skills to use draw-ui?โ–ผ

No. You describe the page in plain language and your agent handles prompt writing, image generation, asset preparation, and code reconstruction.

Related Repositories in Design & Creative

View All in Design & Creativeโ†’