summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-02-03 11:00:00 +0100
committerskal <pascal.massimino@gmail.com>2026-02-03 11:00:00 +0100
commitd0cd39ca4d4fc7cd79b85342d4cd312ba378dbc0 (patch)
tree28a3cc4ce340c271c68cb9d2358ca75d35494740
parent124899f27b6c1ec02bfa16a57a4e43ea2b7ebac0 (diff)
add Claude guidelines
-rw-r--r--CLAUDE.md29
-rw-r--r--GEMINI.md6
-rw-r--r--doc/AI_RULES.md6
3 files changed, 41 insertions, 0 deletions
diff --git a/CLAUDE.md b/CLAUDE.md
new file mode 100644
index 0000000..77bfc3a
--- /dev/null
+++ b/CLAUDE.md
@@ -0,0 +1,29 @@
+# Project Context
+@PROJECT_CONTEXT.md
+@TODO.md
+
+# helping and quick-start tutorials
+
+@README.md
+@doc/HOWTO.md
+
+# design docs
+@doc/ASSET_SYSTEM.md
+@doc/BUILD.md
+@doc/FETCH_DEPS.md
+@doc/3D.md
+@doc/SPEC_EDITOR.md
+@doc/TRACKER.md
+@doc/PROCEDURAL.md
+
+# coding guidelines
+@doc/CONTRIBUTING.md
+@doc/AI_RULES.md
+
+IMPORTANT:
+- Follow all rules in doc/AI_RULES.md
+- This repository is shared with Gemini-CLI
+- You are working in turns with another AI agent
+- Work only on tasks explicitly requested by the user
+- Do NOT modify files outside the current scope
+- Do NOT perform refactors or cleanups unless explicitly asked
diff --git a/GEMINI.md b/GEMINI.md
index e5a8524..af6e282 100644
--- a/GEMINI.md
+++ b/GEMINI.md
@@ -18,3 +18,9 @@
# coding guidelines
@doc/CONTRIBUTING.md
+@doc/AI_RULES.md
+
+follow rules in AI_RULES.md !
+You are working in a repo shared with Claude-Code.
+Work only on the tasks explicitly requested.
+Do not modify files outside the current scope.
diff --git a/doc/AI_RULES.md b/doc/AI_RULES.md
new file mode 100644
index 0000000..c526a39
--- /dev/null
+++ b/doc/AI_RULES.md
@@ -0,0 +1,6 @@
+## Project Rules
+- Use existing patterns
+- No refactors unless explicitly requested
+- All changes must keep tests passing
+- Prefer small, reviewable commits
+- after a task, a 'big' final commit should contain a short handoff tag like "handoff(Gemini):..." if you're gemini-cli, or "handoff(Claude): ..." if you're claude-code.