Files
claude-config/README.md
T

23 lines
1.1 KiB
Markdown

# Claude Code configuration
The authored half of `~/.claude`: global instructions, agents, skills, principles, memory and settings. Publishes nothing.
## Goals
1. **No secret and no transcript ever reaches a commit.** `.gitignore` is an allowlist: everything is ignored, and a file is tracked only by being named. A new Claude Code release dropping a token file next to these is untracked by default.
2. **A clone restores the configuration on a new machine.** Anything needed to work the way these instructions describe is tracked; anything the tool regenerates is not.
3. **The history explains why an instruction changed.** One behaviour change per commit, message saying what it now does.
## Audience
The owner of this machine, and the Claude Code sessions that read these files. Both may rely on everything tracked here being hand-written and safe to share — no credentials, no session data, no machine-generated state.
## Tracking a new file
Add it to `.gitignore` as a negation, then `git check-ignore -v <path>` to confirm. Re-including a file needs its parent directories un-ignored too:
```
!commands/
!commands/*.md
```