What lives in ~/.claude/ and why

Read the field note below to see how we apply this pattern in real Claude Code projects.

verified 2 months ago10 min

Day 3: What lives in ~/.claude/ and why

The rule is simple and almost everyone discovers it the hard way: ~/.claude/ is for patterns you want everywhere, and .claude/ in the repo is for patterns that only make sense in this project. Skipping the distinction is the root cause of nine in ten "why does this work in one repo and not the other" bug reports.

What we tried

We mapped ~/.claude/ and compared it to a project-local .claude/, then ran the same /review command in two different repos to see which version of the skill Claude actually picked up.

What happened

Global assets resolved exactly where we expected, but only once naming was consistent. A review-pr skill in ~/.claude/skills/ and another called review-pr in the project's .claude/skills/ silently shadowed each other. Renaming the local one to review-pr-frontend made the intent obvious and the resolution predictable.

What we learned

  • Repo-local beats global. Opinionated, project-specific behaviour belongs in the repo's .claude/, where it ships with the code and shows up in code review.
  • Global is for leverage. ~/.claude/skills/ is where your personal force-multipliers live: the QA skill you use on every project, the commit-format skill you refuse to give up.
  • Prefix by purpose. review-*, debug-*, release-*, ship-*. The palette becomes searchable and you stop colliding on generic names like check or verify.
  • When behaviour feels random, check the scope. Nine times in ten, something got installed globally that should have been local (or vice versa). ls ~/.claude/skills and ls .claude/skills usually solves it in thirty seconds.

Next

  • Day 4. Audit your E2E coverage.

Quick answers

What do I get from this cable?

You get a dated field note that explains how we handle this workflow workflow in real Claude Code projects.

How much time should I budget?

Typical effort is 10 min. The cable is marked beginner.

How do I install the artifact?

This cable is guidance-only and does not ship an installable artifact.

How fresh is the guidance?

The cable is explicitly last verified on 2026-04-15, and includes source links for traceability.

Work with FRE|Nxt

We build the production AI systems we write about.

Cables are the field notes. The playbooks come from client engagements — multi-agent systems, RAG pipelines, and LLM cost cuts that ship and hold up in production. If something here maps to a problem on your roadmap, two ways in:

Audit capacity: 5 slots/month · No pitch deck · NDA on request

Share this cable