Command

/init

Initialize CLAUDE.md from existing codebase.

安裝

manual
/init

把這段加入 Claude Code MCP 設定,或直接透過 CLI 執行。

介紹

Scans your repo (package.json, lockfiles, framework signatures) and bootstraps a starter CLAUDE.md with conventions Claude can immediately use. Built-in command — no install needed.

常見使用情境

  • Adopt Claude Code on existing repo
  • Bootstrap a new project
  • Reset project conventions

標籤

onboardinginitbuilt-in