
What happened
The author moved rules shared across all repositories (source control, where records go, reply language) into ~/.claude/CLAUDE.md, and kept purpose, layout, build/test commands and tool-specific constraints in each repository's own CLAUDE.md.
Why it matters
Fixing a shared rule in one place updates every repository, and each tool no longer reads commands that only belong to another project.
Summaries like this, every morning.
The author's setup addresses a duplication problem that appears as internal tools multiply. Writing CLAUDE.md from scratch in each repository meant copying rules like "add only the files you changed" and "record decision reasons elsewhere," which could drift out of sync when only one copy was updated. Pushing everything into the user-level file instead meant every repository read build commands that mattered only to one tool.
The split was tested on two fictional repositories, an equipment-lending tool and a daily-report aggregator. Asking each folder which file held its rules returned the shared rules and the repository-specific ones with file names attached, and commands from the other tool did not appear. The test also surfaced caveats: the user-level file is not shared with teammates who clone the repository, and a missing reply-language instruction produced an English answer to a Japanese question.
Pick your industry and the AI tools you use, and get news related to your work every day.
Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →
Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.
Gopuff launched a fully integrated delivery experience that runs through SpaceXSI's AI agent, per Progressive…

OpenAI agreed to acquire Odessia, an AI trip-planning engine that sits between travelers and booking platforms…

Omaha companies, including Union Pacific with its 'Rita' tool and others using Copilot, shared how they are ad…

ServiceNow launched its Autonomous CRM Engine, which uses AI to analyze existing CRM setups and automate workf…

BlackRock’s Pyle said the AI transformation is bigger than any company or individual, amid Nvidia turmoil

Merck raised its full-year 2026 revenue forecast to between €21.5bn and €21.9bn, up from €21.0bn to €21.8bn, a…
