yueban-image-to-code
Pixel-perfect UI screenshot to code with transparent PNG slicing
All Skills in This Repository (1)
Pure Emerald Level IndicatorsFrequently Asked Questions
FAQPage SchemaHow to install yueban-image-to-code?โผ
Run `npx skills add SemineChen/yueban-image-to-code --all -g -y` in your terminal to install this skill globally.
How to convert a UI screenshot into code?โผ
Select your UI image and invoke the skill; it scales the design to a 750px canvas, records every layer in a manifest, and rebuilds the layout with exact coordinates, colors, and fonts.
How to export transparent PNG assets from a design?โผ
The skill measures each element's bounding box, previews it for accuracy, then exports icons, avatars, and illustrations as transparent PNGs without trimming or edge clipping.
Does it work with Codex and other coding agents?โผ
Yes. It follows the standard SKILL.md format and runs in Codex, Claude Code, Cursor, and other compatible coding environments.
How is the final page verified against the original design?โผ
Built-in scripts audit PNG transparency and dimensions, then compare the rendered 750px screenshot against the source image to catch any offset, missing, or cropped elements.
Related Repositories in Software Engineering
View All in Software Engineeringโopenclaw
Run a personal AI assistant across your devices and chat apps
superpowers
Gives coding agents a disciplined workflow from idea to merged code
react
AI agent skills for building, testing, and porting React core