Claude Code’s `/init` can scan a repo and draft the first `CLAUDE.md` for you
thisdudelikesAI · x · 2026-07-23
Run /init in the project root to let Claude read the codebase and draft a starter CLAUDE.md.
- The generated file includes build commands, test commands, and conventions discovered in the repo.
- If CLAUDECODENEWINIT=1 is set, the flow becomes interactive: it asks questions, proposes files, and waits for review.
- The post is framed as a remedy for rebuilding context every session when no persistent memory file exists.
Related event: Best Practices for Claude Code Memory and Rules(12 posts)→
More from coding & agent
- One prompt, full Blender animation: dev says he never touched Blender once — iamfakhrealam · 2026-10-26
- Claude Code finds root backdoor in Honda Civic head unit, then debloats it — IndraVahan · 2026-10-26
- Claude Code + Monid MCP builds a $12K/year B2B prospecting engine on live data — aryanXmahajan · 2026-10-26
- Karpathy shares CLAUDE.md rulebook to stop AI coding agents from piling up tech debt — mdancho84 · 2026-10-26
- Rethinking dependencies in the agent era: drop libs that save 20 lines of code — gethackteam · 2026-10-26
- RustGIS hits 2,000 GitHub stars in two weeks with agent-first architecture — giswqs · 2026-10-26