Setup production-grade \.claude/\ AI collaboration layer for projects.
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.
.claude/ must be created in the target project directory, NOT in your workspace root.
Example:
/home/user/workspace-xiaolong/.claude/ (workspace root)/home/user/eave-web/.claude/ (actual project being developed)Always identify which project you're working on first, then check/create .claude/ in that directory.
Always check if \.claude/\ directory already exists in the target project directory:
\\\`bash
ls -la .claude/ 2>/dev/null
\\\`
If the project doesn't have \.claude/\ directory, create it first before development:
\\\`bash
node ~/.openclaw/skills/claude-code-setup/index.js
\\\`
If \.claude/\ already exists:
Your role is supervisor, not executor:
.claude/\.claude/\ content matches the project reality\\\`
.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
\\\`
❌ Writing as requirements doc or README
❌ Vague rules ("try to", "should")
❌ Only CLAUDE.md without modularity
❌ Missing project context
❌ Overwriting existing configs
❌ Redundant recreation
When using Claude Code:
.claude/\ exists.claude/\.claude/\ with any new standards learnedSee \index.js\ for template definitions.
共 1 个版本