gemini-api
Builds or debugs Google Gemini via @google/generative-ai — generateContent, function calling, grounding, multimodal input, streaming. Use when editing src/lib/ai/clients/google.ts or adding Gemini fea
SKILL.mdcursor/gemini-api/SKILL.md
GitHubGemini 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.