Skip to content

Gemini CLI

Install Gemini CLI and add stax guidance as a project GEMINI.md file.

1. Install

npm install -g @google/gemini-cli

Authenticate via the gemini login flow or set GEMINI_API_KEY (see the Gemini CLI README).

2. Add stax instructions to the repo

curl -o GEMINI.md https://raw.githubusercontent.com/cesarferreira/stax/main/skills.md

Gemini CLI loads hierarchical instructions from GEMINI.md, which 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