SKILL

ui-to-vue

当用户有 UI 截图或设计导出文件,需要批量转换为 Vue 3 组件时使用,尤其适用于 Vant、Element Plus 或 Ant Design Vue。

机器翻译
查看英文原文

Use when the user has UI screenshots or design exports that need batch conversion into Vue 3 components, especially with Vant, Element Plus, or Ant Design Vue.

适用对象:Vue / Nuxt。自动收录 · 待核查。

原作者说明节选

从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。

查看英文原文

原文涵盖的主题

  • UI To Vue
  • When to Use
  • When Not to Use
  • Inputs
  • Conversion Model
  • CLI Usage
  • Options
  • API Key Handling

Batch-convert UI design screenshots into Vue 3 Composition API component code. 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. 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. Use an input directory that groups screenshots by module and page state: Supported cut-image directory names include assets, icons, sprites, cut, images, and cut-images. Page grouping: combine related screenshots into one page component when they represent list, detail, form, loading, or empty states. UI library mapping: map native visual elements to Vant, Element Plus, or Ant Design Vue components where practical. Cut-image priority: prefer page-level assets, then module-level assets, then global shared assets. Component extraction: extract repeated UI regions int

这里只展示节选,请以完整原文和当前要求为准。

来源仓库
affaan-m/ECC
源文件
skills/ui-to-vue/SKILL.md
固定版本
d2ef2680594f9a17526a6e1a2e18b3d242c5d17b
阅读完整原作者说明 ↗

来源与内容状态

本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。

原作者:affaan-m/ECC · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-09T16:01:00.663Z。

分类由名称、说明与路径规则生成,分类不代表已核实适配。

许可与权利归属

MIT。第三方内容及版权归原作者,使用条件以原文为准。

许可原文 ↗

本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。

限制与注意事项

  • 元数据收录不代表本站已经安装、适配、实测或进行安全审查。