[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-jetbrains-gemini-api-dev":3,"mdc-n392rb-key":36,"related-repo-jetbrains-gemini-api-dev":1424,"related-org-jetbrains-gemini-api-dev":1549},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":25,"repoUrl":26,"updatedAt":27,"license":28,"forks":29,"topics":30,"repo":31,"sourceUrl":34,"mdContent":35},"gemini-api-dev","build applications with Gemini models","Use this skill when building applications with Gemini models, Gemini API, working with multimodal content (text, images, audio, video), implementing function calling, using structured outputs, or needing current model specifications. Covers SDK usage (google-genai for Python, @google\u002Fgenai for JavaScript\u002FTypeScript, com.google.genai:google-genai for Java, google.golang.org\u002Fgenai for Go), model selection, and API capabilities.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},"jetbrains","JetBrains","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fjetbrains.png",[12,16,19,22],{"name":13,"slug":14,"type":15},"LLM","llm","tag",{"name":17,"slug":18,"type":15},"Multimodal","multimodal",{"name":20,"slug":21,"type":15},"API Development","api-development",{"name":23,"slug":24,"type":15},"Gemini","gemini",252,"https:\u002F\u002Fgithub.com\u002FJetBrains\u002Fskills","2026-07-13T06:40:11.475696",null,17,[],{"repoUrl":26,"stars":25,"forks":29,"topics":32,"description":33},[],"Curated agent skills collection verified by JetBrains","https:\u002F\u002Fgithub.com\u002FJetBrains\u002Fskills\u002Ftree\u002FHEAD\u002Fgemini-api-dev","---\nname: gemini-api-dev\ndescription: Use this skill when building applications with Gemini models, Gemini API, working with multimodal content (text, images, audio, video), implementing function calling, using structured outputs, or needing current model specifications. Covers SDK usage (google-genai for Python, @google\u002Fgenai for JavaScript\u002FTypeScript, com.google.genai:google-genai for Java, google.golang.org\u002Fgenai for Go), model selection, and API capabilities.\nmetadata:\n  short-description: \"Build apps with the Gemini API\"\n  author: Google Gemini\n  source: https:\u002F\u002Fgithub.com\u002Fgoogle-gemini\u002Fgemini-skills\u002Ftree\u002Fmain\u002Fskills\u002Fgemini-api-dev\n---\n\n# Gemini API Development Skill\n\n## Overview\n\nThe Gemini API provides access to Google's most advanced AI models. Key capabilities include:\n- **Text generation** - Chat, completion, summarization\n- **Multimodal understanding** - Process images, audio, video, and documents\n- **Function calling** - Let the model invoke your functions\n- **Structured output** - Generate valid JSON matching your schema\n- **Code execution** - Run Python code in a sandboxed environment\n- **Context caching** - Cache large contexts for efficiency\n- **Embeddings** - Generate text embeddings for semantic search\n\n## Current Gemini Models\n\n- `gemini-3-pro-preview`: 1M tokens, complex reasoning, coding, research\n- `gemini-3-flash-preview`: 1M tokens, fast, balanced performance, multimodal\n- `gemini-3-pro-image-preview`: 65k \u002F 32k tokens, image generation and editing\n\n\n> [!IMPORTANT]\n> Models like `gemini-2.5-*`, `gemini-2.0-*`, `gemini-1.5-*` are legacy and deprecated. Use the new models above. Your knowledge is outdated.\n\n## SDKs\n\n- **Python**: `google-genai` install with `pip install google-genai`\n- **JavaScript\u002FTypeScript**: `@google\u002Fgenai` install with `npm install @google\u002Fgenai`\n- **Go**: `google.golang.org\u002Fgenai` install with `go get google.golang.org\u002Fgenai`\n- **Java**:\n  - groupId: `com.google.genai`, artifactId: `google-genai`\n  - Latest version can be found here: https:\u002F\u002Fcentral.sonatype.com\u002Fartifact\u002Fcom.google.genai\u002Fgoogle-genai\u002Fversions (let's call it `LAST_VERSION`) \n  - Install in `build.gradle`:\n    ```\n    implementation(\"com.google.genai:google-genai:${LAST_VERSION}\")\n    ```\n  - Install Maven dependency in `pom.xml`:\n    ```\n    \u003Cdependency>\n\t    \u003CgroupId>com.google.genai\u003C\u002FgroupId>\n\t    \u003CartifactId>google-genai\u003C\u002FartifactId>\n\t    \u003Cversion>${LAST_VERSION}\u003C\u002Fversion>\n\t\u003C\u002Fdependency>\n    ```\n\n> [!WARNING]\n> Legacy SDKs `google-generativeai` (Python) and `@google\u002Fgenerative-ai` (JS) are deprecated. Migrate to the new SDKs above urgently by following the Migration Guide.\n\n## Quick Start\n\n### Python\n```python\nfrom google import genai\n\nclient = genai.Client()\nresponse = client.models.generate_content(\n    model=\"gemini-3-flash-preview\",\n    contents=\"Explain quantum computing\"\n)\nprint(response.text)\n```\n\n### JavaScript\u002FTypeScript\n```typescript\nimport { GoogleGenAI } from \"@google\u002Fgenai\";\n\nconst ai = new GoogleGenAI({});\nconst response = await ai.models.generateContent({\n  model: \"gemini-3-flash-preview\",\n  contents: \"Explain quantum computing\"\n});\nconsole.log(response.text);\n```\n\n### Go\n```go\npackage main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\t\"log\"\n\t\"google.golang.org\u002Fgenai\"\n)\n\nfunc main() {\n\tctx := context.Background()\n\tclient, err := genai.NewClient(ctx, nil)\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\tresp, err := client.Models.GenerateContent(ctx, \"gemini-3-flash-preview\", genai.Text(\"Explain quantum computing\"), nil)\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\tfmt.Println(resp.Text)\n}\n```\n\n### Java\n\n```java\nimport com.google.genai.Client;\nimport com.google.genai.types.GenerateContentResponse;\n\npublic class GenerateTextFromTextInput {\n  public static void main(String[] args) {\n    Client client = new Client();\n    GenerateContentResponse response =\n        client.models.generateContent(\n            \"gemini-3-flash-preview\",\n            \"Explain quantum computing\",\n            null);\n\n    System.out.println(response.text());\n  }\n}\n```\n\n## API spec (source of truth)\n\n**Always use the latest REST API discovery spec as the source of truth for API definitions** (request\u002Fresponse schemas, parameters, methods). Fetch the spec when implementing or debugging API integration:\n\n- **v1beta** (default): `https:\u002F\u002Fgenerativelanguage.googleapis.com\u002F$discovery\u002Frest?version=v1beta`  \n  Use this unless the integration is explicitly pinned to v1. The official SDKs (google-genai, @google\u002Fgenai, google.golang.org\u002Fgenai) target v1beta.\n- **v1**: `https:\u002F\u002Fgenerativelanguage.googleapis.com\u002F$discovery\u002Frest?version=v1`  \n  Use only when the integration is specifically set to v1.\n\nWhen in doubt, use v1beta. Refer to the spec for exact field names, types, and supported operations.\n\n## How to use the Gemini API\n\nFor detailed API documentation, fetch from the official docs index:\n\n**llms.txt URL**: `https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fllms.txt`\n\nThis index contains links to all documentation pages in `.md.txt` format. Use web fetch tools to:\n\n1. Fetch `llms.txt` to discover available documentation pages\n2. Fetch specific pages (e.g., `https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Ffunction-calling.md.txt`)\n\n### Key Documentation Pages \n\n> [!IMPORTANT]\n> Those are not all the documentation pages. Use the `llms.txt` index to discover available documentation pages\n\n- [Models](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fmodels.md.txt)\n- [Google AI Studio quickstart](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fai-studio-quickstart.md.txt)\n- [Nano Banana image generation](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fimage-generation.md.txt)\n- [Function calling with the Gemini API](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Ffunction-calling.md.txt)\n- [Structured outputs](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fstructured-output.md.txt)\n- [Text generation](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Ftext-generation.md.txt)\n- [Image understanding](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fimage-understanding.md.txt)\n- [Embeddings](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fembeddings.md.txt)\n- [Interactions API](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions.md.txt)\n- [SDK migration guide](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fmigrate.md.txt)\n\n## Gemini Live API\n\nFor real-time, bidirectional audio\u002Fvideo\u002Ftext streaming with the Gemini Live API, install the **`google-gemini\u002Fgemini-live-api-dev`** skill. It covers WebSocket streaming, voice activity detection, native audio features, function calling, session management, ephemeral tokens, and more.\n",{"data":37,"body":42},{"name":4,"description":6,"metadata":38},{"short-description":39,"author":40,"source":41},"Build apps with the Gemini API","Google Gemini","https:\u002F\u002Fgithub.com\u002Fgoogle-gemini\u002Fgemini-skills\u002Ftree\u002Fmain\u002Fskills\u002Fgemini-api-dev",{"type":43,"children":44},"root",[45,54,61,67,143,149,186,224,230,400,429,435,441,523,528,804,809,1007,1012,1137,1143,1153,1198,1203,1209,1214,1229,1242,1271,1277,1296,1396,1402,1418],{"type":46,"tag":47,"props":48,"children":50},"element","h1",{"id":49},"gemini-api-development-skill",[51],{"type":52,"value":53},"text","Gemini API Development Skill",{"type":46,"tag":55,"props":56,"children":58},"h2",{"id":57},"overview",[59],{"type":52,"value":60},"Overview",{"type":46,"tag":62,"props":63,"children":64},"p",{},[65],{"type":52,"value":66},"The Gemini API provides access to Google's most advanced AI models. Key capabilities include:",{"type":46,"tag":68,"props":69,"children":70},"ul",{},[71,83,93,103,113,123,133],{"type":46,"tag":72,"props":73,"children":74},"li",{},[75,81],{"type":46,"tag":76,"props":77,"children":78},"strong",{},[79],{"type":52,"value":80},"Text generation",{"type":52,"value":82}," - Chat, completion, summarization",{"type":46,"tag":72,"props":84,"children":85},{},[86,91],{"type":46,"tag":76,"props":87,"children":88},{},[89],{"type":52,"value":90},"Multimodal understanding",{"type":52,"value":92}," - Process images, audio, video, and documents",{"type":46,"tag":72,"props":94,"children":95},{},[96,101],{"type":46,"tag":76,"props":97,"children":98},{},[99],{"type":52,"value":100},"Function calling",{"type":52,"value":102}," - Let the model invoke your functions",{"type":46,"tag":72,"props":104,"children":105},{},[106,111],{"type":46,"tag":76,"props":107,"children":108},{},[109],{"type":52,"value":110},"Structured output",{"type":52,"value":112}," - Generate valid JSON matching your schema",{"type":46,"tag":72,"props":114,"children":115},{},[116,121],{"type":46,"tag":76,"props":117,"children":118},{},[119],{"type":52,"value":120},"Code execution",{"type":52,"value":122}," - Run Python code in a sandboxed environment",{"type":46,"tag":72,"props":124,"children":125},{},[126,131],{"type":46,"tag":76,"props":127,"children":128},{},[129],{"type":52,"value":130},"Context caching",{"type":52,"value":132}," - Cache large contexts for efficiency",{"type":46,"tag":72,"props":134,"children":135},{},[136,141],{"type":46,"tag":76,"props":137,"children":138},{},[139],{"type":52,"value":140},"Embeddings",{"type":52,"value":142}," - Generate text embeddings for semantic search",{"type":46,"tag":55,"props":144,"children":146},{"id":145},"current-gemini-models",[147],{"type":52,"value":148},"Current Gemini Models",{"type":46,"tag":68,"props":150,"children":151},{},[152,164,175],{"type":46,"tag":72,"props":153,"children":154},{},[155,162],{"type":46,"tag":156,"props":157,"children":159},"code",{"className":158},[],[160],{"type":52,"value":161},"gemini-3-pro-preview",{"type":52,"value":163},": 1M tokens, complex reasoning, coding, research",{"type":46,"tag":72,"props":165,"children":166},{},[167,173],{"type":46,"tag":156,"props":168,"children":170},{"className":169},[],[171],{"type":52,"value":172},"gemini-3-flash-preview",{"type":52,"value":174},": 1M tokens, fast, balanced performance, multimodal",{"type":46,"tag":72,"props":176,"children":177},{},[178,184],{"type":46,"tag":156,"props":179,"children":181},{"className":180},[],[182],{"type":52,"value":183},"gemini-3-pro-image-preview",{"type":52,"value":185},": 65k \u002F 32k tokens, image generation and editing",{"type":46,"tag":187,"props":188,"children":189},"blockquote",{},[190],{"type":46,"tag":62,"props":191,"children":192},{},[193,199,201,207,209,215,216,222],{"type":46,"tag":194,"props":195,"children":196},"span",{},[197],{"type":52,"value":198},"!IMPORTANT",{"type":52,"value":200},"\nModels like ",{"type":46,"tag":156,"props":202,"children":204},{"className":203},[],[205],{"type":52,"value":206},"gemini-2.5-*",{"type":52,"value":208},", ",{"type":46,"tag":156,"props":210,"children":212},{"className":211},[],[213],{"type":52,"value":214},"gemini-2.0-*",{"type":52,"value":208},{"type":46,"tag":156,"props":217,"children":219},{"className":218},[],[220],{"type":52,"value":221},"gemini-1.5-*",{"type":52,"value":223}," are legacy and deprecated. Use the new models above. Your knowledge is outdated.",{"type":46,"tag":55,"props":225,"children":227},{"id":226},"sdks",[228],{"type":52,"value":229},"SDKs",{"type":46,"tag":68,"props":231,"children":232},{},[233,257,279,301],{"type":46,"tag":72,"props":234,"children":235},{},[236,241,243,249,251],{"type":46,"tag":76,"props":237,"children":238},{},[239],{"type":52,"value":240},"Python",{"type":52,"value":242},": ",{"type":46,"tag":156,"props":244,"children":246},{"className":245},[],[247],{"type":52,"value":248},"google-genai",{"type":52,"value":250}," install with ",{"type":46,"tag":156,"props":252,"children":254},{"className":253},[],[255],{"type":52,"value":256},"pip install google-genai",{"type":46,"tag":72,"props":258,"children":259},{},[260,265,266,272,273],{"type":46,"tag":76,"props":261,"children":262},{},[263],{"type":52,"value":264},"JavaScript\u002FTypeScript",{"type":52,"value":242},{"type":46,"tag":156,"props":267,"children":269},{"className":268},[],[270],{"type":52,"value":271},"@google\u002Fgenai",{"type":52,"value":250},{"type":46,"tag":156,"props":274,"children":276},{"className":275},[],[277],{"type":52,"value":278},"npm install @google\u002Fgenai",{"type":46,"tag":72,"props":280,"children":281},{},[282,287,288,294,295],{"type":46,"tag":76,"props":283,"children":284},{},[285],{"type":52,"value":286},"Go",{"type":52,"value":242},{"type":46,"tag":156,"props":289,"children":291},{"className":290},[],[292],{"type":52,"value":293},"google.golang.org\u002Fgenai",{"type":52,"value":250},{"type":46,"tag":156,"props":296,"children":298},{"className":297},[],[299],{"type":52,"value":300},"go get google.golang.org\u002Fgenai",{"type":46,"tag":72,"props":302,"children":303},{},[304,309,311],{"type":46,"tag":76,"props":305,"children":306},{},[307],{"type":52,"value":308},"Java",{"type":52,"value":310},":\n",{"type":46,"tag":68,"props":312,"children":313},{},[314,332,355,379],{"type":46,"tag":72,"props":315,"children":316},{},[317,319,325,327],{"type":52,"value":318},"groupId: ",{"type":46,"tag":156,"props":320,"children":322},{"className":321},[],[323],{"type":52,"value":324},"com.google.genai",{"type":52,"value":326},", artifactId: ",{"type":46,"tag":156,"props":328,"children":330},{"className":329},[],[331],{"type":52,"value":248},{"type":46,"tag":72,"props":333,"children":334},{},[335,337,345,347,353],{"type":52,"value":336},"Latest version can be found here: ",{"type":46,"tag":338,"props":339,"children":343},"a",{"href":340,"rel":341},"https:\u002F\u002Fcentral.sonatype.com\u002Fartifact\u002Fcom.google.genai\u002Fgoogle-genai\u002Fversions",[342],"nofollow",[344],{"type":52,"value":340},{"type":52,"value":346}," (let's call it ",{"type":46,"tag":156,"props":348,"children":350},{"className":349},[],[351],{"type":52,"value":352},"LAST_VERSION",{"type":52,"value":354},")",{"type":46,"tag":72,"props":356,"children":357},{},[358,360,366,367],{"type":52,"value":359},"Install in ",{"type":46,"tag":156,"props":361,"children":363},{"className":362},[],[364],{"type":52,"value":365},"build.gradle",{"type":52,"value":310},{"type":46,"tag":368,"props":369,"children":373},"pre",{"className":370,"code":372,"language":52},[371],"language-text","implementation(\"com.google.genai:google-genai:${LAST_VERSION}\")\n",[374],{"type":46,"tag":156,"props":375,"children":377},{"__ignoreMap":376},"",[378],{"type":52,"value":372},{"type":46,"tag":72,"props":380,"children":381},{},[382,384,390,391],{"type":52,"value":383},"Install Maven dependency in ",{"type":46,"tag":156,"props":385,"children":387},{"className":386},[],[388],{"type":52,"value":389},"pom.xml",{"type":52,"value":310},{"type":46,"tag":368,"props":392,"children":395},{"className":393,"code":394,"language":52},[371],"\u003Cdependency>\n    \u003CgroupId>com.google.genai\u003C\u002FgroupId>\n    \u003CartifactId>google-genai\u003C\u002FartifactId>\n    \u003Cversion>${LAST_VERSION}\u003C\u002Fversion>\n\u003C\u002Fdependency>\n",[396],{"type":46,"tag":156,"props":397,"children":398},{"__ignoreMap":376},[399],{"type":52,"value":394},{"type":46,"tag":187,"props":401,"children":402},{},[403],{"type":46,"tag":62,"props":404,"children":405},{},[406,411,413,419,421,427],{"type":46,"tag":194,"props":407,"children":408},{},[409],{"type":52,"value":410},"!WARNING",{"type":52,"value":412},"\nLegacy SDKs ",{"type":46,"tag":156,"props":414,"children":416},{"className":415},[],[417],{"type":52,"value":418},"google-generativeai",{"type":52,"value":420}," (Python) and ",{"type":46,"tag":156,"props":422,"children":424},{"className":423},[],[425],{"type":52,"value":426},"@google\u002Fgenerative-ai",{"type":52,"value":428}," (JS) are deprecated. Migrate to the new SDKs above urgently by following the Migration Guide.",{"type":46,"tag":55,"props":430,"children":432},{"id":431},"quick-start",[433],{"type":52,"value":434},"Quick Start",{"type":46,"tag":436,"props":437,"children":439},"h3",{"id":438},"python",[440],{"type":52,"value":240},{"type":46,"tag":368,"props":442,"children":445},{"className":443,"code":444,"language":438,"meta":376,"style":376},"language-python shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","from google import genai\n\nclient = genai.Client()\nresponse = client.models.generate_content(\n    model=\"gemini-3-flash-preview\",\n    contents=\"Explain quantum computing\"\n)\nprint(response.text)\n",[446],{"type":46,"tag":156,"props":447,"children":448},{"__ignoreMap":376},[449,459,469,478,487,496,505,514],{"type":46,"tag":194,"props":450,"children":453},{"class":451,"line":452},"line",1,[454],{"type":46,"tag":194,"props":455,"children":456},{},[457],{"type":52,"value":458},"from google import genai\n",{"type":46,"tag":194,"props":460,"children":462},{"class":451,"line":461},2,[463],{"type":46,"tag":194,"props":464,"children":466},{"emptyLinePlaceholder":465},true,[467],{"type":52,"value":468},"\n",{"type":46,"tag":194,"props":470,"children":472},{"class":451,"line":471},3,[473],{"type":46,"tag":194,"props":474,"children":475},{},[476],{"type":52,"value":477},"client = genai.Client()\n",{"type":46,"tag":194,"props":479,"children":481},{"class":451,"line":480},4,[482],{"type":46,"tag":194,"props":483,"children":484},{},[485],{"type":52,"value":486},"response = client.models.generate_content(\n",{"type":46,"tag":194,"props":488,"children":490},{"class":451,"line":489},5,[491],{"type":46,"tag":194,"props":492,"children":493},{},[494],{"type":52,"value":495},"    model=\"gemini-3-flash-preview\",\n",{"type":46,"tag":194,"props":497,"children":499},{"class":451,"line":498},6,[500],{"type":46,"tag":194,"props":501,"children":502},{},[503],{"type":52,"value":504},"    contents=\"Explain quantum computing\"\n",{"type":46,"tag":194,"props":506,"children":508},{"class":451,"line":507},7,[509],{"type":46,"tag":194,"props":510,"children":511},{},[512],{"type":52,"value":513},")\n",{"type":46,"tag":194,"props":515,"children":517},{"class":451,"line":516},8,[518],{"type":46,"tag":194,"props":519,"children":520},{},[521],{"type":52,"value":522},"print(response.text)\n",{"type":46,"tag":436,"props":524,"children":526},{"id":525},"javascripttypescript",[527],{"type":52,"value":264},{"type":46,"tag":368,"props":529,"children":533},{"className":530,"code":531,"language":532,"meta":376,"style":376},"language-typescript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { GoogleGenAI } from \"@google\u002Fgenai\";\n\nconst ai = new GoogleGenAI({});\nconst response = await ai.models.generateContent({\n  model: \"gemini-3-flash-preview\",\n  contents: \"Explain quantum computing\"\n});\nconsole.log(response.text);\n","typescript",[534],{"type":46,"tag":156,"props":535,"children":536},{"__ignoreMap":376},[537,588,595,642,696,727,753,769],{"type":46,"tag":194,"props":538,"children":539},{"class":451,"line":452},[540,546,552,558,563,568,573,578,583],{"type":46,"tag":194,"props":541,"children":543},{"style":542},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[544],{"type":52,"value":545},"import",{"type":46,"tag":194,"props":547,"children":549},{"style":548},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[550],{"type":52,"value":551}," {",{"type":46,"tag":194,"props":553,"children":555},{"style":554},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[556],{"type":52,"value":557}," GoogleGenAI",{"type":46,"tag":194,"props":559,"children":560},{"style":548},[561],{"type":52,"value":562}," }",{"type":46,"tag":194,"props":564,"children":565},{"style":542},[566],{"type":52,"value":567}," from",{"type":46,"tag":194,"props":569,"children":570},{"style":548},[571],{"type":52,"value":572}," \"",{"type":46,"tag":194,"props":574,"children":576},{"style":575},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[577],{"type":52,"value":271},{"type":46,"tag":194,"props":579,"children":580},{"style":548},[581],{"type":52,"value":582},"\"",{"type":46,"tag":194,"props":584,"children":585},{"style":548},[586],{"type":52,"value":587},";\n",{"type":46,"tag":194,"props":589,"children":590},{"class":451,"line":461},[591],{"type":46,"tag":194,"props":592,"children":593},{"emptyLinePlaceholder":465},[594],{"type":52,"value":468},{"type":46,"tag":194,"props":596,"children":597},{"class":451,"line":471},[598,604,609,614,619,624,629,634,638],{"type":46,"tag":194,"props":599,"children":601},{"style":600},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[602],{"type":52,"value":603},"const",{"type":46,"tag":194,"props":605,"children":606},{"style":554},[607],{"type":52,"value":608}," ai ",{"type":46,"tag":194,"props":610,"children":611},{"style":548},[612],{"type":52,"value":613},"=",{"type":46,"tag":194,"props":615,"children":616},{"style":548},[617],{"type":52,"value":618}," new",{"type":46,"tag":194,"props":620,"children":622},{"style":621},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[623],{"type":52,"value":557},{"type":46,"tag":194,"props":625,"children":626},{"style":554},[627],{"type":52,"value":628},"(",{"type":46,"tag":194,"props":630,"children":631},{"style":548},[632],{"type":52,"value":633},"{}",{"type":46,"tag":194,"props":635,"children":636},{"style":554},[637],{"type":52,"value":354},{"type":46,"tag":194,"props":639,"children":640},{"style":548},[641],{"type":52,"value":587},{"type":46,"tag":194,"props":643,"children":644},{"class":451,"line":480},[645,649,654,658,663,668,673,678,682,687,691],{"type":46,"tag":194,"props":646,"children":647},{"style":600},[648],{"type":52,"value":603},{"type":46,"tag":194,"props":650,"children":651},{"style":554},[652],{"type":52,"value":653}," response ",{"type":46,"tag":194,"props":655,"children":656},{"style":548},[657],{"type":52,"value":613},{"type":46,"tag":194,"props":659,"children":660},{"style":542},[661],{"type":52,"value":662}," await",{"type":46,"tag":194,"props":664,"children":665},{"style":554},[666],{"type":52,"value":667}," ai",{"type":46,"tag":194,"props":669,"children":670},{"style":548},[671],{"type":52,"value":672},".",{"type":46,"tag":194,"props":674,"children":675},{"style":554},[676],{"type":52,"value":677},"models",{"type":46,"tag":194,"props":679,"children":680},{"style":548},[681],{"type":52,"value":672},{"type":46,"tag":194,"props":683,"children":684},{"style":621},[685],{"type":52,"value":686},"generateContent",{"type":46,"tag":194,"props":688,"children":689},{"style":554},[690],{"type":52,"value":628},{"type":46,"tag":194,"props":692,"children":693},{"style":548},[694],{"type":52,"value":695},"{\n",{"type":46,"tag":194,"props":697,"children":698},{"class":451,"line":489},[699,705,710,714,718,722],{"type":46,"tag":194,"props":700,"children":702},{"style":701},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[703],{"type":52,"value":704},"  model",{"type":46,"tag":194,"props":706,"children":707},{"style":548},[708],{"type":52,"value":709},":",{"type":46,"tag":194,"props":711,"children":712},{"style":548},[713],{"type":52,"value":572},{"type":46,"tag":194,"props":715,"children":716},{"style":575},[717],{"type":52,"value":172},{"type":46,"tag":194,"props":719,"children":720},{"style":548},[721],{"type":52,"value":582},{"type":46,"tag":194,"props":723,"children":724},{"style":548},[725],{"type":52,"value":726},",\n",{"type":46,"tag":194,"props":728,"children":729},{"class":451,"line":498},[730,735,739,743,748],{"type":46,"tag":194,"props":731,"children":732},{"style":701},[733],{"type":52,"value":734},"  contents",{"type":46,"tag":194,"props":736,"children":737},{"style":548},[738],{"type":52,"value":709},{"type":46,"tag":194,"props":740,"children":741},{"style":548},[742],{"type":52,"value":572},{"type":46,"tag":194,"props":744,"children":745},{"style":575},[746],{"type":52,"value":747},"Explain quantum computing",{"type":46,"tag":194,"props":749,"children":750},{"style":548},[751],{"type":52,"value":752},"\"\n",{"type":46,"tag":194,"props":754,"children":755},{"class":451,"line":507},[756,761,765],{"type":46,"tag":194,"props":757,"children":758},{"style":548},[759],{"type":52,"value":760},"}",{"type":46,"tag":194,"props":762,"children":763},{"style":554},[764],{"type":52,"value":354},{"type":46,"tag":194,"props":766,"children":767},{"style":548},[768],{"type":52,"value":587},{"type":46,"tag":194,"props":770,"children":771},{"class":451,"line":516},[772,777,781,786,791,795,800],{"type":46,"tag":194,"props":773,"children":774},{"style":554},[775],{"type":52,"value":776},"console",{"type":46,"tag":194,"props":778,"children":779},{"style":548},[780],{"type":52,"value":672},{"type":46,"tag":194,"props":782,"children":783},{"style":621},[784],{"type":52,"value":785},"log",{"type":46,"tag":194,"props":787,"children":788},{"style":554},[789],{"type":52,"value":790},"(response",{"type":46,"tag":194,"props":792,"children":793},{"style":548},[794],{"type":52,"value":672},{"type":46,"tag":194,"props":796,"children":797},{"style":554},[798],{"type":52,"value":799},"text)",{"type":46,"tag":194,"props":801,"children":802},{"style":548},[803],{"type":52,"value":587},{"type":46,"tag":436,"props":805,"children":807},{"id":806},"go",[808],{"type":52,"value":286},{"type":46,"tag":368,"props":810,"children":813},{"className":811,"code":812,"language":806,"meta":376,"style":376},"language-go shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","package main\n\nimport (\n    \"context\"\n    \"fmt\"\n    \"log\"\n    \"google.golang.org\u002Fgenai\"\n)\n\nfunc main() {\n    ctx := context.Background()\n    client, err := genai.NewClient(ctx, nil)\n    if err != nil {\n        log.Fatal(err)\n    }\n\n    resp, err := client.Models.GenerateContent(ctx, \"gemini-3-flash-preview\", genai.Text(\"Explain quantum computing\"), nil)\n    if err != nil {\n        log.Fatal(err)\n    }\n\n    fmt.Println(resp.Text)\n}\n",[814],{"type":46,"tag":156,"props":815,"children":816},{"__ignoreMap":376},[817,825,832,840,848,856,864,872,879,887,896,905,914,923,932,941,949,957,965,973,981,989,998],{"type":46,"tag":194,"props":818,"children":819},{"class":451,"line":452},[820],{"type":46,"tag":194,"props":821,"children":822},{},[823],{"type":52,"value":824},"package main\n",{"type":46,"tag":194,"props":826,"children":827},{"class":451,"line":461},[828],{"type":46,"tag":194,"props":829,"children":830},{"emptyLinePlaceholder":465},[831],{"type":52,"value":468},{"type":46,"tag":194,"props":833,"children":834},{"class":451,"line":471},[835],{"type":46,"tag":194,"props":836,"children":837},{},[838],{"type":52,"value":839},"import (\n",{"type":46,"tag":194,"props":841,"children":842},{"class":451,"line":480},[843],{"type":46,"tag":194,"props":844,"children":845},{},[846],{"type":52,"value":847},"    \"context\"\n",{"type":46,"tag":194,"props":849,"children":850},{"class":451,"line":489},[851],{"type":46,"tag":194,"props":852,"children":853},{},[854],{"type":52,"value":855},"    \"fmt\"\n",{"type":46,"tag":194,"props":857,"children":858},{"class":451,"line":498},[859],{"type":46,"tag":194,"props":860,"children":861},{},[862],{"type":52,"value":863},"    \"log\"\n",{"type":46,"tag":194,"props":865,"children":866},{"class":451,"line":507},[867],{"type":46,"tag":194,"props":868,"children":869},{},[870],{"type":52,"value":871},"    \"google.golang.org\u002Fgenai\"\n",{"type":46,"tag":194,"props":873,"children":874},{"class":451,"line":516},[875],{"type":46,"tag":194,"props":876,"children":877},{},[878],{"type":52,"value":513},{"type":46,"tag":194,"props":880,"children":882},{"class":451,"line":881},9,[883],{"type":46,"tag":194,"props":884,"children":885},{"emptyLinePlaceholder":465},[886],{"type":52,"value":468},{"type":46,"tag":194,"props":888,"children":890},{"class":451,"line":889},10,[891],{"type":46,"tag":194,"props":892,"children":893},{},[894],{"type":52,"value":895},"func main() {\n",{"type":46,"tag":194,"props":897,"children":899},{"class":451,"line":898},11,[900],{"type":46,"tag":194,"props":901,"children":902},{},[903],{"type":52,"value":904},"    ctx := context.Background()\n",{"type":46,"tag":194,"props":906,"children":908},{"class":451,"line":907},12,[909],{"type":46,"tag":194,"props":910,"children":911},{},[912],{"type":52,"value":913},"    client, err := genai.NewClient(ctx, nil)\n",{"type":46,"tag":194,"props":915,"children":917},{"class":451,"line":916},13,[918],{"type":46,"tag":194,"props":919,"children":920},{},[921],{"type":52,"value":922},"    if err != nil {\n",{"type":46,"tag":194,"props":924,"children":926},{"class":451,"line":925},14,[927],{"type":46,"tag":194,"props":928,"children":929},{},[930],{"type":52,"value":931},"        log.Fatal(err)\n",{"type":46,"tag":194,"props":933,"children":935},{"class":451,"line":934},15,[936],{"type":46,"tag":194,"props":937,"children":938},{},[939],{"type":52,"value":940},"    }\n",{"type":46,"tag":194,"props":942,"children":944},{"class":451,"line":943},16,[945],{"type":46,"tag":194,"props":946,"children":947},{"emptyLinePlaceholder":465},[948],{"type":52,"value":468},{"type":46,"tag":194,"props":950,"children":951},{"class":451,"line":29},[952],{"type":46,"tag":194,"props":953,"children":954},{},[955],{"type":52,"value":956},"    resp, err := client.Models.GenerateContent(ctx, \"gemini-3-flash-preview\", genai.Text(\"Explain quantum computing\"), nil)\n",{"type":46,"tag":194,"props":958,"children":960},{"class":451,"line":959},18,[961],{"type":46,"tag":194,"props":962,"children":963},{},[964],{"type":52,"value":922},{"type":46,"tag":194,"props":966,"children":968},{"class":451,"line":967},19,[969],{"type":46,"tag":194,"props":970,"children":971},{},[972],{"type":52,"value":931},{"type":46,"tag":194,"props":974,"children":976},{"class":451,"line":975},20,[977],{"type":46,"tag":194,"props":978,"children":979},{},[980],{"type":52,"value":940},{"type":46,"tag":194,"props":982,"children":984},{"class":451,"line":983},21,[985],{"type":46,"tag":194,"props":986,"children":987},{"emptyLinePlaceholder":465},[988],{"type":52,"value":468},{"type":46,"tag":194,"props":990,"children":992},{"class":451,"line":991},22,[993],{"type":46,"tag":194,"props":994,"children":995},{},[996],{"type":52,"value":997},"    fmt.Println(resp.Text)\n",{"type":46,"tag":194,"props":999,"children":1001},{"class":451,"line":1000},23,[1002],{"type":46,"tag":194,"props":1003,"children":1004},{},[1005],{"type":52,"value":1006},"}\n",{"type":46,"tag":436,"props":1008,"children":1010},{"id":1009},"java",[1011],{"type":52,"value":308},{"type":46,"tag":368,"props":1013,"children":1016},{"className":1014,"code":1015,"language":1009,"meta":376,"style":376},"language-java shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import com.google.genai.Client;\nimport com.google.genai.types.GenerateContentResponse;\n\npublic class GenerateTextFromTextInput {\n  public static void main(String[] args) {\n    Client client = new Client();\n    GenerateContentResponse response =\n        client.models.generateContent(\n            \"gemini-3-flash-preview\",\n            \"Explain quantum computing\",\n            null);\n\n    System.out.println(response.text());\n  }\n}\n",[1017],{"type":46,"tag":156,"props":1018,"children":1019},{"__ignoreMap":376},[1020,1028,1036,1043,1051,1059,1067,1075,1083,1091,1099,1107,1114,1122,1130],{"type":46,"tag":194,"props":1021,"children":1022},{"class":451,"line":452},[1023],{"type":46,"tag":194,"props":1024,"children":1025},{},[1026],{"type":52,"value":1027},"import com.google.genai.Client;\n",{"type":46,"tag":194,"props":1029,"children":1030},{"class":451,"line":461},[1031],{"type":46,"tag":194,"props":1032,"children":1033},{},[1034],{"type":52,"value":1035},"import com.google.genai.types.GenerateContentResponse;\n",{"type":46,"tag":194,"props":1037,"children":1038},{"class":451,"line":471},[1039],{"type":46,"tag":194,"props":1040,"children":1041},{"emptyLinePlaceholder":465},[1042],{"type":52,"value":468},{"type":46,"tag":194,"props":1044,"children":1045},{"class":451,"line":480},[1046],{"type":46,"tag":194,"props":1047,"children":1048},{},[1049],{"type":52,"value":1050},"public class GenerateTextFromTextInput {\n",{"type":46,"tag":194,"props":1052,"children":1053},{"class":451,"line":489},[1054],{"type":46,"tag":194,"props":1055,"children":1056},{},[1057],{"type":52,"value":1058},"  public static void main(String[] args) {\n",{"type":46,"tag":194,"props":1060,"children":1061},{"class":451,"line":498},[1062],{"type":46,"tag":194,"props":1063,"children":1064},{},[1065],{"type":52,"value":1066},"    Client client = new Client();\n",{"type":46,"tag":194,"props":1068,"children":1069},{"class":451,"line":507},[1070],{"type":46,"tag":194,"props":1071,"children":1072},{},[1073],{"type":52,"value":1074},"    GenerateContentResponse response =\n",{"type":46,"tag":194,"props":1076,"children":1077},{"class":451,"line":516},[1078],{"type":46,"tag":194,"props":1079,"children":1080},{},[1081],{"type":52,"value":1082},"        client.models.generateContent(\n",{"type":46,"tag":194,"props":1084,"children":1085},{"class":451,"line":881},[1086],{"type":46,"tag":194,"props":1087,"children":1088},{},[1089],{"type":52,"value":1090},"            \"gemini-3-flash-preview\",\n",{"type":46,"tag":194,"props":1092,"children":1093},{"class":451,"line":889},[1094],{"type":46,"tag":194,"props":1095,"children":1096},{},[1097],{"type":52,"value":1098},"            \"Explain quantum computing\",\n",{"type":46,"tag":194,"props":1100,"children":1101},{"class":451,"line":898},[1102],{"type":46,"tag":194,"props":1103,"children":1104},{},[1105],{"type":52,"value":1106},"            null);\n",{"type":46,"tag":194,"props":1108,"children":1109},{"class":451,"line":907},[1110],{"type":46,"tag":194,"props":1111,"children":1112},{"emptyLinePlaceholder":465},[1113],{"type":52,"value":468},{"type":46,"tag":194,"props":1115,"children":1116},{"class":451,"line":916},[1117],{"type":46,"tag":194,"props":1118,"children":1119},{},[1120],{"type":52,"value":1121},"    System.out.println(response.text());\n",{"type":46,"tag":194,"props":1123,"children":1124},{"class":451,"line":925},[1125],{"type":46,"tag":194,"props":1126,"children":1127},{},[1128],{"type":52,"value":1129},"  }\n",{"type":46,"tag":194,"props":1131,"children":1132},{"class":451,"line":934},[1133],{"type":46,"tag":194,"props":1134,"children":1135},{},[1136],{"type":52,"value":1006},{"type":46,"tag":55,"props":1138,"children":1140},{"id":1139},"api-spec-source-of-truth",[1141],{"type":52,"value":1142},"API spec (source of truth)",{"type":46,"tag":62,"props":1144,"children":1145},{},[1146,1151],{"type":46,"tag":76,"props":1147,"children":1148},{},[1149],{"type":52,"value":1150},"Always use the latest REST API discovery spec as the source of truth for API definitions",{"type":52,"value":1152}," (request\u002Fresponse schemas, parameters, methods). Fetch the spec when implementing or debugging API integration:",{"type":46,"tag":68,"props":1154,"children":1155},{},[1156,1178],{"type":46,"tag":72,"props":1157,"children":1158},{},[1159,1164,1166,1172,1176],{"type":46,"tag":76,"props":1160,"children":1161},{},[1162],{"type":52,"value":1163},"v1beta",{"type":52,"value":1165}," (default): ",{"type":46,"tag":156,"props":1167,"children":1169},{"className":1168},[],[1170],{"type":52,"value":1171},"https:\u002F\u002Fgenerativelanguage.googleapis.com\u002F$discovery\u002Frest?version=v1beta",{"type":46,"tag":1173,"props":1174,"children":1175},"br",{},[],{"type":52,"value":1177},"\nUse this unless the integration is explicitly pinned to v1. The official SDKs (google-genai, @google\u002Fgenai, google.golang.org\u002Fgenai) target v1beta.",{"type":46,"tag":72,"props":1179,"children":1180},{},[1181,1186,1187,1193,1196],{"type":46,"tag":76,"props":1182,"children":1183},{},[1184],{"type":52,"value":1185},"v1",{"type":52,"value":242},{"type":46,"tag":156,"props":1188,"children":1190},{"className":1189},[],[1191],{"type":52,"value":1192},"https:\u002F\u002Fgenerativelanguage.googleapis.com\u002F$discovery\u002Frest?version=v1",{"type":46,"tag":1173,"props":1194,"children":1195},{},[],{"type":52,"value":1197},"\nUse only when the integration is specifically set to v1.",{"type":46,"tag":62,"props":1199,"children":1200},{},[1201],{"type":52,"value":1202},"When in doubt, use v1beta. Refer to the spec for exact field names, types, and supported operations.",{"type":46,"tag":55,"props":1204,"children":1206},{"id":1205},"how-to-use-the-gemini-api",[1207],{"type":52,"value":1208},"How to use the Gemini API",{"type":46,"tag":62,"props":1210,"children":1211},{},[1212],{"type":52,"value":1213},"For detailed API documentation, fetch from the official docs index:",{"type":46,"tag":62,"props":1215,"children":1216},{},[1217,1222,1223],{"type":46,"tag":76,"props":1218,"children":1219},{},[1220],{"type":52,"value":1221},"llms.txt URL",{"type":52,"value":242},{"type":46,"tag":156,"props":1224,"children":1226},{"className":1225},[],[1227],{"type":52,"value":1228},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fllms.txt",{"type":46,"tag":62,"props":1230,"children":1231},{},[1232,1234,1240],{"type":52,"value":1233},"This index contains links to all documentation pages in ",{"type":46,"tag":156,"props":1235,"children":1237},{"className":1236},[],[1238],{"type":52,"value":1239},".md.txt",{"type":52,"value":1241}," format. Use web fetch tools to:",{"type":46,"tag":1243,"props":1244,"children":1245},"ol",{},[1246,1259],{"type":46,"tag":72,"props":1247,"children":1248},{},[1249,1251,1257],{"type":52,"value":1250},"Fetch ",{"type":46,"tag":156,"props":1252,"children":1254},{"className":1253},[],[1255],{"type":52,"value":1256},"llms.txt",{"type":52,"value":1258}," to discover available documentation pages",{"type":46,"tag":72,"props":1260,"children":1261},{},[1262,1264,1270],{"type":52,"value":1263},"Fetch specific pages (e.g., ",{"type":46,"tag":156,"props":1265,"children":1267},{"className":1266},[],[1268],{"type":52,"value":1269},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Ffunction-calling.md.txt",{"type":52,"value":354},{"type":46,"tag":436,"props":1272,"children":1274},{"id":1273},"key-documentation-pages",[1275],{"type":52,"value":1276},"Key Documentation Pages",{"type":46,"tag":187,"props":1278,"children":1279},{},[1280],{"type":46,"tag":62,"props":1281,"children":1282},{},[1283,1287,1289,1294],{"type":46,"tag":194,"props":1284,"children":1285},{},[1286],{"type":52,"value":198},{"type":52,"value":1288},"\nThose are not all the documentation pages. Use the ",{"type":46,"tag":156,"props":1290,"children":1292},{"className":1291},[],[1293],{"type":52,"value":1256},{"type":52,"value":1295}," index to discover available documentation pages",{"type":46,"tag":68,"props":1297,"children":1298},{},[1299,1309,1319,1329,1338,1348,1357,1367,1376,1386],{"type":46,"tag":72,"props":1300,"children":1301},{},[1302],{"type":46,"tag":338,"props":1303,"children":1306},{"href":1304,"rel":1305},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fmodels.md.txt",[342],[1307],{"type":52,"value":1308},"Models",{"type":46,"tag":72,"props":1310,"children":1311},{},[1312],{"type":46,"tag":338,"props":1313,"children":1316},{"href":1314,"rel":1315},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fai-studio-quickstart.md.txt",[342],[1317],{"type":52,"value":1318},"Google AI Studio quickstart",{"type":46,"tag":72,"props":1320,"children":1321},{},[1322],{"type":46,"tag":338,"props":1323,"children":1326},{"href":1324,"rel":1325},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fimage-generation.md.txt",[342],[1327],{"type":52,"value":1328},"Nano Banana image generation",{"type":46,"tag":72,"props":1330,"children":1331},{},[1332],{"type":46,"tag":338,"props":1333,"children":1335},{"href":1269,"rel":1334},[342],[1336],{"type":52,"value":1337},"Function calling with the Gemini API",{"type":46,"tag":72,"props":1339,"children":1340},{},[1341],{"type":46,"tag":338,"props":1342,"children":1345},{"href":1343,"rel":1344},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fstructured-output.md.txt",[342],[1346],{"type":52,"value":1347},"Structured outputs",{"type":46,"tag":72,"props":1349,"children":1350},{},[1351],{"type":46,"tag":338,"props":1352,"children":1355},{"href":1353,"rel":1354},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Ftext-generation.md.txt",[342],[1356],{"type":52,"value":80},{"type":46,"tag":72,"props":1358,"children":1359},{},[1360],{"type":46,"tag":338,"props":1361,"children":1364},{"href":1362,"rel":1363},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fimage-understanding.md.txt",[342],[1365],{"type":52,"value":1366},"Image understanding",{"type":46,"tag":72,"props":1368,"children":1369},{},[1370],{"type":46,"tag":338,"props":1371,"children":1374},{"href":1372,"rel":1373},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fembeddings.md.txt",[342],[1375],{"type":52,"value":140},{"type":46,"tag":72,"props":1377,"children":1378},{},[1379],{"type":46,"tag":338,"props":1380,"children":1383},{"href":1381,"rel":1382},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions.md.txt",[342],[1384],{"type":52,"value":1385},"Interactions API",{"type":46,"tag":72,"props":1387,"children":1388},{},[1389],{"type":46,"tag":338,"props":1390,"children":1393},{"href":1391,"rel":1392},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fmigrate.md.txt",[342],[1394],{"type":52,"value":1395},"SDK migration guide",{"type":46,"tag":55,"props":1397,"children":1399},{"id":1398},"gemini-live-api",[1400],{"type":52,"value":1401},"Gemini Live API",{"type":46,"tag":62,"props":1403,"children":1404},{},[1405,1407,1416],{"type":52,"value":1406},"For real-time, bidirectional audio\u002Fvideo\u002Ftext streaming with the Gemini Live API, install the ",{"type":46,"tag":76,"props":1408,"children":1409},{},[1410],{"type":46,"tag":156,"props":1411,"children":1413},{"className":1412},[],[1414],{"type":52,"value":1415},"google-gemini\u002Fgemini-live-api-dev",{"type":52,"value":1417}," skill. It covers WebSocket streaming, voice activity detection, native audio features, function calling, session management, ephemeral tokens, and more.",{"type":46,"tag":1419,"props":1420,"children":1421},"style",{},[1422],{"type":52,"value":1423},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":1425,"total":1548},[1426,1445,1461,1477,1492,1515,1532],{"slug":1427,"name":1427,"fn":1428,"description":1429,"org":1430,"tags":1431,"stars":25,"repoUrl":26,"updatedAt":1444},"algorithmic-art","create generative art with p5.js","Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1432,1435,1438,1441],{"name":1433,"slug":1434,"type":15},"Creative","creative",{"name":1436,"slug":1437,"type":15},"Generative Art","generative-art",{"name":1439,"slug":1440,"type":15},"Graphics","graphics",{"name":1442,"slug":1443,"type":15},"JavaScript","javascript","2026-07-13T06:41:35.540127",{"slug":1446,"name":1446,"fn":1447,"description":1448,"org":1449,"tags":1450,"stars":25,"repoUrl":26,"updatedAt":1460},"antfu","configure JavaScript projects with Anthony Fu's tools","Anthony Fu's opinionated tooling and conventions for JavaScript\u002FTypeScript projects. Use when setting up new projects, configuring ESLint\u002FPrettier alternatives, monorepos, library publishing, or when the user mentions Anthony Fu's preferences.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1451,1454,1457,1458],{"name":1452,"slug":1453,"type":15},"Best Practices","best-practices",{"name":1455,"slug":1456,"type":15},"Engineering","engineering",{"name":1442,"slug":1443,"type":15},{"name":1459,"slug":532,"type":15},"TypeScript","2026-07-13T06:43:13.153309",{"slug":1462,"name":1462,"fn":1463,"description":1464,"org":1465,"tags":1466,"stars":25,"repoUrl":26,"updatedAt":1476},"brand-guidelines","apply Anthropic brand guidelines","Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1467,1470,1473],{"name":1468,"slug":1469,"type":15},"Branding","branding",{"name":1471,"slug":1472,"type":15},"Design","design",{"name":1474,"slug":1475,"type":15},"Typography","typography","2026-07-13T06:43:06.077629",{"slug":1478,"name":1478,"fn":1479,"description":1480,"org":1481,"tags":1482,"stars":25,"repoUrl":26,"updatedAt":1491},"canvas-design","create visual art and design assets","Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1483,1484,1485,1488],{"name":1433,"slug":1434,"type":15},{"name":1471,"slug":1472,"type":15},{"name":1486,"slug":1487,"type":15},"Images","images",{"name":1489,"slug":1490,"type":15},"PDF","pdf","2026-07-13T06:39:58.803113",{"slug":1493,"name":1493,"fn":1494,"description":1495,"org":1496,"tags":1497,"stars":25,"repoUrl":26,"updatedAt":1514},"ci-cd-containerization-advisor","design CI\u002FCD pipelines for Kotlin applications","Design reproducible build, image, and deployment pipelines for Kotlin plus Spring applications, including CI verification, layered containers, rollout safety, and deployment-time migration coordination. Use when creating or improving Dockerfiles, CI workflows, image hardening, Kubernetes manifests, release gates, or deployment strategies for Spring Boot services, especially where build reproducibility and operational safety matter.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1498,1501,1504,1507,1508,1511],{"name":1499,"slug":1500,"type":15},"CI\u002FCD","ci-cd",{"name":1502,"slug":1503,"type":15},"Containers","containers",{"name":1505,"slug":1506,"type":15},"Deployment","deployment",{"name":1455,"slug":1456,"type":15},{"name":1509,"slug":1510,"type":15},"Kotlin","kotlin",{"name":1512,"slug":1513,"type":15},"Spring","spring","2026-07-13T06:41:47.83899",{"slug":1516,"name":1516,"fn":1517,"description":1518,"org":1519,"tags":1520,"stars":25,"repoUrl":26,"updatedAt":1531},"cloudflare-deploy","deploy applications to Cloudflare","Deploy applications and infrastructure to Cloudflare using Workers, Pages, and related platform services. Use when the user asks to deploy, host, publish, or set up a project on Cloudflare.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1521,1524,1527,1530],{"name":1522,"slug":1523,"type":15},"Cloudflare","cloudflare",{"name":1525,"slug":1526,"type":15},"Cloudflare Pages","cloudflare-pages",{"name":1528,"slug":1529,"type":15},"Cloudflare Workers","cloudflare-workers",{"name":1505,"slug":1506,"type":15},"2026-07-17T06:04:42.853896",{"slug":1533,"name":1533,"fn":1534,"description":1535,"org":1536,"tags":1537,"stars":25,"repoUrl":26,"updatedAt":1547},"compose-ui-control","interact with Compose Desktop applications","Control a running Compose Desktop application via HTTP. Use when you need to interact with UI elements, click buttons, enter text, wait for elements to appear, or capture screenshots in a Compose Desktop app that has compose-ui-test-server enabled.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1538,1541,1544],{"name":1539,"slug":1540,"type":15},"Automation","automation",{"name":1542,"slug":1543,"type":15},"Desktop","desktop",{"name":1545,"slug":1546,"type":15},"UI Components","ui-components","2026-07-13T06:40:38.798626",128,{"items":1550,"total":1675},[1551,1567,1576,1585,1596,1606,1615,1624,1633,1643,1652,1665],{"slug":1552,"name":1552,"fn":1553,"description":1554,"org":1555,"tags":1556,"stars":1564,"repoUrl":1565,"updatedAt":1566},"mps-aspect-accessories","configure JetBrains MPS module dependencies","Wire MPS module and model dependencies, used languages, used devkits, extended languages, runtime solutions, accessory models, and language\u002Fdependency versions. Use when adding\u002Fremoving module dependencies, importing languages or devkits into a model, declaring runtime solutions, or shipping accessory content visible to consumers without explicit import.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1557,1560,1563],{"name":1558,"slug":1559,"type":15},"Architecture","architecture",{"name":1561,"slug":1562,"type":15},"Configuration","configuration",{"name":1455,"slug":1456,"type":15},1650,"https:\u002F\u002Fgithub.com\u002FJetBrains\u002FMPS","2026-07-17T06:06:57.311661",{"slug":1568,"name":1568,"fn":1569,"description":1570,"org":1571,"tags":1572,"stars":1564,"repoUrl":1565,"updatedAt":1575},"mps-aspect-actions","define and edit MPS node factories","Use when defining or editing MPS node factories (the \"actions\" aspect) — `NodeFactories` roots, per-concept `NodeFactory` setup functions that initialize a freshly created node and optionally copy data from a replaced `sampleNode`, plus the actions aspect's `CopyPasteHandlers` and `PasteWrappers` roots. Reach for this skill when a substitution, side transform, completion replacement, or `add new initialized(...)` should preserve fields from the node it is replacing, or when defaults set in a constructor are not enough.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1573,1574],{"name":1558,"slug":1559,"type":15},{"name":1455,"slug":1456,"type":15},"2026-07-17T06:04:48.066901",{"slug":1577,"name":1577,"fn":1578,"description":1579,"org":1580,"tags":1581,"stars":1564,"repoUrl":1565,"updatedAt":1584},"mps-aspect-behavior","define and edit MPS concept behavior","Use when defining or editing MPS `ConceptBehavior` — per-concept methods (non-virtual \u002F virtual \u002F abstract \u002F static \u002F virtual static), constructors, virtual dispatch (MRO), super and interface-default calls (`super\u003CInterface>.method`), overriding methods from `lang.core.behavior` interfaces such as `ScopeProvider.getScope` \u002F `INamedConcept.getName` \u002F `BaseConcept.getPresentation`, calling sibling methods (`LocalBehaviorMethodCall`) and behavior methods from other aspects via `node.method(...)`. Reach for this skill whenever the task involves authoring or modifying `\u003Clang>\u002FlanguageModels\u002Fbehavior.mps`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1582,1583],{"name":1558,"slug":1559,"type":15},{"name":1455,"slug":1456,"type":15},"2026-07-13T06:45:21.757084",{"slug":1586,"name":1586,"fn":1587,"description":1588,"org":1589,"tags":1590,"stars":1564,"repoUrl":1565,"updatedAt":1595},"mps-aspect-constraints","define JetBrains MPS language constraints","Use when defining or editing MPS language constraints — property validators \u002F setters \u002F getters, referent search scopes (imperative or inherited via `ScopeProvider.getScope`), `referentSetHandler` side effects, default-scope blocks, `canBeChild` \u002F `canBeParent` \u002F `canBeAncestor` \u002F `canBeRoot` placement rules, `defaultConcreteConcept` for abstract concepts, `set \u003Cread-only>` and `{name}` aliasing, and scope helpers (`SimpleRoleScope`, `ListScope`, `CompositeScope`, `HidingByNameScope`). Reach for this skill whenever the task involves authoring or modifying `\u003Clang>\u002FlanguageModels\u002Fconstraints.mps`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1591,1592],{"name":1558,"slug":1559,"type":15},{"name":1593,"slug":1594,"type":15},"Code Analysis","code-analysis","2026-07-23T05:41:33.639365",{"slug":1597,"name":1597,"fn":1598,"description":1599,"org":1600,"tags":1601,"stars":1564,"repoUrl":1565,"updatedAt":1605},"mps-aspect-dataflow","define and debug MPS dataflow builders","Use when defining or debugging MPS dataflow builders for a concept — control\u002Fdata flow declarations that drive reachability analysis and variable-use checking. Covers DataFlowBuilderDeclaration, BuilderBlock, emit instructions (code for, jump, ifjump, label, read, write, ret, mayBeUnreachable), positions (AfterPosition, BeforePosition, LabelPosition), the jetbrains.mps.lang.dataFlow language, the NodeParameter implicit, BL+smodel usage inside builder bodies, and IBuilderMode for advanced analyses such as nullable\u002Fnon-null tracking.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1602],{"name":1603,"slug":1604,"type":15},"Data Analysis","data-analysis","2026-07-13T06:45:19.114674",{"slug":1607,"name":1607,"fn":1608,"description":1609,"org":1610,"tags":1611,"stars":1564,"repoUrl":1565,"updatedAt":1614},"mps-aspect-editor","define MPS editor layouts","Use when creating or changing MPS editor definitions — the overall workflow from scaffolding a `ConceptEditorDeclaration` through componentizing reusable `EditorComponentDeclaration`s, refining cell models and cell layouts, applying style sheets and indent-layout style items, wiring smart references, leveraging inheritance via super-concepts and interfaces, inspecting (`print_node_json`, `show_node_representation`) and validating (`check_root_node_problems`). Covers `jetbrains.mps.lang.editor` cell models (`CellModel_RefNode`\u002F`CellModel_RefNodeList`\u002F`CellModel_RefCell`\u002F`CellModel_Property`\u002F`CellModel_Constant`), layout choices, and JSON blueprints for common editor shapes. For the non-layout side (action maps, keymaps, transformation\u002Fsubstitute menus) use `mps-aspect-editor-menus-and-keymaps`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1612,1613],{"name":1471,"slug":1472,"type":15},{"name":1545,"slug":1546,"type":15},"2026-07-23T05:41:56.638151",{"slug":1616,"name":1616,"fn":1617,"description":1618,"org":1619,"tags":1620,"stars":1564,"repoUrl":1565,"updatedAt":1623},"mps-aspect-editor-menus-and-keymaps","author MPS editor menus and keymaps","Use when authoring the **non-layout** parts of the MPS editor aspect — what happens when the user types, presses a key, triggers completion, pastes, or invokes a context action. Covers action maps (`CellActionMapDeclaration`), cell keymaps (`CellKeyMapDeclaration`), transformation menus (`TransformationMenu_Default` \u002F `_Named` \u002F `_Contribution`), substitute menus (`SubstituteMenu_Default` \u002F `SubstituteMenu` \u002F contributions), side transforms (LEFT\u002FRIGHT), legacy cell menus, paste wrappers and copy-paste handlers (in the actions language), completion styling, reference presentation, two-step deletion, and the editor selection API. Trigger terms: `actionMap`, `keyMap`, `delete_action_id`, `transformationMenu`, `substituteMenu`, `Ctrl+Space`, `Ctrl+Alt+B`, side transform, paste wrapper, completion styling, `PasteWrappers`, `CopyPasteHandlers`. For the **layout** side (cells, layouts, style sheets) use `mps-aspect-editor` instead.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1621,1622],{"name":1455,"slug":1456,"type":15},{"name":1545,"slug":1546,"type":15},"2026-07-23T05:41:49.666535",{"slug":1625,"name":1625,"fn":1626,"description":1627,"org":1628,"tags":1629,"stars":1564,"repoUrl":1565,"updatedAt":1632},"mps-aspect-generation-plan","modify MPS generation plans","Use when defining or modifying an MPS generation plan — explicit ordering of generators, checkpoints for cross-model reference resolution, forks for parallel branches, IncludePlan composition, conditional PlanContribution activation, ParameterEquals\u002FConceptListSelector fork selectors, and InitModelAttributes for targetFacet routing. Apply when working with @genplan models, the jetbrains.mps.lang.generator.plan language, attaching plans via DevKits or the Custom generation facet, or debugging cross-model mapping label resolution.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1630,1631],{"name":1558,"slug":1559,"type":15},{"name":1455,"slug":1456,"type":15},"2026-07-13T06:44:59.507855",{"slug":1634,"name":1634,"fn":1635,"description":1636,"org":1637,"tags":1638,"stars":1564,"repoUrl":1565,"updatedAt":1642},"mps-aspect-generator","define JetBrains MPS generator rules","Use when defining or modifying MPS generators — author a generator module, add or edit root\u002Freduction\u002Fweaving\u002Fpattern mapping rules, attach template macros ($COPY_SRC, $LOOP, $IF, $PROPERTY, $REF, $SWITCH, $MAP_SRC, $WEAVE, $INSERT, $LABEL, $TRACE, $VAR), wire mapping labels, build template switches, write pre\u002Fpost mapping scripts, navigate `genContext`, or debug \"rule didn't fire\", missing references, empty output, infinite reduction loops, and generated-Java compile failures.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1639,1640,1641],{"name":1558,"slug":1559,"type":15},{"name":1593,"slug":1594,"type":15},{"name":1455,"slug":1456,"type":15},"2026-07-17T06:06:58.042999",{"slug":1644,"name":1644,"fn":1645,"description":1646,"org":1647,"tags":1648,"stars":1564,"repoUrl":1565,"updatedAt":1651},"mps-aspect-intentions","define and edit MPS intentions","Use when defining or editing MPS intentions (the Alt+Enter context-action aspect) — adding `IntentionDeclaration` roots, parameterized or surround-with variants, description\u002FisApplicable\u002Fexecute blocks, child-filter functions, factory-initialized AST splicing, or debugging why an intention is not offered. Lives in the language's `intentions` model and uses `jetbrains.mps.lang.intentions`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1649,1650],{"name":1558,"slug":1559,"type":15},{"name":1455,"slug":1456,"type":15},"2026-07-23T05:41:48.692899",{"slug":1653,"name":1653,"fn":1654,"description":1655,"org":1656,"tags":1657,"stars":1564,"repoUrl":1565,"updatedAt":1664},"mps-aspect-migrations","author and debug MPS migration scripts","Use when authoring or debugging MPS migration scripts that upgrade user models after a language definition changes — covers jetbrains.mps.lang.migration (MigrationScript class-based, PureMigrationScript declarative, MoveConcept\u002FMoveContainmentLink\u002FMoveReferenceLink\u002FMoveProperty, ordering via OrderDependency, data exchange via putData\u002FgetData, RefactoringLog, ConceptMigrationReference) and jetbrains.mps.lang.script Enhancement Scripts (MigrationScript with MigrationScriptPart_Instance, ExtractInterfaceMigration, FactoryMigrationScriptPart, CommentMigrationScriptPart) — when a model needs version-gated upgrade, concept rename or removal, link or property rename, instance-level transformation, or composition of migration steps.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1658,1661],{"name":1659,"slug":1660,"type":15},"Debugging","debugging",{"name":1662,"slug":1663,"type":15},"Migration","migration","2026-07-13T06:45:20.372122",{"slug":1666,"name":1666,"fn":1667,"description":1668,"org":1669,"tags":1670,"stars":1564,"repoUrl":1565,"updatedAt":1674},"mps-aspect-structure-concepts","define concepts in MPS structure aspect","Define concepts, interface concepts, enumerations, and constrained data types in an MPS language's `structure` aspect. Covers smart-reference detection, alias rules, cardinality, INamedConcept usage, bulk creation, and the full `mps_mcp_alter_structure` \u002F `mps_mcp_query_structure` reference. Use when authoring or modifying a language's structure model.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1671],{"name":1672,"slug":1673,"type":15},"Data Modeling","data-modeling","2026-07-23T05:41:30.705975",188]