]> git.ekhem.eu.org Git - guix.git/commitdiff
[home] Install system-wide CLAUDE.md via Guix home as a dotfile.
authorJakub Czajka <jakub@ekhem.eu.org>
Sun, 21 Jun 2026 14:44:16 +0000 (16:44 +0200)
committerJakub Czajka <jakub@ekhem.eu.org>
Wed, 24 Jun 2026 22:53:20 +0000 (00:53 +0200)
Co-Authored-By: Claude <noreply@anthropic.com>
claude/.config/claude/CLAUDE.md [new file with mode: 0644]
conf/home/claude.scm

diff --git a/claude/.config/claude/CLAUDE.md b/claude/.config/claude/CLAUDE.md
new file mode 100644 (file)
index 0000000..47d1a90
--- /dev/null
@@ -0,0 +1,15 @@
+# Workflow
+
+- When you fail a tool call, suggest /rewind and updating the project
+  CLAUDE.md with /memory.
+- Suggest /compact with a custom message from time to time.
+- Suggest creating a custom /command for operations run frequently.
+- When you ask for permission often, suggest adding it in
+  .claude/settings.local.json.
+
+# Style
+
+- Use full (long) names for command-line flags in scripts.
+- Wrap lines at a maximum of 80 characters.
+- Add or update copyright year to the current year in files that carry one.
+- Use spaces over tabs.
index 5598093eb70eb5de29fae4eccaa4f0fdfb4b98b9..47f0183674901b903bf3ef3379aa4541131a0b4e 100644 (file)
@@ -11,7 +11,7 @@
 
 (define claude-dotfiles
   (list "claude/.config/claude/settings.json"
-        "claude/.local/bin/get-api-key"))
+        "claude/.config/claude/CLAUDE.md" "claude/.local/bin/get-api-key"))
 
 (define claude-service
   (service home-program-service-type