diff options
| author | Thomas Vanbesien <tvanbesi@proton.me> | 2026-05-21 11:36:58 +0200 |
|---|---|---|
| committer | Thomas Vanbesien <tvanbesi@proton.me> | 2026-05-21 11:36:58 +0200 |
| commit | efcec4201d38947aef340322988a68e1e54b9b46 (patch) | |
| tree | f908ce27764d4263c524508fadbac66d73c8349b /.claude | |
| parent | a7fb2b55fd014c4e3dbad3c75d757ddcec9b163b (diff) | |
| download | dotfiles-efcec4201d38947aef340322988a68e1e54b9b46.tar.gz dotfiles-efcec4201d38947aef340322988a68e1e54b9b46.zip | |
refactor(claude): shorter global CLAUDE.md
Diffstat (limited to '.claude')
| -rw-r--r-- | .claude/CLAUDE.md | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/.claude/CLAUDE.md b/.claude/CLAUDE.md index 1a8ec82..bd5cd5f 100644 --- a/.claude/CLAUDE.md +++ b/.claude/CLAUDE.md @@ -1,27 +1,30 @@ # 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. +- 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). - 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. +# 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 (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. +- 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 a warning/diagnostic to make it go away. Fix the root cause, or give the tool the real information it - needs (types, config, library paths) so it stops being wrong. Inline `disable`/`ignore` annotations and blanket mutes - are not acceptable unless I explicitly ask for them. -- Don't re-propose an approach I've already rejected or you've conceded is wrong. Carry the concession forward. +- NEVER silence warnings or diagnostics. |
