Claude Code reads CLAUDE.md at the start of every session, and most of mine started as the same copy-paste with the project details swapped. So I made a small page that writes it for you:
https://devpodo.github.io/claude-md-builder/ Pick a stack preset (Next.js + Supabase, Vite + React, Express, FastAPI, static HTML, or your own), adjust the commands and folder layout, tick the rules you want, and copy or download the result.
path - what's there, one per line, turned into a list Claude can navigate by..env files; new env vars go in .env.example
claude -p and overnight jobs. Never stop to ask, log decisions to RUN-LOG.md, and never deploy, delete, send or spend while you're away.
A second tab gives the settings.json block for a PreToolUse guard hook that blocks rm -rf /, force-pushes to main, git reset --hard and DROP TABLE before they run.
One HTML file, vanilla JS, no build step, no dependencies, no analytics. Everything runs in your browser and nothing you type leaves the page. Source: https://github.com/DevPodo/claude-md-builder (MIT).
If there's a rule you always add to your CLAUDE.md that isn't in the list, tell me in the comments and I'll add it.