Gemini API (Cursor)
Canonical source
.claude/skills/gemini-api/SKILL.md includes ai.google.dev links and patterns for models 2.5/3.x family features.
In Cursor
- Read the relevant section in the canonical skill (grounding, vision, streaming, etc.).
- Use WebFetch on the official Gemini docs URLs from that skill when verifying current model IDs or API shapes.
- Use
googleClientandgetGeminiModel()fromsrc/lib/ai/clients/google.ts; never readprocess.env.GOOGLE_AI_API_KEYdirectly in feature code.