vue3-logic-specialist

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

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? It bridges the gap between prototype designs and working frontend code by interpreting prototype images into structured requirement reports, then implementing the business logic (state management, form validation, API calls) in Vue 3 without touching styles. ## Core Features & Use Cases - Prototype Requirement Analysis: Reads uploaded prototype or wireframe images and produces a requirement report covering features, interaction flows (with Mermaid diagrams for flows over 2 steps), component trees, and missing copy such as validation messages. - Business Logic Implementation: Implements state management, form validation, routing, and API integration in Vue 3 Composition API with <script setup>, following strict JSDoc, Vant, and logic conventions. - Mock API Workflow: Generates TypeScript type declarations, dedicated API call files, mock.json data served via json-server, and per-module API documentation. - Use Case: Upload a login page prototype and ask for requirement analysis; after confirming the report, the Skill implements the login form validation, mock POST /login endpoint, and submission flow. ## Quick Start Upload a prototype image and ask it to analyze the requirements, then confirm the report to start implementing the business logic.

Frequently Asked Questions about vue3-logic-specialist

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

FAQPage Schema
How do I turn a prototype image into Vue 3 business logic?▼

Upload the prototype image and request a requirement analysis. The Skill outputs a report with features, interaction flows, and component structure, then after your confirmation implements state management, form validation, and API calls in Vue 3 Composition API.

How to mock API requests in a Vue 3 project with json-server?▼

Create a mock.json file in the module directory and serve it with json-server. All API calls go in a dedicated file like shared/api.js using POST requests, and business code calls them with a useMock flag through a request utility.

Does this Skill handle page styling and layout?▼

No, it strictly separates business logic from UI. It implements state, validation, routing, and API integration only, and is prohibited from adding or modifying any style code.

What Vue 3 conventions does the generated code follow?▼

Code uses Composition API with script setup, ref instead of reactive, computed with getter only, and defineModel for popup visibility. All functions require JSDoc comments, and Vant v4 components follow specific list, popup, and calendar rules.

Can I use GET or DELETE requests for the mock APIs?▼

No, the API specification only allows POST requests. GET, PUT, DELETE and other request types are explicitly forbidden, and mock data must live in mock.json rather than being hardcoded.