AgentSkillsCN

nuxt-docs

从GitHub获取Nuxt 4框架文档。用于需要Nuxt组合式(useFetch、useAsyncData)、目录结构、配置、路由、数据获取、部署或任何Nuxt框架概念时使用。

SKILL.md
--- frontmatter
name: nuxt-docs
description: Fetches Nuxt 4 framework documentation from GitHub. Use when needing info about Nuxt composables (useFetch, useAsyncData), directory structure, configuration, routing, data fetching, deployment, or any Nuxt framework concepts.
allowed-tools: Bash, Read

Nuxt 4 Documentation Skill

Fetches up-to-date Nuxt framework docs from the official GitHub repository.

Categories

CategoryTopics
getting-startedinstallation, config, routing, data-fetching, deployment
api/composablesuseFetch, useAsyncData, useState, useRoute, etc.
api/componentsNuxtPage, NuxtLayout, NuxtLink, ClientOnly, etc.
api/utils$fetch, defineNuxtConfig, definePageMeta, etc.
directory-structureapp/, server/, composables/, pages/, etc.
guideconcepts, best practices, recipes

Usage

Fetch a specific topic

bash
python3 .claude/skills/nuxt-docs/fetch.py data-fetching
python3 .claude/skills/nuxt-docs/fetch.py useFetch
python3 .claude/skills/nuxt-docs/fetch.py routing

List available topics

bash
python3 .claude/skills/nuxt-docs/fetch.py --list

Check cache status

bash
python3 .claude/skills/nuxt-docs/fetch.py --status

When to Use

  • "How do I use useFetch?"
  • "What's the Nuxt 4 directory structure?"
  • "How do I configure nuxt.config.ts?"
  • "How does server-side rendering work?"
  • "How do I deploy a Nuxt app?"