vue2-ui-specialist

Converts design mockups into static Vue2 templates with SCSS styling.

1|Updated Jan 21, 2026
One-click install
npx skills add https://github.com/linzb93/ai-coding-docs --skill vue2-ui-specialist-linzb93
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: vue2-ui-specialist
Source: https://github.com/linzb93/ai-coding-docs/tree/main/vue2/skills/vue2-ui-specialist
Command: npx skills add https://github.com/linzb93/ai-coding-docs --skill vue2-ui-specialist-linzb93

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Turning high-fidelity design mockups into Vue2 page code is slow and error-prone when done manually. This Skill converts uploaded design screenshots into pixel-accurate Vue2 templates and SCSS styles, while strictly excluding any business logic, event handlers, or dynamic data binding. ## Core Features & Use Cases - Design Analysis Mode: Analyzes uploaded mockups, identifies reusable components from the component library, matches icons against the Iconfont catalog, and requires explicit user confirmation before writing any code. - Pixel-Accurate Implementation: Generates Vue2 (Options API) templates with Vant components, SCSS styles, Flexbox layouts, and BEM naming, plus automatic route registration in the router file. - Zero-Logic Guarantee: All output is a pure static UI skeleton with hardcoded text and static constants only, making it safe to hand off to developers who add logic later. - Use Case: Upload a screenshot of a settings page design, review the analysis report confirming reusable components and icons, reply "开始开发", and receive a complete static Vue2 page with styles and routing configured. ## Quick Start Upload a design mockup and ask the assistant to analyze and recreate the page as a static Vue2 UI.

Frequently Asked Questions about vue2-ui-specialist

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a design mockup into Vue2 code?▼

Upload the design screenshot and request page creation. The Skill first runs a design analysis covering layout differences, reusable components, and icon matches, then generates the Vue2 template and SCSS only after you confirm the analysis.

What UI component library does this Vue2 workflow use?▼

It uses Vant as the default component library with Vue 2 Options API. Styles are written in SCSS with scoped style blocks, and layouts prioritize Flexbox over absolute positioning.

Can the generated Vue2 pages include click events or API calls?▼

No. The Skill enforces a zero-logic principle: no event handlers, API requests, reactive data, or dynamic bindings are allowed. All text and props are hardcoded, and v-for lists may only use static constant arrays.

Does it handle routing when creating new Vue2 pages?▼

Yes. When a new page is created under src/views, the Skill adds the corresponding route configuration to the router file. Modifications to existing pages do not require route changes.

Why must I confirm a design analysis before code is generated?▼

The mandatory analysis mode ensures layout differences, component reuse choices, and icon selections are validated against the design before implementation. This prevents rework caused by misinterpreted mockups.