summaryrefslogtreecommitdiffstats
path: root/.claude/CLAUDE.md
blob: dbca9765d810ae5877a34f783707734fcf4ec965 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Git

- Never add a `Co-Authored-By` line to commit messages.
- Don't `git commit` until I've tested the change and confirmed it works. Make the edits, summarize, and wait for my
  go-ahead — especially for interactive/GUI changes I have to verify myself.
- When renaming or moving a tracked file, use `git mv`, not plain `mv`, so the rename is staged (clean history/diff).
  Still don't commit it — I drive commits.

# CLAUDE.md memory

- Create project memory CLAUDE.md at `./.claude/CLAUDE.md,` not `./CLAUDE.md`. Do not commit it to git.

# .gitignore

- Never add `.claude` and `.directory` to local `.gitignore`. These patterns are globally ignored.

# Bash

- Format multi-step Bash commands across multiple lines (one logical step per line, `\` continuations, section `echo`
  separators on their own line) rather than one dense single line. I read commands before approving them.