From efcec4201d38947aef340322988a68e1e54b9b46 Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Thu, 21 May 2026 11:36:58 +0200 Subject: refactor(claude): shorter global CLAUDE.md --- .claude/CLAUDE.md | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to '.claude/CLAUDE.md') 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. -- cgit v1.3.1