将界面截图或设计稿批量转换为 Vue 3 组件代码,适配常见组件库。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "ui-to-vue" 技能: 1. 下载 https://raw.githubusercontent.com/affaan-m/ECC/main/skills/ui-to-vue/SKILL.md 2. 保存为 ~/.claude/skills/ui-to-vue/SKILL.md 3. 装好后重载技能,告诉我可以用了
请根据我提供的页面截图,将界面拆分为 Vue 3 + Vant 组件。要求输出可运行的单文件组件,包含模板、脚本和样式,并尽量复用 Vant 的现成组件。
一组结构清晰的 Vue 3 单文件组件,使用 Vant 组件还原移动端页面。
把这份后台设计稿转换成 Vue 3 + Element Plus 页面代码。请按区域拆分为头部、侧边栏、表格和筛选表单组件,并补充合理的占位数据。
一个按模块拆分的后台页面代码方案,包含 Element Plus 组件与基础占位数据。
我有多张界面导出图,请批量转换为 Vue 3 + Ant Design Vue 组件。请为每张图分别生成组件文件名、代码和目录结构,并保持命名风格一致。
按多张界面图分别生成的组件代码、文件命名建议和统一目录结构。
Batch-convert UI design screenshots into Vue 3 Composition API component code.
Use an input directory that groups screenshots by module and page state:
screenshots/
|-- HomePage/
| |-- List/
| | |-- [email protected]
| | `-- cut-images/
| |-- cut-images/
| `-- [email protected]
`-- cut-images/
Supported cut-image directory names include assets, icons, sprites, cut, images, and cut-images.
Run the converter with npx so the documented command works without relying on a global binary:
export DASHSCOPE_API_KEY=your_key
npx [email protected] --input ./screenshots --ui vant --output ./src
For desktop UI libraries:
npx [email protected] --input ./designs --ui element-plus --output ./src
npx [email protected] --input ./designs --ui antd-vue --output ./src
If the package is installed globally, the ui-to-vue binary can be used directly:
npm install -g [email protected]
ui-to-vue --input ./screenshots --ui vant --output ./src
| Option | Description | Default |
|---|---|---|
--input | Design image directory | ./screenshots |
--ui | UI library: vant, element-plus, or antd-vue | vant |
--output | Output directory | ./src |
--config | Config file path | ./.ui-to-vue.config.json |
The converter can read DashScope credentials from a config file or from the environment. Prefer an environment variable in repositories:
export DASHSCOPE_API_KEY=your_key
If a local config file is required, keep it out of version control:
{
"apiKey": "your_dashscope_key",
"input": "./designs",
"ui": "vant",
"output": "./src"
}
.ui-to-vue.config.json
@latest..ui-to-vue.config.json, API keys, generated secrets, or customer screenshots.views/ or the chosen output directory.components/ only when reuse is clear.| Issue | Check |
|---|
…
帮助用户核查短信与私信、找回近期验证码并明确已检查的消息来源。
帮助生成或审查设计系统,检查视觉一致性并评审样式相关改动。
帮助团队快速制定项目规范示例,统一协作流程与文档标准
为 Claude Code 会话建立正式评估流程,支持评测驱动开发与质量验证
统一管理多渠道通知流,完成路由去重、升级处理与收件箱收敛。
快速创建或转换为动画丰富的网页演示文稿,适合路演、分享与提案制作。
将截图转为贴合现有 Angular 项目结构与规范的界面代码。
帮助开发者从 Uiverse.io 快速提取多框架 UI 组件代码并复用到项目中。
将界面截图与 Figma 节点数据转成代码,并支持可视化审查流程。
从网站提取 UI 组件与设计令牌,并生成可用前端代码。
将提示词、截图和网址转成 UI 设计,辅助 AI 编码与主题令牌生成。
让 AI 访问 Unity UIToolkit 文档、示例并进行界面代码转换