Gemini API Coding Guidelines (JavaScript/TypeScript)

Community

Master Gemini API with expert JS/TS code.

AuthorGyana491
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides clear, up-to-date guidance and code examples for using the Google Gen AI SDK (@google/genai) to interact with Gemini models, ensuring developers use the correct libraries and practices.

Core Features & Use Cases

  • SDK Best Practices: Demonstrates correct installation, initialization, and API usage for the @google/genai SDK.
  • Model Selection: Guides on choosing appropriate Gemini models for various tasks (text, multimodal, video, image).
  • Advanced Capabilities: Provides code snippets for features like multimodal inputs, system instructions, structured outputs (JSON), function calling, and media generation (images, video).
  • Use Case: A developer needs to integrate Gemini's multimodal capabilities into their application. They can refer to this Skill for precise JavaScript code examples on how to send images and text prompts to the API and handle the response.

Quick Start

Use the Gemini API coding skill to generate a JavaScript code snippet for basic text generation using the gemini-3-flash-preview model.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Gemini API Coding Guidelines (JavaScript/TypeScript)
Download link: https://github.com/Gyana491/opencanvas-gemini/archive/main.zip#gemini-api-coding-guidelines-javascript-typescript

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.