vue2-logic-specialist

Analyzes prototype images and implements Vue business logic with mock APIs.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires json-server, and includes references (resource) components.

What problem does it solve? Turning a prototype or wireframe image into working business logic requires manual requirement interpretation, copywriting checks, state management, form validation, and mock API setup. This Skill automates that flow: it reads the prototype, produces a confirmed requirements analysis report, then implements the interaction logic without touching any styles. ## Core Features & Use Cases - Prototype Analysis Mode: Identifies functional modules, interaction logic, and component hierarchy from uploaded prototype images, outputs Mermaid flowcharts for multi-step processes, and asks for user confirmation before coding. - Logic Development Mode: Implements state management, form validation, routing, and interaction feedback following strict conventions (guard clauses, loaded-state control, popup cleanup). - Mock API Workflow: Generates TypeScript type declarations, a dedicated API call file, a mock.json data file served via json-server, and a Markdown API document with field-level business meanings. - Use Case: Upload a login page wireframe and ask for requirement analysis; the Skill outputs a requirements report with a Mermaid flowchart, then after confirmation implements the login logic with a POST /login mock endpoint and validation copy. ## Quick Start Upload a prototype image and ask the assistant to analyze the requirements and implement the business logic for the page.

Frequently Asked Questions about vue2-logic-specialist

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

FAQPage Schema
How do I turn a prototype image into working frontend logic?▼

Upload the prototype or wireframe image and request a requirements analysis. The Skill identifies functional modules, interaction logic, and component structure, outputs a report with Mermaid flowcharts, then implements the logic after you confirm the analysis.

How to set up mock APIs for Vue development with json-server?▼

Create a mock.json file with response data in the module directory and serve it with json-server. All requests must be POST calls placed in a dedicated API file like shared/api.js, never directly inside .vue files, with TypeScript types declared in types/index.ts.

Does this Skill handle page styling and layout?▼

No. The Skill strictly separates business logic from UI and is forbidden from adding or modifying any style code. It only implements state management, form validation, routing, and interaction feedback.

What Vue and Vant conventions does the generated logic follow?▼

Lists and forms stay hidden until data loads via a loaded flag, paginated van-list components show a no-more-data footer, popups clear list and form data on close, and native HTML tags replace Vant's Image, Button, Input, and Form components.

Why does the Skill ask for confirmation before writing code?▼

Prototype analysis mode requires explicit user confirmation of the requirements report before any code is generated. This prevents implementing misunderstood requirements and keeps the analysis visible as plain text rather than hidden in tool parameters.