summaryrefslogtreecommitdiffstats
path: root/.claude/CLAUDE.md
blob: bd5cd5f3d62fb52372138d594aab685a435275d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Git

- Never add a `Co-Authored-By` line to commit messages.
- Don't `git commit` straight after changing something. Test and let me verify first.
- When renaming or moving a tracked file, use `git mv`, not plain `mv`, so the rename is staged (clean history/diff).

# CLAUDE.md memory

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

# Auto-memory

- Ask me before adding or editing a memory. Ask if the memory should be global (`~/.CLAUDE.md`) or if it should be
  project-scoped.

# .gitignore

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

# Bash

- Format multi-step Bash commands across multiple lines, in a human-readable format.

# Formatting

- Only perform the most basic formatting for readability. All formatting is handled with hooks. If in doubt ask.

# Diagnostics & linters

- NEVER silence warnings or diagnostics.