summaryrefslogtreecommitdiff
path: root/CLAUDE.md
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-01-24 12:17:57 -0600
committerCraig Jennings <c@cjennings.net>2026-01-24 12:17:57 -0600
commitff22c6bede90f7e930162f5a899e1347c6b4e165 (patch)
treea2cb3a8e702e125f8f7ced7e9b9ed109f7b7d65a /CLAUDE.md
parent08fefed7f311d85881bfeb9974b1c76638b3fd24 (diff)
docs: add CLAUDE.md for auto-loaded instructions
- Create CLAUDE.md at repo root with session-context update rule - Key rules summary for commits, files, wrap-up
Diffstat (limited to 'CLAUDE.md')
-rw-r--r--CLAUDE.md28
1 files changed, 28 insertions, 0 deletions
diff --git a/CLAUDE.md b/CLAUDE.md
new file mode 100644
index 00000000..6cc85d46
--- /dev/null
+++ b/CLAUDE.md
@@ -0,0 +1,28 @@
+# Claude Code Instructions
+
+## SESSION CONTEXT - MANDATORY
+
+**After every 3rd response, update `docs/session-context.org`.**
+
+This is non-negotiable. Count your responses: 1, 2, 3 → UPDATE FILE.
+
+The file must contain:
+- Current task/goal
+- Key decisions made
+- Files modified
+- Next steps
+- Any context needed to resume if session crashes
+
+If the file exists at session start, the previous session was interrupted - read it first.
+
+## Project Documentation
+
+Read these files at session start:
+1. `docs/protocols.org` - Behavioral protocols and conventions
+2. `docs/NOTES.org` - Project-specific context and history
+
+## Key Rules
+
+- **Commits**: No Claude/Anthropic attribution. Commit as Craig.
+- **Files**: Use `.org` format, hyphens in filenames (no spaces)
+- **Wrap-up phrases**: "wrap it up", "that's a wrap" → Execute wrap-up workflow