[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77Y93PDFYW7QTSPEJTQ1SQE":3,"skill-same:01M77Y93PDFYW7QTSPEJTQ1SQE":49},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M77Y93PDFYW7QTSPEJTQ1SQE","ui-to-vue",null,"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.","503496348-ops\u002Fmischief-production","503496348-ops","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F266905914?v=4","01M77X5J7XQWWZGT8998HDGXQM","AtomCollide","01M77X5J8V78Y3NXMY6BBC75X9",2,"MIT","https:\u002F\u002Fgithub.com\u002F503496348-ops\u002Fmischief-production\u002Fblob\u002Fmain\u002Fskills\u002Fecc-ui-to-vue\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: ui-to-vue\ndescription: 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.\nmetadata:\n  origin: community\n---\n\n# UI To Vue\n\nBatch-convert UI design screenshots into Vue 3 Composition API component code.\n\n## When to Use\n\n- The user provides a directory of design screenshots or design-export images.\n- The target application is Vue 3.\n- The user wants a first pass of page components, shared components, and router wiring.\n- The user specifies Vant, Element Plus, or Ant Design Vue as the component library.\n\n## When Not to Use\n\n- The user has only one screenshot and wants a bespoke component.\n- The target project is not Vue.\n- The design requires detailed interaction logic, data flow, or accessibility review.\n- The screenshots contain private customer data that cannot be sent to an external model API.\n\n## Inputs\n\nUse an input directory that groups screenshots by module and page state:\n\n```text\nscreenshots\u002F\n|-- HomePage\u002F\n|   |-- List\u002F\n|   |   |-- HomePage-List-Default@3x.png\n|   |   `-- cut-images\u002F\n|   |-- cut-images\u002F\n|   `-- HomePage-Default@3x.png\n`-- cut-images\u002F\n```\n\nSupported cut-image directory names include `assets`, `icons`, `sprites`, `cut`, `images`, and `cut-images`.\n\n## Conversion Model\n\n- Page grouping: combine related screenshots into one page component when they represent list, detail, form, loading, or empty states.\n- UI library mapping: map native visual elements to Vant, Element Plus, or Ant Design Vue components where practical.\n- Cut-image priority: prefer page-level assets, then module-level assets, then global shared assets.\n- Component extraction: extract repeated UI regions into shared components when they appear more than once.\n\n## CLI Usage\n\nRun the converter with `npx` so the documented command works without relying on a global binary:\n\n```bash\nexport DASHSCOPE_API_KEY=your_key\nnpx ui-to-vue-converter@1.0.2 --input .\u002Fscreenshots --ui vant --output .\u002Fsrc\n```\n\nFor desktop UI libraries:\n\n```bash\nnpx ui-to-vue-converter@1.0.2 --input .\u002Fdesigns --ui element-plus --output .\u002Fsrc\nnpx ui-to-vue-converter@1.0.2 --input .\u002Fdesigns --ui antd-vue --output .\u002Fsrc\n```\n\nIf the package is installed globally, the `ui-to-vue` binary can be used directly:\n\n```bash\nnpm install -g ui-to-vue-converter@1.0.2\nui-to-vue --input .\u002Fscreenshots --ui vant --output .\u002Fsrc\n```\n\n## Options\n\n| Option | Description | Default |\n| --- | --- | --- |\n| `--input` | Design image directory | `.\u002Fscreenshots` |\n| `--ui` | UI library: `vant`, `element-plus`, or `antd-vue` | `vant` |\n| `--output` | Output directory | `.\u002Fsrc` |\n| `--config` | Config file path | `.\u002F.ui-to-vue.config.json` |\n\n## API Key Handling\n\nThe converter can read DashScope credentials from a config file or from the environment. Prefer an environment variable in repositories:\n\n```bash\nexport DASHSCOPE_API_KEY=your_key\n```\n\nIf a local config file is required, keep it out of version control:\n\n```json\n{\n  \"apiKey\": \"your_dashscope_key\",\n  \"input\": \".\u002Fdesigns\",\n  \"ui\": \"vant\",\n  \"output\": \".\u002Fsrc\"\n}\n```\n\n```gitignore\n.ui-to-vue.config.json\n```\n\n## Security and Privacy\n\n- Treat design screenshots as source material that may be sent to an external model API.\n- Do not run this flow on private customer designs without permission.\n- Pin the converter version in repeatable workflows instead of using `@latest`.\n- Review generated Vue code before committing it.\n- Do not commit `.ui-to-vue.config.json`, API keys, generated secrets, or customer screenshots.\n\n## Output Review Checklist\n\n- [ ] Page components were generated under `views\u002F` or the chosen output directory.\n- [ ] Repeated UI regions were extracted into `components\u002F` only when reuse is clear.\n- [ ] Router output is compatible with the target project's router style.\n- [ ] Generated components use the requested UI library consistently.\n- [ ] Generated CSS units match the design baseline.\n- [ ] The code passes the project's formatter, linter, type checker, and build.\n- [ ] Placeholder copy, mock data, and generated assets were reviewed before commit.\n\n## Troubleshooting\n\n| Issue | Check |\n| --- | --- |\n| `401` or authentication error | Confirm `DASHSCOPE_API_KEY` is set in the shell running the command. |\n| `command not found: ui-to-vue` | Use the `npx ui-to-vue-converter@1.0.2` form or install the package globally. |\n| Cut images are ignored | Confirm the asset directory name is supported and nested under the matching page or module. |\n| Components ignore the requested UI library | Re-run with an explicit `--ui` value and inspect the generated imports. |\n| Generated layout dimensions look wrong | Confirm the screenshot export width matches the target library baseline. |\n\n## References\n\n- npm package: `ui-to-vue-converter`\n","# UI To Vue\n\nBatch-convert UI design screenshots into Vue 3 Composition API component code.\n\n## When to Use\n\n- The user provides a directory of design screenshots or design-export images.\n- The target application is Vue 3.\n- The user wants a first pass of page components, shared components, and router wiring.\n- The user specifies Vant, Element Plus, or Ant Design Vue as the component library.\n\n## When Not to Use\n\n- The user has only one screenshot and wants a bespoke component.\n- The target project is not Vue.\n- The design requires detailed interaction logic, data flow, or accessibility review.\n- The screenshots contain private customer data that cannot be sent to an external model API.\n\n## Inputs\n\nUse an input directory that groups screenshots by module and page state:\n\n```text\nscreenshots\u002F\n|-- HomePage\u002F\n|   |-- List\u002F\n|   |   |-- HomePage-List-Default@3x.png\n|   |   `-- cut-images\u002F\n|   |-- cut-images\u002F\n|   `-- HomePage-Default@3x.png\n`-- cut-images\u002F\n```\n\nSupported cut-image directory names include `assets`, `icons`, `sprites`, `cut`, `images`, and `cut-images`.\n\n## Conversion Model\n\n- Page grouping: combine related screenshots into one page component when they represent list, detail, form, loading, or empty states.\n- UI library mapping: map native visual elements to Vant, Element Plus, or Ant Design Vue components where practical.\n- Cut-image priority: prefer page-level assets, then module-level assets, then global shared assets.\n- Component extraction: extract repeated UI regions into shared components when they appear more than once.\n\n## CLI Usage\n\nRun the converter with `npx` so the documented command works without relying on a global binary:\n\n```bash\nexport DASHSCOPE_API_KEY=your_key\nnpx ui-to-vue-converter@1.0.2 --input .\u002Fscreenshots --ui vant --output .\u002Fsrc\n```\n\nFor desktop UI libraries:\n\n```bash\nnpx ui-to-vue-converter@1.0.2 --input .\u002Fdesigns --ui element-plus --output .\u002Fsrc\nnpx ui-to-vue-converter@1.0.2 --input .\u002Fdesigns --ui antd-vue --output .\u002Fsrc\n```\n\nIf the package is installed globally, the `ui-to-vue` binary can be used directly:\n\n```bash\nnpm install -g ui-to-vue-converter@1.0.2\nui-to-vue --input .\u002Fscreenshots --ui vant --output .\u002Fsrc\n```\n\n## Options\n\n| Option | Description | Default |\n| --- | --- | --- |\n| `--input` | Design image directory | `.\u002Fscreenshots` |\n| `--ui` | UI library: `vant`, `element-plus`, or `antd-vue` | `vant` |\n| `--output` | Output directory | `.\u002Fsrc` |\n| `--config` | Config file path | `.\u002F.ui-to-vue.config.json` |\n\n## API Key Handling\n\nThe converter can read DashScope credentials from a config file or from the environment. Prefer an environment variable in repositories:\n\n```bash\nexport DASHSCOPE_API_KEY=your_key\n```\n\nIf a local config file is required, keep it out of version control:\n\n```json\n{\n  \"apiKey\": \"your_dashscope_key\",\n  \"input\": \".\u002Fdesigns\",\n  \"ui\": \"vant\",\n  \"output\": \".\u002Fsrc\"\n}\n```\n\n```gitignore\n.ui-to-vue.config.json\n```\n\n## Security and Privacy\n\n- Treat design screenshots as source material that may be sent to an external model API.\n- Do not run this flow on private customer designs without permission.\n- Pin the converter version in repeatable workflows instead of using `@latest`.\n- Review generated Vue code before committing it.\n- Do not commit `.ui-to-vue.config.json`, API keys, generated secrets, or customer screenshots.\n\n## Output Review Checklist\n\n- [ ] Page components were generated under `views\u002F` or the chosen output directory.\n- [ ] Repeated UI regions were extracted into `components\u002F` only when reuse is clear.\n- [ ] Router output is compatible with the target project's router style.\n- [ ] Generated components use the requested UI library consistently.\n- [ ] Generated CSS units match the design baseline.\n- [ ] The code passes the project's formatter, linter, type checker, and build.\n- [ ] Placeholder copy, mock data, and generated assets were reviewed before commit.\n\n## Troubleshooting\n\n| Issue | Check |\n| --- | --- |\n| `401` or authentication error | Confirm `DASHSCOPE_API_KEY` is set in the shell running the command. |\n| `command not found: ui-to-vue` | Use the `npx ui-to-vue-converter@1.0.2` form or install the package globally. |\n| Cut images are ignored | Confirm the asset directory name is supported and nested under the matching page or module. |\n| Components ignore the requested UI library | Re-run with an explicit `--ui` value and inspect the generated imports. |\n| Generated layout dimensions look wrong | Confirm the screenshot export width matches the target library baseline. |\n\n## References\n\n- npm package: `ui-to-vue-converter`\n",{"name":5,"metadata":24,"description":7},{"origin":25},"community","main","c9103dbad48ef3005f163584d0f2abd4591217f6","skills\u002Fecc-ui-to-vue",1,"https:\u002F\u002Fgithub.com\u002F503496348-ops\u002Fmischief-production","https:\u002F\u002Fgithub.com\u002F503496348-ops","https:\u002F\u002F503496348-ops.github.io\u002Fatomcollide-product-matrix\u002F#tree","元素碰撞-AtomCollide-AI 智能体实验室 测试人专属成长社群 正式招募\r\n我们的目标很纯粹：连接每一位测试工程师\u002FAI使用探索与爱好者，让你在这里既能扎实打磨技术硬实力，也能打通职业晋升的新通路，这是一个专注于AI领域的开源组","2026-07-30 00:35:42",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add 503496348-ops\u002Fmischief-production --skill ui-to-vue",{"tool":41,"command":42},"bunx","bunx skills add 503496348-ops\u002Fmischief-production --skill ui-to-vue",{"tool":44,"command":45},"pnpm","pnpm dlx skills add 503496348-ops\u002Fmischief-production --skill ui-to-vue","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002F503496348-ops\u002Fmischief-production\u002Fblob\u002Fmain\u002Fskills\u002Fecc-ui-to-vue\u002FSKILL.md",true,[],[50,57,64,71,78,85],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":19},"01M77YG7NPZHE751W9QGK3H9ED","writing-skills","Use when creating new skills, editing existing skills, or verifying skills work before deployment","https:\u002F\u002Fgithub.com\u002F503496348-ops\u002Fmischief-production\u002Fblob\u002Fmain\u002Fskills\u002Fsp-writing-skills\u002FSKILL.md",[],[],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M77YG4HPYH0GJP974DZ6KCPQ","writing-plans","Use when you have a spec or requirements for a multi-step task, before touching code","https:\u002F\u002Fgithub.com\u002F503496348-ops\u002Fmischief-production\u002Fblob\u002Fmain\u002Fskills\u002Fsp-writing-plans\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M77YFZW1FZ1GVC5C89NPE5M8","verification-before-completion","Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always","https:\u002F\u002Fgithub.com\u002F503496348-ops\u002Fmischief-production\u002Fblob\u002Fmain\u002Fskills\u002Fsp-verification-before-completion\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M77YFVPWANT5VE5GWBTKHPA2","using-智械工程","Use when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions","https:\u002F\u002Fgithub.com\u002F503496348-ops\u002Fmischief-production\u002Fblob\u002Fmain\u002Fskills\u002Fsp-using-superpowers\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M77YFQJAW5PX3QYSBCD3B24S","using-git-worktrees","Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback","https:\u002F\u002Fgithub.com\u002F503496348-ops\u002Fmischief-production\u002Fblob\u002Fmain\u002Fskills\u002Fsp-using-git-worktrees\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M77YFMSTB70VX8W2QHNJWYB0","test-driven-development","Use when implementing any feature or bugfix, before writing implementation code","https:\u002F\u002Fgithub.com\u002F503496348-ops\u002Fmischief-production\u002Fblob\u002Fmain\u002Fskills\u002Fsp-test-driven-development\u002FSKILL.md",[],[]]