bovinphang/frontend-craft/fec-nuxt-project-standard
Claude Code and agent skill by bovinphang/frontend-craft
- community
Checking that the SKILL.md file is still in the repository.
Use when creating or reviewing Nuxt 3 projects, file routes, pages, layouts, SSR/SSG/SPA behavior, Nuxt data fetching, route middleware, plugins, modules, server routes, or Nuxt-specific Vue 3 conventions. For generic Vue component architecture, apply the project's Vue conventions separately; Chinese triggers include Nuxt, Nuxt 3.
Install
npx vskill@latest install bovinphang/frontend-craft/fec-nuxt-project-standardSKILL.md
The same SKILL.md was published earlier as bovinphang/frontend-craft/fec-nuxt-project-standard.
Nuxt 3 Project Specifications
For repositories using Nuxt 3 + Vue 3 + TypeScript.
Purpose
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.
Procedure
- First identify whether the target belongs to Nuxt pages/layouts, rendering mode, data acquisition, route middleware, plugin/module or server route.
- Clarify SSR / SSG / SPA selection to avoid server-side executable code relying on
windowordocument. - For data acquisition, Nuxt’s
useFetch/useAsyncDatais used first, and the hydration consistency is checked. - Route authentication, redirection and permission issues are aligned with the route protection workflow.
- Common Vue component architecture issues are offloaded to the Vue project workflow.
Project structure
Rendering mode
| Mode | Configuration | Description | |
|---|---|---|---|
| SSR | Default | ssr: true | |
| SSG | nuxt generate | Pre-render all pages | |
| SPA | ssr: false | Pure client-side rendering |
Data acquisition
useFetch/useAsyncData: server + client, automatic deduplication$fetch: direct request, suitable for server or one-time calluseLazyAsyncData: does not block navigation, suitable for non-first screen- Avoid mixing synchronous/asynchronous logic at the top level of
setupcausing hydration mismatch
Routing and layout
- Automatically generate routes for files under
pages/ - Dynamic routing:
[id].vue,[...slug].vue - Layout:
layoutoption orlayouts/default.vuedefault - Nested routing:
pages/parent/child.vueneeds to be combined withNuxtPage
Middleware
- Automatically register files under
middleware/ - Page level:
definePageMeta({ middleware: ['auth'] }) - Global:
router.middlewareofnuxt.config.ts - Server-side middleware:
server/middleware/
Plug-ins and modules
- Plug-in:
plugins/*.ts, supports.client,.serversuffixes - Modules:
modules/ornode_modules, innuxt.configmodules: []
Constraints
- Server-accessible code should not rely on
windowordocument - Be careful about SSR serialization when using
useStateto share state - Use
NuxtImgfor images andNuxtLinkfor links - Avoid using
awaitat the top level ofsetupwhich will cause blocking. UseuseAsyncData/useFetchfirst
Expected Output
- Pages are organized according to
pages/conventional routing, and dynamic routing is correctly configured - The rendering mode (SSR/SSG/SPA) is correctly selected and the
nuxt.config.tsconfiguration is clear - Data acquisition uses
useFetch/useAsyncData, automatic deduplication and hydration - Composables and components are automatically imported correctly, and the server/client boundary is clear
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/fec-nuxt-project-standard/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/bovinphang/frontend-craft/fec-nuxt-project-standard)