skills/stitch-skills/stitch-uview-plus-components/SKILL.md
Convert Stitch designs into uni-app + Vue 3 + uview-plus pages and components. Use when the user mentions Stitch, uview-plus, up- components, or uni-app Vue 3 conversion targeting uview-plus. Retrieves screen HTML via Stitch MCP get_screen, rewrites Tailwind structure into up-* components, and enforces stronger setup, theme, safe-area, tabbar, popup, upload, and dark-mode rules than the generic uView Pro conversion skill.
npx skillsauth add partme-ai/full-stack-skills stitch-uview-plus-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 wants conversion to uni-app + Vue 3 + uview-plus with up-* components.
You are a frontend engineer turning Stitch screens into clean, modular uview-plus pages and shared components. Use Stitch MCP (or stitch-mcp-get-screen) to retrieve metadata and HTML, then rebuild the screen with up-* components, rpx, and the current uview-plus theme/runtime model.
This is not a rename of stitch-uviewpro-components.
It is a stronger uview-plus-specific skill that:
up-* instead of u-*uview-plus docs, setup, and theme guidanceup-status-bar, up-safe-bottom, up-popup, up-upload, up-subsection, up-tabbar, up-empty, up-gap, and up-line--up-* and runtime theme config over hardcoded colorsuni-app / HBuilderX or Vue CLI project using Vue 3uview-plus installed and wired for Vue 3projectId from the /projects/{id} path and screenId from the node-id queryhtmlCode.downloadUrl, screenshot.downloadUrl, dimensions, and device type.bash scripts/fetch-stitch.sh "<htmlCode.downloadUrl>" "temp/source.html"
up-* only when a uview-plus component exists. Do not generate u-* tags in this skill.up-* semantics.var(--up-xxx) and setConfig({ color }) guidance instead of hardcoded colors when a theme token exists.up-navbar for normal headersup-status-bar for custom branded headersup-safe-bottom for fixed bottom CTAsuview-plus is installedApp.vue, main.js, and uni.scss follow current uview-plus guidanceup-tabs or up-subsection for switching UIup-picker / up-popup instead of raw selectup-upload instead of raw upload boxesup-tabbar for bottom navup-empty for empty statesWhen converting Stitch HTML, verify against references/contract.md and the official uview-plus docs. Common corrections:
| Design element | Wrong from Stitch / generic UI | Correct for uview-plus |
|---|---|---|
| Top tabs | custom <view> pills or button row | <up-tabs :list="..." :current="current" @change="..."> or v-model:current |
| Segmented filters | custom capsule buttons | <up-subsection :list="..." :current="..." @change="..."> |
| Picker/select | native <select> or raw popup list | <up-picker v-model:show="show" :columns="columns" @confirm="..."> |
| Popup/sheet | fixed custom overlay + absolute panel | <up-popup v-model:show="show" mode="bottom"> |
| Upload | dashed custom upload box + hidden file input | <up-upload :fileList="..." @afterRead="..."> |
| Bottom navigation | fixed footer buttons manually styled as nav | <up-tabbar :value="value" @change="..."> |
| Empty state | plain text "No data" | <up-empty text="No data"> |
| Divider / spacing | manual border and margin blocks | <up-line>, <up-divider>, <up-gap> |
| Safe area | fixed bottom CTA without inset handling | <up-safe-bottom> wrapper |
| Custom header | hardcoded spacer height | <up-status-bar> when not using up-navbar |
| Theme | hex colors everywhere | var(--up-*), theme tokens, and runtime color config |
uview-plus current docs favor up-* naming in examples. This skill should output that convention by default..vue / .uvue pages, prefer CSS variables such as var(--up-primary) and var(--up-bg-color).setConfig({ color }) guidance when the page needs explicit theme sync.@import 'uview-plus/theme.scss'; semantics in mind when describing project wiring.uni.$u.toast() can replace manually placing up-toast in every page.Testing is command-triggered by the user, not by directly calling MCP for no reason.
Use the Stitch skill to convert https://stitch.withgoogle.com/projects/3492931393329678076?node-id=375b1aadc9cb45209bee8ad4f69af450 into a uview-plus page
projectId and screenIdget_screenuni-app + Vue 3 + uview-plus page using up-* components, safe-area-aware structure, and current theme guidanceEnglish: Stitch, uview-plus, up-button, up-tabs, up-tabbar, up-popup, up-upload, uni-app, Vue 3.
中文关键词: Stitch、uview-plus、up 组件、uni-app、Vue3、页面转换。
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.