gemini-sdk-expert
Senior Architect for @google/genai v1.35.0+. Specialist in Structured Intelligence, Context Caching, and Agentic Orchestration in 2026.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Senior Architect for @google/genai v1.35.0+. Specialist in Structured Intelligence, Context Caching, and Agentic Orchestration in 2026.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Master of Purposeful Motion & Micro-interactions. Expert in natural easing, GPU-accelerated animations, and Framer Motion for high-end interfaces.
Senior Context Architect & Memory Engineer. Expert in Automated Context Packing, Symbol Indexing, and Agent Rehydration for 2026.
Senior Design System Architect & Token Engineer for 2026. Specialized in layered design tokens, Tailwind 4 CSS-first themes, and headless UI orchestration using Radix. Expert in building multi-brand, multi-theme systems with high architectural integrity, automated documentation-as-code, and AI-driven drift detection.
Primary Instruction Protocol for Senior Engineering Agents. Expert in Cognitive Architectures, Memory Systems, and 2026 Context Engineering (Updated for v0.27.0).
Master of Interface Resilience & Production Edge Cases. Expert in error handling, internationalization (i18n), and extreme data constraints.
Supreme Code Quality Gatekeeper. Expert in Resolving the AI Verification Gap, Quality Metrics, and Elite Coding Standards for 2026.
| name | gemini-sdk-expert |
| id | gemini-sdk-expert |
| version | 1.3.0 |
| description | Senior Architect for @google/genai v1.35.0+. Specialist in Structured Intelligence, Context Caching, and Agentic Orchestration in 2026. |
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.
responseSchema for 100% reliable JSON generation.| Anti-Pattern | Why it fails in 2026 | Modern Alternative |
|---|---|---|
| Regex Parsing | Fragile and prone to hallucination. | Use responseSchema (Controlled Output). |
Old SDK (@google/generative-ai) | Outdated, lacks 2026 features. | Use @google/genai exclusively. |
| Uncached Large Contexts | Extremely expensive and slow. | Use Context Caching for repetitive queries. |
| Hardcoded API Keys | Security risk. | Use Secure Environment Variables and GOOGLE_GENAI_API_VERSION. |
| Single-Model Bias | Pro is overkill for simple extraction. | Use Gemini 3 Flash for speed/cost tasks. |
The #1 rule in 2026: Structure at the Source.
import { GoogleGenerativeAI, Type } from "@google/genai";
// Optional: Set API Version via env
// process.env.GOOGLE_GENAI_API_VERSION = "v1beta1";
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
}
});
Best for processing thousands of documents quickly and cheaply.
gemini-3-flashtopP, low temperature for deterministic extraction.Best for architectural decisions, coding assistance, and deep media analysis.
gemini-3-proReduce round-trips by allowing the model to call multiple tools at once. See References: Function Calling for implementation.
Store and retrieve embeddings of common queries to bypass the LLM for identical requests.
In 2026, we don't re-upload. We cache.
cachedContent.See References: Context Caching for more.
Gemini 3 understands the world visually and audibly.
See References: Multimodal Mastery for details.
Detailed deep-dives into Gemini SDK excellence:
Updated: January 31, 2026 - 10:45