add gemini agent instructions

This commit is contained in:
2025-11-20 12:08:57 +01:00
parent 0e3fef20fc
commit e017c8a84c
2 changed files with 37 additions and 0 deletions
+20
View File
@@ -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