← Explore all skills

AI APPLICATION DEVELOPMENT / Google

Gemini API Development

Gemini Interactions API patterns for Python and TypeScript, with a dated model list and deprecated-model rules.

“Use this skill when writing code that calls the Gemini API for text generation, multi-turn chat, multimodal understanding, image generation, video generation, speech generation (TTS), voice design, voice replication, streaming responses, background research tasks, function calling, structured output, or migrating from the old generateContent API. Covers SDK usage and best practices for Gemini models and agents in Python and TypeScript.”

01 / THE REASONING

Why this made the selection.

  • The file states that interactions are stored by default, retained 55 days on the paid tier and 1 day on the free tier, and that store=False also disables previous_interaction_id and background runs.
  • It tells the agent to fetch the matching hosted documentation page before writing code, and marks the google-generativeai and @google/generative-ai SDKs as deprecated.

02 / THE REVIEW RECORD

What we actually inspected.

Source review has boundaries.
A clear record is more useful than a “safe” badge.

Material inspected

  • skills/gemini-api-dev/SKILL.md (frontmatter, critical rules, quick start, Deep Research, managed agents, streaming, data model)
  • README.md (skill table, installation, disclaimer)
  • LICENSE Apache-2.0 text
  • skills/gemini-api-dev/SKILL.md
  • README.md
  • LICENSE

Our findings

  • The file lists current models, agents and SDK floors under the heading Critical Rules and says they override training data.
  • tools, system_instruction and generation_config are interaction-scoped and must be re-specified each turn, per the file.
  • The definition says tools, system instructions and generation configuration must be supplied again each interaction, and notes that opting out of storage disables previous-interaction chaining and background execution.

Not established by this review

  • The installer was not run, and the skill was not executed against a project or service. No Gemini API call was made.
  • references/migration.md and the linked hosted documentation pages were not opened.
  • Not executed: it was not installed or run.

The review applies to the material and revision named here. A newer upstream release can change its behavior.

03 / PUT IT TO WORK

Add a skill to your workflow.

Upstream setup instructions ↗

DOCUMENTED COMMAND

npx skills add google-gemini/gemini-skills --skill gemini-api-dev

Run in your terminal to choose your AI tools, project or global scope, and installation method. This short command follows the current upstream version; the review covers the revision shown above.

  1. The README gives npx skills add google-gemini/gemini-skills --skill gemini-api-dev for this skill, plus plugin installs for Claude Code, Cursor, Codex and Antigravity.
  2. That command does not pin revision ee9da52195752ca83c2fca701d96bcb5a9c08d2d. Compare the installed SKILL.md and references/migration.md with that revision before use.
  3. The Python and TypeScript quick starts construct the client without an inline key; keep the Gemini API key in the environment.

Before you start

  • Node.js and npm for the documented Skills installer
  • A Gemini API key and google-genai or @google/genai only if you run the generated code

04 / FOLLOW THE EVIDENCE

The source trail.

Our notes are separate from the original resource.
Check upstream before adopting a new version.

  1. Skill definition ↗Checked

    https://github.com/google-gemini/gemini-skills/blob/ee9da52195752ca83c2fca701d96bcb5a9c08d2d/skills/gemini-api-dev/SKILL.md

    Supports: summary, upstreamDescription, whySelected, limitations, access, review

  2. https://github.com/google-gemini/gemini-skills/blob/ee9da52195752ca83c2fca701d96bcb5a9c08d2d/README.md

    Supports: install, compatibility

  3. Repository licence ↗Checked

    https://github.com/google-gemini/gemini-skills/blob/ee9da52195752ca83c2fca701d96bcb5a9c08d2d/LICENSE

    Supports: license

  4. https://raw.githubusercontent.com/google-gemini/gemini-skills/ee9da52195752ca83c2fca701d96bcb5a9c08d2d/skills/gemini-api-dev/SKILL.md

    Supports: review.findings, bestFor, limitations

Evidence & Ask