بنقرة واحدة
bootstrap
Set up global Claude Code configuration — personal CLAUDE.md, skills, hooks, and settings
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Set up global Claude Code configuration — personal CLAUDE.md, skills, hooks, and settings
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Audit a project's CLAUDE.md / AGENTS.md for structure, bloat, stale references, and best practices
Read-only analysis of global Claude Code configuration — flags issues and suggests improvements
Scan the current project and generate tailored project-level Claude Code configuration
Create a git commit with proper context and conventional commit message
Review a pull request using parallel agents for thorough coverage
| name | bootstrap |
| description | Set up global Claude Code configuration — personal CLAUDE.md, skills, hooks, and settings |
| disable-model-invocation | true |
| effort | high |
| allowed-tools | Read Glob Grep Bash(ls *) Bash(find *) Bash(which *) Bash(cat *) Bash(uname *) Bash(echo *) Bash(mkdir *) Write Edit |
Set up the user's global Claude Code environment. ultrathink about what matters.
All generated config goes to global paths (~/.claude/), not the current project.
These run inside the project sandbox — safe on any fresh install.
!uname -s
!echo ~
!which git node pnpm npm yarn bun python python3 uv pip cargo go ruby gem docker gh 2>/dev/null || true
First, use your tools to read the user's existing global config. Read each of these (they may not exist yet — that's fine):
~/.claude/CLAUDE.md — existing personal instructions~/.claude/settings.json — existing hooks and permissions~/.claude/skills/ — list existing skill directories~/.claude/rules/ — list existing rule files~/.claude.json — existing MCP server configThen assess:
Present a profile:
Environment: Linux · bash · Node 22 + pnpm · Python 3.12 + uv · git + gh
Global CC: CLAUDE.md (exists, imports AGENTS.md) · 3 skills · settings.json with hooks
MCP: Playwright, Chrome DevTools
Ask at most 3 questions. Only ask what you can't infer:
If existing config is comprehensive → skip questions and move to recommendations.
Generate or update files at global paths. After each, print one line saying what it does.
~/.claude/CLAUDE.md — Personal instructionsThis is the user's global brain. It should contain:
# Personal Instructions
## Preferences
[coding style preferences, communication style, workflow habits]
## Tools & Environment
[default package managers, preferred test runners, shell setup]
## Conventions
[commit style, PR workflow, naming conventions they follow across projects]
Target: 15-25 lines, all signal. This applies to EVERY project, so keep it general — no project-specific commands.
If ~/.claude/CLAUDE.md already exists → read it, then present suggested additions/changes as a diff. Never overwrite.
~/.claude/skills/ — Portable skills (conditional)Recommend and generate skills that work across any project. Good candidates:
Only generate skills that don't already exist at ~/.claude/skills/.
~/.claude/settings.json — Global hooks & permissions (conditional)Recommend hooks that make sense globally:
git add . / git add -A (prefer explicit staging)rm -rf without confirmationIf ~/.claude/settings.json already exists → read it, merge new hooks, don't overwrite existing ones.
Don't install MCP servers — just recommend ones relevant to the detected environment:
claude mcp add --scope user playwright -- npx @playwright/mcp@latest) — if Node installedclaude mcp add --scope user chrome-devtools -- npx -y chrome-devtools-mcp@latest) — for perf debuggingPrint the claude mcp add commands for the user to run. Skip any already configured.
Done. Your global Claude Code environment is set up.
✓ ~/.claude/CLAUDE.md — [what it covers]
✓ ~/.claude/skills/... — [skills created or already present]
✓ ~/.claude/settings.json — [hooks added or already present]
ℹ MCP recommendations — [if any, with commands to run]
This config applies to every project. For project-specific setup,
create a CLAUDE.md in the project root.
~/.claude/ — never write to project-local paths.