gemini
Installation
SKILL.md
Building with Gemini
Use this skill for two main categories:
- Gemini API / SDK application code
- Gemini CLI customization and workflow setup
Treat them separately unless the user explicitly wants both.
Hard Rules
- For new Gemini API work, use the Google GenAI SDK unless the user explicitly asks for raw REST.
- Do not start new code on legacy SDKs like:
google-generativeai@google/generative-ai
- If the repo already uses a legacy Gemini SDK and the user asked for a patch, work with the existing code first, then offer a migration path.
- Do not guess exact model names, preview status, or feature support when those facts matter. Verify from official Gemini docs.
- Prefer stable, non-preview models unless the feature is preview-only or the user explicitly asked for preview.