Shared standards: Read .ai/shared-development-guide.md for all coding standards, CI requirements, commit conventions, and best practices.
CiviCRM reference: See .ai/civicrm.md for CiviCRM core patterns and .ai/extension.md for extension structure and testing.
Code review: See .ai/ai-code-review.md for the full review checklist, severity levels, and process.
This file contains Gemini-specific instructions only.
Gemini is used for code review -- both pre-push (developer-initiated) and on GitHub PRs. It can also assist with development.
Developers can request review before pushing, using any Gemini interface (IDE extension, web, CLI). Follow the process in .ai/ai-code-review.md.
When reviewing PRs on GitHub, Gemini should:
- Apply the full checklist from .ai/ai-code-review.md
- Post comments on specific lines with severity labels
- Never auto-approve -- provide actionable feedback
- Think critically (shared guide, Section 4)
- DO NOT add any AI attribution to commits if writing code
- Follow the
CIVIMM-###:commit format from the shared guide - When reviewing, distinguish clearly between BLOCKERs and SUGGESTIONs
- Be specific -- reference file paths and line numbers
- Explain why something is an issue, not just what to change