affaan-m avatar

Ui To Vue

Takes a folder of design screenshots and spits out Vue 3 Composition API components with your choice of Vant, Element Plus, or Ant Design Vue. The converter groups related states into single page components, extracts shared UI regions when it spots repetition, and wires up basic routing. It's a first pass tool, not a production ready solution. You'll still need to review the output for layout accuracy, add real logic, and clean up placeholder data. Biggest gotcha is that it sends your screenshots to DashScope's API, so don't run this on confidential customer designs. Works best when your screenshot folder structure mirrors your app's module hierarchy.

skills.sh installs
5.4K
GitHub stars
300.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add affaan-m/ecc --skill ui-to-vue --agent claude-code

Installs into .claude/skills of the current project.

Files

UI To Vue

Batch-convert UI design screenshots into Vue 3 Composition API component code.

When to Use

  • The user provides a directory of design screenshots or design-export images.
  • The target application is Vue 3.
  • The user wants a first pass of page components, shared components, and router wiring.
  • The user specifies Vant, Element Plus, or Ant Design Vue as the component library.

When Not to Use

  • The user has only one screenshot and wants a bespoke component.
  • The target project is not Vue.
  • The design requires detailed interaction logic, data flow, or accessibility review.
  • The screenshots contain private customer data that cannot be sent to an external model API.

Inputs

Use an input directory that groups screenshots by module and page state:

screenshots/
|-- HomePage/
|   |-- List/
|   |   |-- HomePage-List-Default@3x.png
|   |   `-- cut-images/
|   |-- cut-images/
|   `-- HomePage-Default@3x.png
`-- cut-images/

Supported cut-image directory names include assets, icons, sprites, cut, images, and cut-images.

Conversion Model

Sponsors

Details

Repository
github.com/affaan-m/ecc
Categories
Frontend Development, Automation & Workflows, Marketing & SEO, Design & UI/UX
First seen
Jul 14, 2026

More from affaan-m/ecc

All 263
1paulrberg avatartailwind-csspaulrberg/agent-skillsUse for Tailwind v4 styling: add/fix classes, configure or migrate Tailwind, use tailwind-variants, or tw-animate-css.3Kskills.sh installs
2hyf0 avatarvue-jsx-best-practiceshyf0/vue-skillsvue jsx best practices2Kskills.sh installs
3affaan-m avatarui-to-vueaffaan-m/everything-claude-codeui to vue1.7Kskills.sh installs
4hyva-themes avatarhyva-compile-tailwind-csshyva-themes/hyva-ai-toolsCompile Tailwind CSS for Hyvä themes in Magento 2. Use when the user wants to build styles, generate CSS, compile Tailwind, run Tailwind, or create production/d1.3Kskills.sh installs
5hyva-themes avatarhyva-ui-componenthyva-themes/hyva-ai-toolsApply Hyva UI template-based components to a Hyvä theme. This skill should be used when the user wants to add, install, or apply a Hyva UI component (such as he1.3Kskills.sh installs
6sickn33 avatarreact-ui-patternssickn33/antigravity-awesome-skillsreact ui patterns1.2Kskills.sh installs