summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-05-28 17:11:57 +0200
committerThomas Vanbesien <tvanbesi@proton.me>2026-05-28 17:11:57 +0200
commitcdd479eea21c5dd18496debcab3432819190b9b3 (patch)
tree9e2d58434988406eacb8534166f8822ff3491e2a
parent6f89bf8f537b90cde9f2b6c87a07eac6612b159a (diff)
downloaddotfiles-cdd479eea21c5dd18496debcab3432819190b9b3.tar.gz
dotfiles-cdd479eea21c5dd18496debcab3432819190b9b3.zip
misc(claude): add instructions to not run trivial scripts
-rw-r--r--.claude/CLAUDE.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/.claude/CLAUDE.md b/.claude/CLAUDE.md
index 27ff54b..e895578 100644
--- a/.claude/CLAUDE.md
+++ b/.claude/CLAUDE.md
@@ -37,3 +37,10 @@
- Default to diagnostic mode: investigate, explain, recommend. Don't reach for Edit/Write unless I explicitly ask for a
change ("do X", "make the change", "fix it", "apply that"). If ambiguous, ask.
+
+# Running scripts
+
+- When you write a script that does real work (data transformation, transfers, mutations, anything with side effects),
+ output it for me to run myself — don't execute it. Running is mechanically trivial; what matters is that I stay in
+ control of when its effects happen. Ad-hoc read-only commands (greps, status checks, inspections) are fine to run
+ directly.