{
  "schemaVersion": "1.0",
  "item": {
    "slug": "vue",
    "name": "Vue",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/ivangdavila/vue",
    "canonicalUrl": "https://clawhub.ai/ivangdavila/vue",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/vue",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=vue",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "components.md",
      "composables.md",
      "performance.md",
      "reactivity.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-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-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/vue"
    },
    "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/vue",
    "agentPageUrl": "https://openagent3.xyz/skills/vue/agent",
    "manifestUrl": "https://openagent3.xyz/skills/vue/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/vue/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": "When to Use",
        "body": "User needs Vue expertise — from Composition API patterns to production optimization. Agent handles reactivity, component design, state management, and performance."
      },
      {
        "title": "Quick Reference",
        "body": "TopicFileReactivity patternsreactivity.mdComponent patternscomponents.mdComposables designcomposables.mdPerformance optimizationperformance.md"
      },
      {
        "title": "Composition API Philosophy",
        "body": "Composition API is not about replacing Options API—it's about better code organization\nGroup code by feature, not by option type—related logic stays together\nExtract reusable logic into composables—the main win of Composition API\n<script setup> is the recommended syntax—cleaner and better performance"
      },
      {
        "title": "Reactivity Traps",
        "body": "ref for primitives—access with .value in script, auto-unwrapped in template\nreactive can't reassign whole object—state = {...} breaks reactivity\nDestructuring reactive loses reactivity—use toRefs(state) to preserve\nArray index assignment reactive in Vue 3—arr[0] = x works, unlike Vue 2\nNested refs unwrap inside reactive—reactive({count: ref(0)}).count is number, not ref"
      },
      {
        "title": "Watch vs Computed",
        "body": "computed for derived state—cached, recalculates only when dependencies change\nwatch for side effects—when you need to DO something in response to changes\ncomputed should be pure—no side effects, no async\nwatchEffect for immediate reaction with auto-tracked dependencies"
      },
      {
        "title": "Watch Traps",
        "body": "Watching reactive object needs deep: true—or watch a getter function\nwatch is lazy by default—use immediate: true for initial run\nWatch callback receives old/new—watch(source, (newVal, oldVal) => {})\nwatchEffect can't access old value—use watch if you need old/new comparison\nStop watchers with returned function—const stop = watch(...); stop()"
      },
      {
        "title": "Props and Emits Traps",
        "body": "defineProps for type-safe props—defineProps<{ msg: string }>()\nProps are readonly—don't mutate, emit event to parent\ndefineEmits for type-safe events—defineEmits<{ (e: 'update', val: string): void }>()\nv-model is :modelValue + @update:modelValue—custom v-model with defineModel()\nDefault value for objects must be factory function—default: () => ({})"
      },
      {
        "title": "Template Ref Traps",
        "body": "ref=\"name\" + const name = ref(null)—names must match exactly\nTemplate refs available after mount—access in onMounted, not during setup\nref on component gives component instance—ref on element gives DOM element\nTemplate ref with v-for becomes array of refs"
      },
      {
        "title": "Lifecycle Traps",
        "body": "onMounted for DOM access—component mounted to DOM\nonUnmounted for cleanup—subscriptions, timers, event listeners\nonBeforeMount runs before DOM insert—rarely needed but exists\nHooks must be called synchronously in setup—not inside callbacks or conditionals\nAsync setup needs <Suspense> wrapper"
      },
      {
        "title": "Provide/Inject Traps",
        "body": "provide('key', value) in parent—inject('key') in any descendant\nReactive if value is ref/reactive—otherwise static snapshot\nDefault value: inject('key', defaultVal)—third param for factory function\nSymbol keys for type safety—avoid string key collisions"
      },
      {
        "title": "Vue Router Traps",
        "body": "useRoute for current route—reactive, use in setup\nuseRouter for navigation—router.push('/path')\nNavigation guards: beforeEach, beforeResolve, afterEach—return false to cancel\n<RouterView> with named views—multiple views per route"
      },
      {
        "title": "Common Mistakes",
        "body": "v-if vs v-show—v-if removes from DOM, v-show toggles display\nKey on v-for required—v-for=\"item in items\" :key=\"item.id\"\nEvent modifiers order matters—.prevent.stop vs .stop.prevent\nTeleport for modals—<Teleport to=\"body\"> renders outside component tree"
      }
    ],
    "body": "When to Use\n\nUser needs Vue expertise — from Composition API patterns to production optimization. Agent handles reactivity, component design, state management, and performance.\n\nQuick Reference\nTopic\tFile\nReactivity patterns\treactivity.md\nComponent patterns\tcomponents.md\nComposables design\tcomposables.md\nPerformance optimization\tperformance.md\nComposition API Philosophy\nComposition API is not about replacing Options API—it's about better code organization\nGroup code by feature, not by option type—related logic stays together\nExtract reusable logic into composables—the main win of Composition API\n<script setup> is the recommended syntax—cleaner and better performance\nReactivity Traps\nref for primitives—access with .value in script, auto-unwrapped in template\nreactive can't reassign whole object—state = {...} breaks reactivity\nDestructuring reactive loses reactivity—use toRefs(state) to preserve\nArray index assignment reactive in Vue 3—arr[0] = x works, unlike Vue 2\nNested refs unwrap inside reactive—reactive({count: ref(0)}).count is number, not ref\nWatch vs Computed\ncomputed for derived state—cached, recalculates only when dependencies change\nwatch for side effects—when you need to DO something in response to changes\ncomputed should be pure—no side effects, no async\nwatchEffect for immediate reaction with auto-tracked dependencies\nWatch Traps\nWatching reactive object needs deep: true—or watch a getter function\nwatch is lazy by default—use immediate: true for initial run\nWatch callback receives old/new—watch(source, (newVal, oldVal) => {})\nwatchEffect can't access old value—use watch if you need old/new comparison\nStop watchers with returned function—const stop = watch(...); stop()\nProps and Emits Traps\ndefineProps for type-safe props—defineProps<{ msg: string }>()\nProps are readonly—don't mutate, emit event to parent\ndefineEmits for type-safe events—defineEmits<{ (e: 'update', val: string): void }>()\nv-model is :modelValue + @update:modelValue—custom v-model with defineModel()\nDefault value for objects must be factory function—default: () => ({})\nTemplate Ref Traps\nref=\"name\" + const name = ref(null)—names must match exactly\nTemplate refs available after mount—access in onMounted, not during setup\nref on component gives component instance—ref on element gives DOM element\nTemplate ref with v-for becomes array of refs\nLifecycle Traps\nonMounted for DOM access—component mounted to DOM\nonUnmounted for cleanup—subscriptions, timers, event listeners\nonBeforeMount runs before DOM insert—rarely needed but exists\nHooks must be called synchronously in setup—not inside callbacks or conditionals\nAsync setup needs <Suspense> wrapper\nProvide/Inject Traps\nprovide('key', value) in parent—inject('key') in any descendant\nReactive if value is ref/reactive—otherwise static snapshot\nDefault value: inject('key', defaultVal)—third param for factory function\nSymbol keys for type safety—avoid string key collisions\nVue Router Traps\nuseRoute for current route—reactive, use in setup\nuseRouter for navigation—router.push('/path')\nNavigation guards: beforeEach, beforeResolve, afterEach—return false to cancel\n<RouterView> with named views—multiple views per route\nCommon Mistakes\nv-if vs v-show—v-if removes from DOM, v-show toggles display\nKey on v-for required—v-for=\"item in items\" :key=\"item.id\"\nEvent modifiers order matters—.prevent.stop vs .stop.prevent\nTeleport for modals—<Teleport to=\"body\"> renders outside component tree"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/ivangdavila/vue",
    "publisherUrl": "https://clawhub.ai/ivangdavila/vue",
    "owner": "ivangdavila",
    "version": "1.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/vue",
    "downloadUrl": "https://openagent3.xyz/downloads/vue",
    "agentUrl": "https://openagent3.xyz/skills/vue/agent",
    "manifestUrl": "https://openagent3.xyz/skills/vue/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/vue/agent.md"
  }
}