From e017c8a84c6d2e6d1ae3fab8cd7e731178cba45a Mon Sep 17 00:00:00 2001 From: Jeroen Schweitzer Date: Thu, 20 Nov 2025 12:08:57 +0100 Subject: [PATCH] add gemini agent instructions --- AGENTS.md | 20 ++++++++++++++++++++ GEMINI.md | 17 +++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 GEMINI.md diff --git a/AGENTS.md b/AGENTS.md index 3fe34e1..8497b85 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -308,6 +308,26 @@ If you see any of these in `git status`, STOP and add to .gitignore: 2. **Explore the codebase** - Understand existing patterns before adding new code 3. **Ask questions** - Clarify requirements before major changes +### Prompt Logging +**MANDATORY: Log all user prompts before starting work.** + +When a user provides a prompt/request: +1. **Immediately log it** to `prompt-log.md` in the project root +2. **Include timestamp** - Use ISO 8601 format (YYYY-MM-DD HH:MM:SS) +3. **Preserve exact wording** - Copy the user's prompt verbatim +4. **Then begin work** - After logging, proceed with the task + +This ensures no work is lost if sessions are accidentally closed. + +**Format:** +```markdown +## [YYYY-MM-DD HH:MM:SS] + +[User's exact prompt here] + +--- +``` + ### Working Principles - **Specificity over generality**: Follow exact commands and patterns - **Consistency**: Match existing code style and architecture diff --git a/GEMINI.md b/GEMINI.md new file mode 100644 index 0000000..1fc1120 --- /dev/null +++ b/GEMINI.md @@ -0,0 +1,17 @@ +# Gemini Code Instructions + +**MANDATORY: Read AGENTS.md instead of this file.** + +This project uses a unified configuration file for all LLM coding agents. + +## Instructions + +1. **Read and follow AGENTS.md** - All project guidelines are located there +2. **Do not modify this file** - Only update AGENTS.md +3. **Do not create or modify other agent-specific files** - Use AGENTS.md as the single source of truth + +This approach ensures consistent behavior across all LLM coding agents without managing separate configuration files. + +--- + +If you need to update project guidelines, edit AGENTS.md, not this file.