スキル一覧に戻る
YuniorGlez

gemini-sdk-expert

by YuniorGlez

Transform your Gemini CLI into a high-performance autonomous agentic environment. This repository provides a curated collection of tactical skills, advanced agent configurations, and automated protocol hooks used by elite engineering teams.

0🍴 2📅 2026年1月25日
GitHubで見るManusで実行

SKILL.md


name: gemini-sdk-expert id: gemini-sdk-expert version: 1.2.0 description: "Senior Architect for @google/genai v1.35.0+. Specialist in Structured Intelligence, Context Caching, and Agentic Orchestration in 2026."

🤖 Skill: gemini-sdk-expert (v1.2.0)

Executive Summary

gemini-sdk-expert is a high-tier skill focused on mastering the Google Gemini ecosystem. In 2026, building with AI isn't just about prompts; it's about Structural Integrity, Context Optimization, and Multimodal Orchestration. This skill provides the blueprint for building ultra-reliable, cost-effective, and powerful AI applications using the latest @google/genai standards.


📋 Table of Contents

  1. Core Capabilities
  2. The "Do Not" List (Anti-Patterns)
  3. Quick Start: JSON Enforcement
  4. Standard Production Patterns
  5. Advanced Agentic Patterns
  6. Context Caching Strategy
  7. Multimodal Integration
  8. Safety & Responsible AI
  9. Reference Library

🚀 Core Capabilities

  • Strict Structured Output: Leveraging responseSchema for 100% reliable JSON generation.
  • Agentic Function Calling: enabling models to interact with private APIs and tools.
  • Long-Form Context Management: Using Context Caching for massive datasets (2M+ tokens).
  • Native Multimodal Reasoning: Processing video, audio, and documents as first-class inputs.
  • Latency Optimization: Strategic model selection (Flash vs. Pro) and streaming responses.

🚫 The "Do Not" List (Anti-Patterns)

Anti-PatternWhy it fails in 2026Modern Alternative
Regex ParsingFragile and prone to hallucination.Use responseSchema (Controlled Output).
Old SDK (@google/generative-ai)Outdated, lacks 2026 features.Use @google/genai exclusively.
Uncached Large ContextsExtremely expensive and slow.Use Context Caching for repetitive queries.
Hardcoded API KeysSecurity risk.Use Secure Environment Variables.
Single-Model BiasPro is overkill for simple extraction.Use Gemini 3 Flash for speed/cost tasks.

⚡ Quick Start: JSON Enforcement

The #1 rule in 2026: Structure at the Source.

import { GoogleGenerativeAI, Type } from "@google/genai";

const schema = {
  type: Type.OBJECT,
  properties: {
    status: { type: Type.STRING, enum: ["COMPLETE", "PENDING", "ERROR"] },
    summary: { type: Type.STRING },
    priority: { type: Type.NUMBER }
  },
  required: ["status", "summary"]
};

// Always set MIME type to application/json
const result = await model.generateContent({
  contents: [{ role: 'user', parts: [{ text: "Evaluate task X..." }] }],
  generationConfig: {
    responseMimeType: "application/json",
    responseSchema: schema
  }
});

🛠 Standard Production Patterns

Pattern A: The Data Extractor (Flash)

Best for processing thousands of documents quickly and cheaply.

  • Model: gemini-3-flash
  • Config: High topP, low temperature for deterministic extraction.

Pattern B: The Complex Reasoner (Pro)

Best for architectural decisions, coding assistance, and deep media analysis.

  • Model: gemini-3-pro
  • Config: Enable Strict Mode in schemas for 100% adherence.

🧩 Advanced Agentic Patterns

Parallel Function Calling

Reduce round-trips by allowing the model to call multiple tools at once. See References: Function Calling for implementation.

Semantic Caching

Store and retrieve embeddings of common queries to bypass the LLM for identical requests.


💾 Context Caching Strategy

In 2026, we don't re-upload. We cache.

  • Warm-up Phase: Initial context upload.
  • Persistence Phase: Referencing the cache via cachedContent.
  • Cleanup Phase: Managing TTLs to optimize storage costs.

See References: Context Caching for more.


📸 Multimodal Integration

Gemini 3 understands the world visually and audibly.

  • Video: Scene detection and temporal reasoning.
  • Audio: Sentiment, tone, and environment detection.
  • Document: Visual layout and OCR.

See References: Multimodal Mastery for details.


📖 Reference Library

Detailed deep-dives into Gemini SDK excellence:


Updated: January 22, 2026 - 17:20

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です