add gemini agent instructions
This commit is contained in:
@@ -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
|
2. **Explore the codebase** - Understand existing patterns before adding new code
|
||||||
3. **Ask questions** - Clarify requirements before major changes
|
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
|
### Working Principles
|
||||||
- **Specificity over generality**: Follow exact commands and patterns
|
- **Specificity over generality**: Follow exact commands and patterns
|
||||||
- **Consistency**: Match existing code style and architecture
|
- **Consistency**: Match existing code style and architecture
|
||||||
|
|||||||
@@ -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.
|
||||||
Reference in New Issue
Block a user