{
  "schemaVersion": "1.0",
  "item": {
    "slug": "claude-code-setup",
    "name": "Claude Code Setup",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/EaveLuo/claude-code-setup",
    "canonicalUrl": "https://clawhub.ai/EaveLuo/claude-code-setup",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/claude-code-setup",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=claude-code-setup",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "config.json",
      "index.js"
    ],
    "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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "slug": "claude-code-setup",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-01T11:27:45.127Z",
      "expiresAt": "2026-05-08T11:27:45.127Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=claude-code-setup",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=claude-code-setup",
        "contentDisposition": "attachment; filename=\"claude-code-setup-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "claude-code-setup"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/claude-code-setup"
    },
    "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/claude-code-setup",
    "agentPageUrl": "https://openagent3.xyz/skills/claude-code-setup/agent",
    "manifestUrl": "https://openagent3.xyz/skills/claude-code-setup/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/claude-code-setup/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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Claude Code Setup",
        "body": "Setup production-grade `.claude/` AI collaboration layer for projects."
      },
      {
        "title": "Overview",
        "body": "This skill ensures projects have a proper `.claude/` configuration before agents start development work with Claude Code. It acts as a supervisor to maintain and enforce project standards."
      },
      {
        "title": "Important: Target Project Directory",
        "body": ".claude/ must be created in the target project directory, NOT in your workspace root.\n\nExample:\n\n❌ Wrong: /home/user/workspace-xiaolong/.claude/ (workspace root)\n✅ Correct: /home/user/eave-web/.claude/ (actual project being developed)\n\nAlways identify which project you're working on first, then check/create .claude/ in that directory."
      },
      {
        "title": "When to Use",
        "body": "Starting a new development task with Claude Code\nEntering a new project directory\nUser mentions \"Claude Code\", \".claude\", \"AI collaboration layer\", or \"project standards\""
      },
      {
        "title": "Step 1 — Check First",
        "body": "Always check if `.claude/` directory already exists in the target project directory:\n\n```bash\nls -la .claude/ 2>/dev/null\n```"
      },
      {
        "title": "Step 2 — If Missing → Create",
        "body": "If the project doesn't have `.claude/` directory, create it first before development:\n\n```bash\nnode ~/.openclaw/skills/claude-code-setup/index.js\n```"
      },
      {
        "title": "Step 3 — If Exists → Supervise",
        "body": "If `.claude/` already exists:\n\n✅ DO NOT overwrite existing files\n✅ DO NOT recreate the structure\n✅ Let Claude Code naturally maintain and update during development"
      },
      {
        "title": "Step 4 — Be a Supervisor",
        "body": "Your role is supervisor, not executor:\n\nEnsure Claude Code follows rules in `.claude/`\nDuring development, let Claude Code update configs based on actual code\nPeriodically review if `.claude/` content matches the project reality"
      },
      {
        "title": "Core Principles",
        "body": "CLAUDE.md is core — Highest priority project instructions\nModular — Separate rules/skills/context\nClear directives — Use MUST/ALWAYS/NEVER\nProject context — Must include project overview and tech stack\nDon't reinvent — Reuse and maintain existing configs"
      },
      {
        "title": ".claude/ Directory Structure",
        "body": "```\n.claude/\n├── CLAUDE.md              # ⭐ Project-level global instructions (most important)\n├── rules/                 # Team rule library\n│   ├── frontend.md\n│   ├── typescript.md\n│   └── commit.md\n├── context/               # Project context knowledge\n│   ├── project.md\n│   └── stack.md\n├── skills/                # Project-private skills\n│   └── generate-crud.md\n└── prompts/               # Reusable prompt templates\n└── review.md\n```"
      },
      {
        "title": "Common Mistakes to Avoid",
        "body": "❌ Writing as requirements doc or README\n❌ Vague rules (\"try to\", \"should\")\n❌ Only CLAUDE.md without modularity\n❌ Missing project context\n❌ Overwriting existing configs\n❌ Redundant recreation"
      },
      {
        "title": "Collaboration with Claude Code",
        "body": "When using Claude Code:\n\nBefore starting: Ensure `.claude/` exists\nDuring development: Let Claude Code reference rules in `.claude/`\nAfter completion: Update `.claude/` with any new standards learned"
      },
      {
        "title": "Template Files",
        "body": "See `index.js` for template definitions."
      }
    ],
    "body": "Claude Code Setup\n\nSetup production-grade `.claude/` AI collaboration layer for projects.\n\nOverview\n\nThis skill ensures projects have a proper `.claude/` configuration before agents start development work with Claude Code. It acts as a supervisor to maintain and enforce project standards.\n\nImportant: Target Project Directory\n\n.claude/ must be created in the target project directory, NOT in your workspace root.\n\nExample:\n\n❌ Wrong: /home/user/workspace-xiaolong/.claude/ (workspace root)\n✅ Correct: /home/user/eave-web/.claude/ (actual project being developed)\n\nAlways identify which project you're working on first, then check/create .claude/ in that directory.\n\nWhen to Use\nStarting a new development task with Claude Code\nEntering a new project directory\nUser mentions \"Claude Code\", \".claude\", \"AI collaboration layer\", or \"project standards\"\nWorkflow\nStep 1 — Check First\n\nAlways check if `.claude/` directory already exists in the target project directory:\n\n```bash ls -la .claude/ 2>/dev/null ```\n\nStep 2 — If Missing → Create\n\nIf the project doesn't have `.claude/` directory, create it first before development:\n\n```bash node ~/.openclaw/skills/claude-code-setup/index.js ```\n\nStep 3 — If Exists → Supervise\n\nIf `.claude/` already exists:\n\n✅ DO NOT overwrite existing files\n✅ DO NOT recreate the structure\n✅ Let Claude Code naturally maintain and update during development\nStep 4 — Be a Supervisor\n\nYour role is supervisor, not executor:\n\nEnsure Claude Code follows rules in `.claude/`\nDuring development, let Claude Code update configs based on actual code\nPeriodically review if `.claude/` content matches the project reality\nCore Principles\nCLAUDE.md is core — Highest priority project instructions\nModular — Separate rules/skills/context\nClear directives — Use MUST/ALWAYS/NEVER\nProject context — Must include project overview and tech stack\nDon't reinvent — Reuse and maintain existing configs\n.claude/ Directory Structure\n\n``` .claude/ ├── CLAUDE.md # ⭐ Project-level global instructions (most important) ├── rules/ # Team rule library │ ├── frontend.md │ ├── typescript.md │ └── commit.md ├── context/ # Project context knowledge │ ├── project.md │ └── stack.md ├── skills/ # Project-private skills │ └── generate-crud.md └── prompts/ # Reusable prompt templates └── review.md ```\n\nCommon Mistakes to Avoid\n\n❌ Writing as requirements doc or README\n❌ Vague rules (\"try to\", \"should\")\n❌ Only CLAUDE.md without modularity\n❌ Missing project context\n❌ Overwriting existing configs\n❌ Redundant recreation\n\nCollaboration with Claude Code\n\nWhen using Claude Code:\n\nBefore starting: Ensure `.claude/` exists\nDuring development: Let Claude Code reference rules in `.claude/`\nAfter completion: Update `.claude/` with any new standards learned\nTemplate Files\n\nSee `index.js` for template definitions."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/EaveLuo/claude-code-setup",
    "publisherUrl": "https://clawhub.ai/EaveLuo/claude-code-setup",
    "owner": "EaveLuo",
    "version": "1.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/claude-code-setup",
    "downloadUrl": "https://openagent3.xyz/downloads/claude-code-setup",
    "agentUrl": "https://openagent3.xyz/skills/claude-code-setup/agent",
    "manifestUrl": "https://openagent3.xyz/skills/claude-code-setup/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/claude-code-setup/agent.md"
  }
}