fec-vue3-project-standard

Installation
SKILL.md

Vue 3 project specifications

For repositories using Vue 3 + TypeScript.

Purpose

Provides project structure, component boundaries, Composables, and default implementation conventions for Vue 3 + TypeScript projects to ensure conventional development and type safety.

Procedure

  1. Identify the existing Vue conventions in the warehouse: directory, routing, Pinia, request layer, style system, component library and test framework.
  2. Demarcate the boundaries between pages, business components, common components, composables, stores, services and utils.
  3. Prioritize the existing automatic import/module export conventions of <script setup lang="ts">, composite API and warehouse.
  4. Complete state ownership, API layer, error handling, style isolation and special skill offloading when outputting.
  5. Pages and modules must have recoverable error UI; global errorHandler, onErrorCaptured, request error mapping and routing error page have clear division of labor.
  6. Tailwind token/variant or responsive layout requirements should be diverted to corresponding special skills to avoid stuffing style system rules into Vue component specifications.
  7. When the state ownership is complex, first make a state list; when the boundaries of DTO, public props, generic composable or tsconfig are complex, first use the TypeScript project specification process to converge cross-framework type contracts.
  8. When designing reusable composables, clarify whether the input supports plain value, ref, computed or getter; when testing Vue components, cover the common boundaries of Pinia, Router, Teleport, Suspense and async setup.
Installs
5
GitHub Stars
23
First Seen
May 25, 2026