{
  "schemaVersion": "1.0",
  "item": {
    "slug": "nuxt",
    "name": "Nuxt",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/ivangdavila/nuxt",
    "canonicalUrl": "https://clawhub.ai/ivangdavila/nuxt",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/nuxt",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=nuxt",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/nuxt"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/nuxt",
    "agentPageUrl": "https://openagent3.xyz/skills/nuxt/agent",
    "manifestUrl": "https://openagent3.xyz/skills/nuxt/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/nuxt/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Data Fetching",
        "body": "useFetch deduplicates and caches requests during SSR — use it in components, not $fetch which fetches twice (server + client)\n$fetch is for event handlers and server routes only — in <script setup> it causes hydration mismatches\nuseFetch runs on server during SSR — check process.server if you need client-only data\nAdd key option to useFetch when URL params change but path stays same — without it, cache returns stale data\nuseLazyFetch doesn't block navigation — use for non-critical data, but handle the pending state"
      },
      {
        "title": "Hydration Traps",
        "body": "Date.now() or Math.random() in templates cause hydration mismatches — compute once in setup or use <ClientOnly>\nBrowser-only APIs (localStorage, window) crash SSR — wrap in onMounted or process.client check\nConditional rendering based on client-only state mismatches — use <ClientOnly> component with fallback\nv-if with async data shows flash of wrong content — use v-show or skeleton states instead"
      },
      {
        "title": "Auto-imports",
        "body": "Components in components/ auto-import with folder-based naming — components/UI/Button.vue becomes <UIButton>\nComposables in composables/ must be named use* for auto-import — utils.ts exports won't auto-import\nServer utils in server/utils/ auto-import in server routes only — not available in client code\nDisable auto-imports per-file with // @ts-nocheck or explicitly import to avoid naming collisions"
      },
      {
        "title": "Server Routes",
        "body": "Files in server/api/ become API routes — server/api/users.get.ts handles GET /api/users\nMethod suffix (.get.ts, .post.ts) is required for method-specific handlers — without it, handles all methods\ngetQuery(event) for query params, readBody(event) for POST body — don't access event.req directly\nReturn value is auto-serialized to JSON — throw createError({ statusCode: 404 }) for errors"
      },
      {
        "title": "State Management",
        "body": "useState is SSR-safe and persists across navigation — regular ref() resets on each page\nuseState key must be unique app-wide — collisions silently share state between components\nPinia stores need storeToRefs() to keep reactivity when destructuring — without it, values lose reactivity\nDon't initialize state with browser APIs in useState default — it runs on server too"
      },
      {
        "title": "Middleware",
        "body": "Global middleware in middleware/ with .global.ts suffix runs on every route — order is alphabetical\nRoute middleware defined in definePageMeta runs after global — use for auth checks on specific pages\nnavigateTo() in middleware must be returned — forgetting return continues to the original route\nServer middleware in server/middleware/ runs on all server requests including API routes"
      },
      {
        "title": "Configuration",
        "body": "runtimeConfig for server secrets, runtimeConfig.public for client-safe values — env vars override with NUXT_ prefix\napp.config.ts for build-time config that doesn't need env vars — it's bundled into the app\nnuxt.config.ts changes require restart — app.config.ts changes hot-reload"
      },
      {
        "title": "SEO and Meta",
        "body": "useSeoMeta for standard meta tags — type-safe and handles og:/twitter: prefixes automatically\nuseHead for custom tags, scripts, and links — more flexible but no type safety for meta names\nMeta in definePageMeta is static — use useSeoMeta in setup for dynamic values\ntitleTemplate in nuxt.config for consistent titles — %s - My Site pattern"
      },
      {
        "title": "Plugins",
        "body": "Plugins run before app creation — use nuxtApp.hook('app:created') for post-creation logic\nprovide in plugins makes values available via useNuxtApp() — but composables are cleaner\nPlugin order: numbered prefixes (01.plugin.ts) run first, then alphabetical — dependencies need explicit ordering\nClient-only plugins: .client.ts suffix — server-only: .server.ts suffix"
      },
      {
        "title": "Build and Deploy",
        "body": "nuxt generate creates static files — but API routes won't work without a server\nnuxt build creates server bundle — deploy the .output directory\nISR with routeRules: '/blog/**': { isr: 3600 } — caches pages for 1 hour\nPrerender specific routes: routeRules: { '/about': { prerender: true } } — builds static HTML at build time"
      }
    ],
    "body": "Nuxt 3 Patterns\nData Fetching\nuseFetch deduplicates and caches requests during SSR — use it in components, not $fetch which fetches twice (server + client)\n$fetch is for event handlers and server routes only — in <script setup> it causes hydration mismatches\nuseFetch runs on server during SSR — check process.server if you need client-only data\nAdd key option to useFetch when URL params change but path stays same — without it, cache returns stale data\nuseLazyFetch doesn't block navigation — use for non-critical data, but handle the pending state\nHydration Traps\nDate.now() or Math.random() in templates cause hydration mismatches — compute once in setup or use <ClientOnly>\nBrowser-only APIs (localStorage, window) crash SSR — wrap in onMounted or process.client check\nConditional rendering based on client-only state mismatches — use <ClientOnly> component with fallback\nv-if with async data shows flash of wrong content — use v-show or skeleton states instead\nAuto-imports\nComponents in components/ auto-import with folder-based naming — components/UI/Button.vue becomes <UIButton>\nComposables in composables/ must be named use* for auto-import — utils.ts exports won't auto-import\nServer utils in server/utils/ auto-import in server routes only — not available in client code\nDisable auto-imports per-file with // @ts-nocheck or explicitly import to avoid naming collisions\nServer Routes\nFiles in server/api/ become API routes — server/api/users.get.ts handles GET /api/users\nMethod suffix (.get.ts, .post.ts) is required for method-specific handlers — without it, handles all methods\ngetQuery(event) for query params, readBody(event) for POST body — don't access event.req directly\nReturn value is auto-serialized to JSON — throw createError({ statusCode: 404 }) for errors\nState Management\nuseState is SSR-safe and persists across navigation — regular ref() resets on each page\nuseState key must be unique app-wide — collisions silently share state between components\nPinia stores need storeToRefs() to keep reactivity when destructuring — without it, values lose reactivity\nDon't initialize state with browser APIs in useState default — it runs on server too\nMiddleware\nGlobal middleware in middleware/ with .global.ts suffix runs on every route — order is alphabetical\nRoute middleware defined in definePageMeta runs after global — use for auth checks on specific pages\nnavigateTo() in middleware must be returned — forgetting return continues to the original route\nServer middleware in server/middleware/ runs on all server requests including API routes\nConfiguration\nruntimeConfig for server secrets, runtimeConfig.public for client-safe values — env vars override with NUXT_ prefix\napp.config.ts for build-time config that doesn't need env vars — it's bundled into the app\nnuxt.config.ts changes require restart — app.config.ts changes hot-reload\nSEO and Meta\nuseSeoMeta for standard meta tags — type-safe and handles og:/twitter: prefixes automatically\nuseHead for custom tags, scripts, and links — more flexible but no type safety for meta names\nMeta in definePageMeta is static — use useSeoMeta in setup for dynamic values\ntitleTemplate in nuxt.config for consistent titles — %s - My Site pattern\nPlugins\nPlugins run before app creation — use nuxtApp.hook('app:created') for post-creation logic\nprovide in plugins makes values available via useNuxtApp() — but composables are cleaner\nPlugin order: numbered prefixes (01.plugin.ts) run first, then alphabetical — dependencies need explicit ordering\nClient-only plugins: .client.ts suffix — server-only: .server.ts suffix\nBuild and Deploy\nnuxt generate creates static files — but API routes won't work without a server\nnuxt build creates server bundle — deploy the .output directory\nISR with routeRules: '/blog/**': { isr: 3600 } — caches pages for 1 hour\nPrerender specific routes: routeRules: { '/about': { prerender: true } } — builds static HTML at build time"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/ivangdavila/nuxt",
    "publisherUrl": "https://clawhub.ai/ivangdavila/nuxt",
    "owner": "ivangdavila",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/nuxt",
    "downloadUrl": "https://openagent3.xyz/downloads/nuxt",
    "agentUrl": "https://openagent3.xyz/skills/nuxt/agent",
    "manifestUrl": "https://openagent3.xyz/skills/nuxt/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/nuxt/agent.md"
  }
}