1. Habit
  2. Skills
  3. Gemini API Dev skill
google-gemini · 25K installs

Gemini API Dev skill
Runs by itself, weekly model scan.

No deprecated Gemini models ship.

Install the Gemini API Dev skill and make it a habit: follow https://gethabit.dev/skills/google-gemini/gemini-api-dev.md

  1. 1Copy
  2. 2Paste into Claude Code, Codex or Cursor
  3. 3It runs by itself

25K installs4K starsApache-2.0 licenceSource on GitHub ↗

Gemini API Dev

by google-gemini · 25K installs

The skill

The gemini api dev skill helps developers write Python and TypeScript code for the Gemini API, with current models, the interactions API, streaming, agents and migration notes.

Only when you ask.

The habit

No deprecated Gemini models ship.

↻ Runs by itselfweekly model scan

How the habit works.
You don't have to.

Three questionsWhen does it start? How does it check its work? What does it remember?

One run, step by step.
Then it stops.

Stop ruleStops after migrating at most 10 files per run.

  1. 01

    Scan

    The agent searches the code for deprecated model strings and legacy SDK imports.

  2. 02

    Confirm scope

    It lists the hits and asks you to confirm the migration scope, as the skill requires.

  3. 03

    Read the docs

    It reads references/migration.md and fetches the matching hosted docs page before editing.

  4. 04

    Migrate

    It swaps model strings to current models and moves old generateContent calls to the interactions API.

  5. 05

    Re-specify per turn

    It checks tools, system_instruction and generation_config are passed on every turn.

  6. 06

    Test and log

    It runs the tests and writes the changes to the run log.

What it may do.
Nothing more.

Safe by defaultIt writes only in its own folder and asks you before anything goes out.

Is it for you?
Use it when it fits.

Quick checkRead both lists. If the left one sounds like you, the Gemini API Dev skill helps.

Use it when

  • ✓ You write code that calls Gemini
  • ✓ You migrate from generateContent
  • ✓ You build with Deep Research or managed agents

Skip it when

  • – You need the real-time Live API
  • – You use a different model provider

Questions

Gemini API Dev skill, answered.

What if code asks for a deprecated model on purpose?

The skill replaces it with gemini-3.8-flash and notes the swap.

Does it cover the Live API?

No. The skill points to the separate gemini-live-api-dev skill for that.

How do I install the Gemini API Dev skill?

Copy the prompt at the top into your agent. It installs the skill from google-gemini/gemini-skills and sets up the habit. Or run npx skills add google-gemini/gemini-skills --skill gemini-api-dev.

Is the Gemini API Dev skill free?

Yes. It is published under Apache-2.0. Habit is free too.

Gemini API Dev. Now as a habit.

Install the Gemini API Dev skill and make it a habit: follow https://gethabit.dev/skills/google-gemini/gemini-api-dev.md

  • Free
  • No account
  • Undo in one line

All google-gemini skills →More code skills →

Works in

  • Claude Code
  • Codex
  • Cursor
  • ChatGPT
  • Claude app

Made by google-gemini, published under Apache-2.0. Habit links to the original and never changes it. Is this your skill?

Copying didn't work here. Select the line and copy it by hand.