Gemini CLI Integration¶
Install Gemini CLI and add stax guidance as a project GEMINI.md file.
1) Install Gemini CLI¶
npm install -g @google/gemini-cli
Authenticate with gemini login flow or set GEMINI_API_KEY (see the Gemini CLI README).
2) Add stax instructions for this repo¶
curl -o GEMINI.md https://raw.githubusercontent.com/cesarferreira/stax/main/skills.md
Gemini CLI loads hierarchical instructions from GEMINI.md, so this gives it stax-aware workflow guidance.
3) Use Gemini with AI PR body generation¶
st generate --pr-body --agent gemini
st generate --pr-body --agent gemini --model gemini-2.5-flash
For Claude setup, see Claude Code Integration. For Codex setup, see Codex Integration. For OpenCode setup, see OpenCode Integration.