一键导入
frontend-architecture-vue-nuxt
Vue 3 Composition API, Nuxt 3 routing, and state management
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Vue 3 Composition API, Nuxt 3 routing, and state management
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | frontend-architecture-vue-nuxt |
| description | Vue 3 Composition API, Nuxt 3 routing, and state management |
<script setup> Only: Do NOT use the Options API. The Composition API is far more token-efficient and predictable for AI code generation.lang="ts". Strongly typed props and Pinia state are required.Scaffold Nuxt 3 applications using these guidelines:
<script setup lang="ts"> with TypeScript. Banned: Options API.composables/, components/, and core Vue APIs (ref, computed, reactive).@pinia/nuxt. Define stores using the store-factory function syntax (defineStore('id', () => { ... })).useFetch or useAsyncData to ensure data loads on the server and hydrates safely on the client. Banned: standard axios or bare fetch inside components.project/
├── assets/ # Uncompiled assets (CSS, SCSS)
├── components/ # Auto-imported Vue components
│ └── ui/ # Reusable UI elements (buttons, inputs)
├── composables/ # Auto-imported composition functions (Vue useHooks)
├── layouts/ # Shared page layouts
├── pages/ # File-based routing
├── plugins/ # Vue plugins initialized at startup
├── public/ # Static files served at root
├── server/ # Nitro API routes (Nuxt backend)
│ └── api/
├── stores/ # Pinia state management
└── nuxt.config.ts # Main Nuxt configuration
PascalCase (e.g., UserProfile.vue). Multi-word names are mandatory.camelCase starting with use (e.g., useAuth.ts).kebab-case (e.g., user-settings.vue).<script setup lang="ts"> exclusively. Avoid the older Options API (data(), methods).ref, computed). Do not manually import them.Pinia for global state. Avoid Vuex.useFetch or useAsyncData for SSR-friendly data fetching. Do not use standard fetch or axios directly in components.Vitest + Vue Test Utils.Playwright or Cypress.Syncs Telegram supergroup topics into local task files and GitHub issues, using embedded Python scripts for deterministic JSON state management. Preserves raw bilingual messages verbatim, injects refactored prompts, and correlates codebase context.
100% Jetpack Compose, MVI (UDF), Hilt, and SQLDelight for token-efficient, zero-hallucination Android development.
NestJS, Prisma ORM, Vertical Slice Architecture, and Strict TypeScript for zero-hallucination backend development.
Expo Managed Workflow, Expo Router, NativeWind, and Strict TypeScript for zero-hallucination cross-platform apps.
Automatically generates decentralized task files based on manager instructions.
Idiomatic Go, Clean Architecture, and Gin routing best practices