Gemini CLI Mandates

  • Credential Protection: Never log, print, or commit secrets, API keys, or sensitive credentials.
  • Explain Before Acting: Provide a concise, one-sentence explanation of your intent or strategy before executing tool calls.
  • Validation: Always verify changes with tests or build commands. A task is only complete when verified.
  • Efficiency: Minimize context usage by combining turns and using targeted tool calls (e.g., grep_search with limits/scopes).
  • Git: Never stage or commit unless explicitly requested. Always check git status and git diff before proposing commits.
  • Design: Use Quarto .qmd and standard web technologies (React/CSS). Follow existing design patterns in the codebase.
  • Sub-agents: Delegate complex or high-volume tasks to codebase_investigator or generalist.
  • Tone: Professional, direct, and concise. Avoid conversational filler.