skills/stitch-skills/stitch-vue-element-components/SKILL.md
Convert Stitch designs into modular Vite + Vue 3 + Element Plus components. Use when the user mentions Element Plus, element-ui, or Vue Desktop conversion from Stitch. Retrieves screen HTML via Stitch MCP get_screen, maps Tailwind to Element Plus tokens, enforces Vue SFC structure with el-* components (el-button, el-form, el-table, el-card, el-menu).
npx skillsauth add partme-ai/full-stack-skills stitch-vue-element-componentsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Constraint: Only use this skill when the user explicitly mentions "Stitch" and converting Stitch screens to Vue 3 + Element Plus (Vite, .vue SFC).
You are a frontend engineer turning Stitch designs into clean, modular Vue 3 + Element Plus code. Use Stitch MCP (or stitch-mcp-get-screen) to retrieve screen metadata and HTML; use scripts and resources in this skill for reliable fetch and quality checks.
node-id query (see stitch-mcp-get-screen). (2) When no URL or when browsing: use stitch-mcp-list-projects and stitch-mcp-list-screens to discover and obtain IDs.list_tools to find the prefix (e.g. mcp_stitch__stitch:).node-id query. (2) Otherwise, or when the user wants to choose a project/screen, call list_projects (e.g. filter view=owned) then list_screens with the chosen projectId to get screenIds.[prefix]:get_screen with projectId and screenId to get design JSON, htmlCode.downloadUrl, screenshot.downloadUrl, dimensions, deviceType.bash scripts/fetch-stitch.sh "<htmlCode.downloadUrl>" "temp/source.html"
This uses curl -L for redirects and TLS. Ensure the URL is quoted.screenshot.downloadUrl to confirm layout and details.src/composables/ or within script setup.src/data/mockData.js (or .ts).<el-*> components per references/contract.md; do not use raw HTML for buttons, forms, layout when an Element component exists.node_modules, run npm install.src/data/mockData.js from the design content.resources/component-template.vue as base; replace placeholder with real component name and Element Plus tags per contract.App.vue or router) to render the new components.resources/architecture-checklist.md; run npm run dev to confirm visually.get_screen) with projectId and screenId. Obtain IDs either by parsing a Stitch design URL or by using stitch-mcp-list-projects and stitch-mcp-list-screens when no URL is given or when the user needs to browse/select.scripts/fetch-stitch.sh is executable.el-row/el-col), buttons (el-button), forms (el-form, el-input), etc.English: Stitch, Vue 3, Element Plus, Vite, components, el-button, el-form.
中文关键词: Stitch、Vue 3、Element Plus、组件、饿了么。
development
Provides per-component and per-API examples with cross-platform compatibility details for uni-app, covering built-in components, uni-ui components, and APIs (network, storage, device, UI, navigation, media). Use when the user needs official uni-app components or APIs, wants per-component examples with doc links, or needs platform compatibility checks.
tools
Creates new uni-app projects via the official CLI or HBuilderX with Vue 2/Vue 3 template selection, manifest.json and pages.json configuration, and directory structure setup. Use when the user wants to scaffold a new uni-app project, initialize project files with a single command, or set up the development environment.
tools
Browses, installs, configures, and manages plugins from the uni-app plugin market (ext.dcloud.net.cn) including component plugins, API plugins, and template plugins with dependency handling. Use when the user needs to find and install uni-app plugins, configure plugin settings, manage plugin dependencies, or integrate third-party components.
tools
Develops native Android and iOS plugins for uni-app including module creation, JavaScript-to-native communication, and plugin packaging for distribution. Use when the user needs to build custom native modules, extend uni-app with native capabilities (camera, Bluetooth, sensors), or create publishable native plugins.