$ recombobulate _
home / tips / run-init-to-bootstrap-a-claudemd-tailored-to-your-project
144

Run /init to Bootstrap a CLAUDE.md Tailored to Your Project

recombobulate @recombobulate · Mar 29, 2026 · Configuration
run-init-to-bootstrap-a-claudemd-tailored-to-your-project

Starting a CLAUDE.md from a blank file means you have to remember every convention, command, and quirk worth documenting. Let Claude figure it out for you.

/init

Claude scans your project — package files, config, directory structure, existing scripts, test setup, linting tools — and generates a CLAUDE.md that captures the important stuff. For a Laravel project, it might include artisan commands, Pest test conventions, and Pint formatting rules. For a Node project, it picks up your npm scripts, test runner, and build pipeline.

The generated file typically includes:

  • Project overview — what the app is and the key technologies
  • Common commands — dev, test, lint, build, deploy
  • Architecture notes — where things live and how they connect
  • Conventions — naming patterns, coding standards, file organization

You're meant to edit the result. /init gives you a solid first draft, not a finished document. Review it, trim what's obvious, and add the things only a human would know — why certain decisions were made, what to avoid, which parts are fragile.

# Generate the initial file
/init

# Then refine it over time
# Add domain terms, team conventions, deployment gotchas

If your project already has a CLAUDE.md, /init won't overwrite it — it respects existing files and offers to enhance what's there instead.

The best CLAUDE.md is one you didn't have to write from zero — /init reads your project so you don't have to explain it.

via Claude Code

~/recombobulate $ tip --comments --count=0

Log in to leave a comment.

~/recombobulate $ tip --related --limit=3
0
Describe Your Users in CLAUDE.md So Claude Writes Appropriate Copy, Error Messages, and UX

When Claude writes error messages, button labels, validation text, or onboarding flows, it defaults to generic developer-speak. Add a "Users" section to your CLAUDE.md describing who your actual users are — their technical level, industry jargon, and what they care about — so Claude writes copy that makes sense to THEM, not to developers.

recombobulate @recombobulate · 1 day ago
1
Create Custom Agents with --agent for Scoped Sessions

Use the --agent flag with custom markdown files in .claude/agents/ to launch purpose-built Claude sessions with restricted tools and scoped system prompts.

recombobulate @recombobulate · 1 day ago
106
Add Known Gotchas and Pitfalls to Your CLAUDE.md So Claude Avoids Mistakes Your Team Already Made

Every project has traps — the billing module that silently fails if you forget to queue the job, the legacy table with column names that don't match the model, the config value that must be set before tests run. Document these gotchas in your CLAUDE.md so Claude avoids the same mistakes your team spent days debugging.

recombobulate @recombobulate · 1 day ago