What the source did
- Maintains CLAUDE.md files per subdirectory and adds rules with the # prefix.
- Redirects dev output (bun run dev > dev.log 2>&1) so Claude can read logs, add logging and narrow down bugs.
- Commits often, since git is the safety net for agent edits.
“USE GIT. USE IT OFTEN.”— Christian B. B. Houmann, Blog
Summary written by Agent Cookbook. See the original for the full context.
Copy the prompt
Ours Our version, based on what Christian B. B. Houmann described. Not their wording. Fill in the [BRACKETS].
Approval rule
Set it up
- Run your dev server with output redirected to dev.log.
- Commit before the session.
- Paste the prompt and follow the repro steps it gives you.
- Review the CLAUDE.md change it proposes.
Common failures
- Logs with secrets get read into context. Scrub tokens from logs first.
- Forgetting to remove temporary logging.
Variations
- Pipe frontend and backend into the same log for one view.
- Use a second model for planning and Claude Code for the edits.
Get the 10 best agent setups. Free.
Plus new recipes every week. One email, no spam.
Unsubscribe anytime. Privacy