/frontend-craft:fec-nuxt-project-standardfrom frontend-craft
Standardizes Nuxt 3 project conventions: file-based routing, layouts, SSR/SSG/SPA modes, data fetching with useFetch/useAsyncData, route middleware, plugins, modules, and server routes.
Ships in frontend-craft. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
For repositories using Nuxt 3 + Vue 3 + TypeScript.
Standardize the engineering practices of SSR/SSG rendering mode, combined API, automatic import, data acquisition, routing middleware and module plug-ins in the Nuxt 3 project to ensure conventional development and type safety.
window or document.useFetch / useAsyncData is used first, and the hydration consistency is checked.├── app.vue # Root component
├── nuxt.config.ts # Nuxt configuration
│
├── pages/ # File-based routing
│ ├── index.vue # /
│ ├── login.vue # /login
│ ├── dashboard/
│ │ ├── index.vue # /dashboard
│ │ └── users/
│ │ ├── index.vue # /dashboard/users
│ │ └── [id].vue # /dashboard/users/:id
│ └── [...slug].vue # Capture all
│
├── layouts/ # layout
│ ├── default.vue
│ └── auth.vue
│
├── components/ # Automatically import components
│ ├── Button/
│ │ └── Button.vue
│ └── AppHeader.vue
│
├── composables/ # Combined functions (automatically imported)
│ ├── useAuth.ts
│ └── useFetch.ts
│
├── server/ # Server API
│ ├── api/ # API routing
│ │ └── users/
│ │ └── index.get.ts
│ ├── middleware/ # Server-side middleware
│ └── utils/ # Server-side tools
│
├── plugins/ # Plug-in
│ └── i18n.client.ts
│
├── middleware/ # Routing middleware
│ └── auth.ts
│
├── public/ # Static resources
├── assets/ # Resources to be built
└── types/ # Type definition
| Mode | Configuration | Description |
|---|---|---|
| SSR | Default | ssr: true |
| SSG | nuxt generate | Pre-render all pages |
| SPA | ssr: false | Pure client-side rendering |
// nuxt.config.ts
export default defineNuxtConfig({
ssr: true, // or false
});
useFetch / useAsyncData: server + client, automatic deduplication$fetch: direct request, suitable for server or one-time calluseLazyAsyncData: does not block navigation, suitable for non-first screensetup causing hydration mismatchpages/[id].vue, [...slug].vuelayout option or layouts/default.vue defaultpages/parent/child.vue needs to be combined with NuxtPagemiddleware/definePageMeta({ middleware: ['auth'] })router.middleware of nuxt.config.tsserver/middleware/plugins/*.ts, supports .client, .server suffixesmodules/ or node_modules, in nuxt.config modules: []window or documentuseState to share stateNuxtImg for images and NuxtLink for linksawait at the top level of setup which will cause blocking. Use useAsyncData / useFetch firstpages/ conventional routing, and dynamic routing is correctly configurednuxt.config.ts configuration is clearuseFetch / useAsyncData, automatic deduplication and hydrationWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (bovinphang/frontend-craft) — no native marketplace selected
npx claudepluginhub p/bovinphang-frontend-craft53 skills in this plugin
/fec-accessibility-checkUse when reviewing or improving frontend accessibility, semantic structure, keyboard support, focus management, ARIA labels, screen reader behavior, WCAG 2.2 issues, touch accessibility, or assistive-technology regressions; Chinese triggers include accessibility, accessibility, a11y, WCAG, screen reader./fec-alchemyUse when absorbing ideas, capabilities, workflows, architecture, quality systems, ecosystem extensions, or engineering practices from any reference system into the current project through original, project-native redesign rather than copying./fec-api-integrationUse when designing, implementing, or reviewing frontend-to-backend API integration, typed API clients, REST/tRPC/OpenAPI client choices, auth refresh, API error mapping, upload flows, SSE/WebSocket/polling choices, CORS-facing frontend behavior, or cross-boundary loading/error states. Do not use for backend-only service architecture or TanStack Query cache policy alone; Chinese triggers include API integration, front-end and back-end joint debugging, typed API client, Interface error handling, SSE, WebSocket./fec-backend-requirements-handoffUse when frontend work needs to communicate data, action, state, permission, validation, or business-rule needs to backend teams without dictating endpoint design, field names, database shape, or implementation details; Chinese triggers include front-end and back-end requirements handover, back-end requirements, API requirements clarification, data requirements description./fec-browser-storageUse when choosing, implementing, or reviewing browser storage such as localStorage, sessionStorage, IndexedDB, cookies, client persistence, offline data, secure storage, or cleanup strategy; Chinese triggers include browser storage, client persistence./fec-canvas-threejsUse when building or reviewing Canvas 2D, Three.js/WebGL, React Three Fiber, GLSL shaders, ShaderToy-to-WebGL adaptation, 2D/3D visualization, game rendering, animation loops, GPU resource cleanup, or rendering performance. Do not use for standard DOM UI, charts already covered by a chart library, or non-graphical performance work; Chinese triggers include Canvas, Three.js, WebGL, GLSL, Shader, 3D, data visualization, games.Other plugins' skills for the same job