{
  "schemaVersion": "1.0",
  "item": {
    "slug": "cpp",
    "name": "C++",
    "source": "tencent",
    "type": "skill",
    "category": "其他",
    "sourceUrl": "https://clawhub.ai/ivangdavila/cpp",
    "canonicalUrl": "https://clawhub.ai/ivangdavila/cpp",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/cpp",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=cpp",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "classes.md",
      "concurrency.md",
      "memory.md",
      "modern.md",
      "pointers.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-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.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/cpp"
    },
    "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/cpp",
    "agentPageUrl": "https://openagent3.xyz/skills/cpp/agent",
    "manifestUrl": "https://openagent3.xyz/skills/cpp/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/cpp/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": "Quick Reference",
        "body": "TopicFileRAII, smart pointers, new/deletememory.mdRaw pointers, references, nullptrpointers.mdRule of 3/5/0, inheritance, virtualclasses.mdContainers, iterators, algorithmsstl.mdTemplates, SFINAE, conceptstemplates.mdThreads, mutex, atomicsconcurrency.mdC++11/14/17/20, move semanticsmodern.mdUndefined behavior trapsub.md"
      },
      {
        "title": "Critical Rules",
        "body": "Raw new without delete leaks — use std::unique_ptr or std::make_unique\nReturning reference to local — undefined behavior, object destroyed on return\n== for C-strings compares pointers — use std::string or strcmp()\nSigned integer overflow is UB — not wrap-around like unsigned\nVirtual destructor required in base class — otherwise derived destructor skipped\nstd::move doesn't move — it casts to rvalue, enabling move semantics\nMoved-from object valid but unspecified — don't use without reassigning\nData race on non-atomic is UB — use std::mutex or std::atomic\nvector<bool> is not a real container — returns proxy, use deque<bool>\nmap[key] inserts default if missing — use find() or contains() to check\nBraced init {} prevents narrowing — int x{3.5} errors, int x(3.5) truncates\nIterator invalidation on push_back — vector may relocate, invalidating iterators\nstring_view doesn't own data — underlying string must outlive the view"
      }
    ],
    "body": "Quick Reference\nTopic\tFile\nRAII, smart pointers, new/delete\tmemory.md\nRaw pointers, references, nullptr\tpointers.md\nRule of 3/5/0, inheritance, virtual\tclasses.md\nContainers, iterators, algorithms\tstl.md\nTemplates, SFINAE, concepts\ttemplates.md\nThreads, mutex, atomics\tconcurrency.md\nC++11/14/17/20, move semantics\tmodern.md\nUndefined behavior traps\tub.md\nCritical Rules\nRaw new without delete leaks — use std::unique_ptr or std::make_unique\nReturning reference to local — undefined behavior, object destroyed on return\n== for C-strings compares pointers — use std::string or strcmp()\nSigned integer overflow is UB — not wrap-around like unsigned\nVirtual destructor required in base class — otherwise derived destructor skipped\nstd::move doesn't move — it casts to rvalue, enabling move semantics\nMoved-from object valid but unspecified — don't use without reassigning\nData race on non-atomic is UB — use std::mutex or std::atomic\nvector<bool> is not a real container — returns proxy, use deque<bool>\nmap[key] inserts default if missing — use find() or contains() to check\nBraced init {} prevents narrowing — int x{3.5} errors, int x(3.5) truncates\nIterator invalidation on push_back — vector may relocate, invalidating iterators\nstring_view doesn't own data — underlying string must outlive the view"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/ivangdavila/cpp",
    "publisherUrl": "https://clawhub.ai/ivangdavila/cpp",
    "owner": "ivangdavila",
    "version": "1.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/cpp",
    "downloadUrl": "https://openagent3.xyz/downloads/cpp",
    "agentUrl": "https://openagent3.xyz/skills/cpp/agent",
    "manifestUrl": "https://openagent3.xyz/skills/cpp/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/cpp/agent.md"
  }
}