with one click
init
// Use when the user asks to initialize, analyze codebase, or generate .claude/CLAUDE.md. This skill should be used at the start of a new project or when CLAUDE.md is missing.
// Use when the user asks to initialize, analyze codebase, or generate .claude/CLAUDE.md. This skill should be used at the start of a new project or when CLAUDE.md is missing.
[HINT] Download the complete skill directory including SKILL.md and all related files
| name | init |
| description | Use when the user asks to initialize, analyze codebase, or generate .claude/CLAUDE.md. This skill should be used at the start of a new project or when CLAUDE.md is missing. |
Analyze the codebase, then generate or overwrite .claude/CLAUDE.md.
Scan in order, stop when pattern is clear:
Do NOT recursively scan entire codebase. If pattern unclear after 2 files -> note "pattern unclear, needs manual review".
Write to: .claude/CLAUDE.md
Scan actual folder structure. Include only folders not self-explanatory.
Scan codebase for: naming patterns, import style, export style. Document what actually exists - do not assume. If inconsistent: "inconsistent - prefer X"
Most important section:
For each domain with non-obvious patterns (auth, forms, data fetching, state, routing, testing):