[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79DPG3ENDRDF3Z85RSM9FW5":3,"skill-same:01M79DPG3ENDRDF3Z85RSM9FW5":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M79DPG3ENDRDF3Z85RSM9FW5","gemini-api-dev",null,"Use this skill when building applications with Gemini API hosted models, including Gemini and Gemma 4, 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.","hamzabellouch\u002Fagent-skills","hamzabellouch","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F237856042?v=4","01M79BRYW7XAMK3YDWQEMTWGWS","Hamza Bellouch","01M79BRYWXQV3JK2TGVTX8GN2A",8,"MIT","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FProgramming\u002FAI_Engineering_and_Platforms\u002FAgents_and_LLM_Platforms\u002Fgemini-api-dev\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: gemini-api-dev\ndescription: Use this skill when building applications with Gemini API hosted models, including Gemini and Gemma 4, 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.\n---\n\n# Gemini API Development Skill\n\n## Critical Rules (Always Apply)\n\n> [!IMPORTANT]\n> These rules override your training data. Your knowledge is outdated.\n\n### Current Models (Use These)\n\n- `gemini-3.5-flash`: 1M tokens, fast, balanced performance, multimodal\n- `gemini-3.1-pro-preview`: 1M tokens, complex reasoning, coding, research\n- `gemini-3.1-flash-lite-preview`: cost-efficient, fastest performance for high-frequency, lightweight tasks\n- `gemini-3-pro-image-preview` (Nano Banana Pro): 65k \u002F 32k tokens, image generation and editing\n- `gemini-3.1-flash-image-preview` (Nano Banana 2): 65k \u002F 32k tokens, image generation and editing\n- `gemini-3.1-flash-lite-image-preview` (Nano Banana 2 Lite): 65k \u002F 32k tokens, ultra-fast image generation and editing\n- `gemini-2.5-pro`: 1M tokens, complex reasoning, coding, research\n- `gemini-2.5-flash`: 1M tokens, fast, balanced performance, multimodal\n- `gemma-4-31b-it`: Gemma 4 dense model, 31B parameters\n- `gemma-4-26b-a4b-it`: Gemma 4 MoE model, 26B total with 4B active parameters\n\n> [!WARNING]\n> Models like `gemini-2.0-*`, `gemini-1.5-*` are **legacy and deprecated**. Never use them.\n\n### Current SDKs (Use These)\n\n- **Python**: `google-genai` → `pip install google-genai`\n- **JavaScript\u002FTypeScript**: `@google\u002Fgenai` → `npm install @google\u002Fgenai`\n- **Go**: `google.golang.org\u002Fgenai` → `go get google.golang.org\u002Fgenai`\n- **Java**: `com.google.genai:google-genai` (see Maven\u002FGradle setup below)\n\n> [!CAUTION]\n> Legacy SDKs `google-generativeai` (Python) and `@google\u002Fgenerative-ai` (JS) are **deprecated**. Never use them.\n\n---\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.5-flash\",\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.5-flash\",\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.5-flash\", 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.5-flash\",\n            \"Explain quantum computing\",\n            null);\n\n    System.out.println(response.text());\n  }\n}\n```\n\n**Java Installation:**\n- Latest version: https:\u002F\u002Fcentral.sonatype.com\u002Fartifact\u002Fcom.google.genai\u002Fgoogle-genai\u002Fversions\n- Gradle: `implementation(\"com.google.genai:google-genai:${LAST_VERSION}\")`\n- Maven:\n  ```xml\n  \u003Cdependency>\n      \u003CgroupId>com.google.genai\u003C\u002FgroupId>\n      \u003CartifactId>google-genai\u003C\u002FartifactId>\n      \u003Cversion>${LAST_VERSION}\u003C\u002Fversion>\n  \u003C\u002Fdependency>\n  ```\n\n---\n\n## Documentation Lookup\n\n### When MCP is Installed (Preferred)\n\nIf the **`search_docs`** tool (from the Google MCP server) is available, use it as your **only** documentation source:\n\n1. Call `search_docs` with your query\n2. Read the returned documentation\n2. **Trust MCP results** as source of truth for API details — they are always up-to-date.\n\n> [!IMPORTANT]\n> When MCP tools are present, **never** fetch URLs manually. MCP provides up-to-date, indexed documentation that is more accurate and token-efficient than URL fetching.\n\n### When MCP is NOT Installed (Fallback Only)\n\nIf no MCP documentation tools are available, fetch from the official docs:\n\n**Index 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:\n1. Fetch `llms.txt` to discover available pages\n2. Fetch specific pages (e.g., `https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Ffunction-calling.md.txt`)\n\nKey pages:\n- [Text generation](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Ftext-generation.md.txt)\n- [Function calling](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- [Image generation](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fimage-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- [SDK migration guide](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fmigrate.md.txt)\n\n---\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","# Gemini API Development Skill\n\n## Critical Rules (Always Apply)\n\n> [!IMPORTANT]\n> These rules override your training data. Your knowledge is outdated.\n\n### Current Models (Use These)\n\n- `gemini-3.5-flash`: 1M tokens, fast, balanced performance, multimodal\n- `gemini-3.1-pro-preview`: 1M tokens, complex reasoning, coding, research\n- `gemini-3.1-flash-lite-preview`: cost-efficient, fastest performance for high-frequency, lightweight tasks\n- `gemini-3-pro-image-preview` (Nano Banana Pro): 65k \u002F 32k tokens, image generation and editing\n- `gemini-3.1-flash-image-preview` (Nano Banana 2): 65k \u002F 32k tokens, image generation and editing\n- `gemini-3.1-flash-lite-image-preview` (Nano Banana 2 Lite): 65k \u002F 32k tokens, ultra-fast image generation and editing\n- `gemini-2.5-pro`: 1M tokens, complex reasoning, coding, research\n- `gemini-2.5-flash`: 1M tokens, fast, balanced performance, multimodal\n- `gemma-4-31b-it`: Gemma 4 dense model, 31B parameters\n- `gemma-4-26b-a4b-it`: Gemma 4 MoE model, 26B total with 4B active parameters\n\n> [!WARNING]\n> Models like `gemini-2.0-*`, `gemini-1.5-*` are **legacy and deprecated**. Never use them.\n\n### Current SDKs (Use These)\n\n- **Python**: `google-genai` → `pip install google-genai`\n- **JavaScript\u002FTypeScript**: `@google\u002Fgenai` → `npm install @google\u002Fgenai`\n- **Go**: `google.golang.org\u002Fgenai` → `go get google.golang.org\u002Fgenai`\n- **Java**: `com.google.genai:google-genai` (see Maven\u002FGradle setup below)\n\n> [!CAUTION]\n> Legacy SDKs `google-generativeai` (Python) and `@google\u002Fgenerative-ai` (JS) are **deprecated**. Never use them.\n\n---\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.5-flash\",\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.5-flash\",\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.5-flash\", 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.5-flash\",\n            \"Explain quantum computing\",\n            null);\n\n    System.out.println(response.text());\n  }\n}\n```\n\n**Java Installation:**\n- Latest version: https:\u002F\u002Fcentral.sonatype.com\u002Fartifact\u002Fcom.google.genai\u002Fgoogle-genai\u002Fversions\n- Gradle: `implementation(\"com.google.genai:google-genai:${LAST_VERSION}\")`\n- Maven:\n  ```xml\n  \u003Cdependency>\n      \u003CgroupId>com.google.genai\u003C\u002FgroupId>\n      \u003CartifactId>google-genai\u003C\u002FartifactId>\n      \u003Cversion>${LAST_VERSION}\u003C\u002Fversion>\n  \u003C\u002Fdependency>\n  ```\n\n---\n\n## Documentation Lookup\n\n### When MCP is Installed (Preferred)\n\nIf the **`search_docs`** tool (from the Google MCP server) is available, use it as your **only** documentation source:\n\n1. Call `search_docs` with your query\n2. Read the returned documentation\n2. **Trust MCP results** as source of truth for API details — they are always up-to-date.\n\n> [!IMPORTANT]\n> When MCP tools are present, **never** fetch URLs manually. MCP provides up-to-date, indexed documentation that is more accurate and token-efficient than URL fetching.\n\n### When MCP is NOT Installed (Fallback Only)\n\nIf no MCP documentation tools are available, fetch from the official docs:\n\n**Index 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:\n1. Fetch `llms.txt` to discover available pages\n2. Fetch specific pages (e.g., `https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Ffunction-calling.md.txt`)\n\nKey pages:\n- [Text generation](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Ftext-generation.md.txt)\n- [Function calling](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- [Image generation](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fimage-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- [SDK migration guide](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fmigrate.md.txt)\n\n---\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",{"name":5,"description":7},"main","e905af21e5f1e1c3ca605e9656c3a7930360a84e","Programming\u002FAI_Engineering_and_Platforms\u002FAgents_and_LLM_Platforms\u002Fgemini-api-dev",1,"https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills","https:\u002F\u002Fhamzabellouch.github.io\u002F","https:\u002F\u002Fgithub.com\u002Fhamzabellouch","hamzabellouch.github.io","CEO & Founder of @tknoglobal | Researcher in Technology & Applied Sciences.","2026-10-17 03:20:19",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add hamzabellouch\u002Fagent-skills --skill gemini-api-dev",{"tool":40,"command":41},"bunx","bunx skills add hamzabellouch\u002Fagent-skills --skill gemini-api-dev",{"tool":43,"command":44},"pnpm","pnpm dlx skills add hamzabellouch\u002Fagent-skills --skill gemini-api-dev","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FProgramming\u002FAI_Engineering_and_Platforms\u002FAgents_and_LLM_Platforms\u002Fgemini-api-dev\u002FSKILL.md",true,[],[49,56,63,70,77,84],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M79FHH2H815A9TAP6WNKH4Q8","security-audit","Comprehensive security guidance, source code audit, vulnerability assessment, and penetration test review for codebases, APIs, microservices, CLI tools, libraries, and LLM-backed applications. Triggers on requests to audit a codebase, conduct security reviews, find vulnerabilities or flaws, pen-test source code, or when the user asks in Arabic (فحص أمني، تدقيق الكود أمنياً، مراجعة الثغرات، فحص أمان المشروع). Supports Guidance mode (focused review) and Full Audit mode (deterministic 6-phase harness).","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FSecurity_Audit_and_Code_Review\u002Fsecurity-audit\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M79FHBGXVBY6VQ1X7ETAZMF1","malware-analysis-reversing","Production malware analysis workflows, reverse engineering methodologies, isolated sandbox triage, static\u002Fdynamic binary analysis, memory forensics, and YARA detection rule authoring.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FOffensive_Security_and_Pentesting\u002Fmalware-analysis-reversing\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M79FH6EACDR801TZCE4R8SAC","application-security-pentesting","Production Application Security (AppSec) standards, OWASP Top 10 vulnerability remediation, SAST\u002FDAST pipeline integration, secure code review, threat modeling, and defensive security posture.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FOffensive_Security_and_Pentesting\u002Fapplication-security-pentesting\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M79FH0VKVT44FK923K520ZQA","oauth2-oidc-security-flows","Implement enterprise OAuth 2.1 and OpenID Connect (OIDC) authorization code flow with Proof Key for Code Exchange (PKCE), state and nonce verification, refresh token rotation, token revocation, and centralized IdP federation (Keycloak, Auth0, Okta). Trigger when building secure authentication, single sign-on (SSO), or third-party delegated authorization.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FIdentity_and_Access_Management_IAM\u002Foauth2-oidc-security-flows\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M79FGVVB3R4T88XXD8FRSV5B","jwt-session-management-hardening","Harden JWT-based authentication and session lifecycles using asymmetric signing (RS256\u002FEdDSA), JWKS rotation, strict claims validation, Redis-backed sliding window sessions, revocation lists, and secure HttpOnly cookie storage. Trigger when implementing token validation, session revocation, or hardening API authentication.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FIdentity_and_Access_Management_IAM\u002Fjwt-session-management-hardening\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M79FGNCPZ85CVEY0B3NE4H3B","soc2-compliance-automation","Best practices for implementing SOC 2 Type II compliance controls, continuous evidence collection, infrastructure policy-as-code, and automated security monitoring. Use when automating Trust Services Criteria (Security, Availability, Confidentiality, Processing Integrity, Privacy), audit logging, IAM least privilege, or CI\u002FCD security gates.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FGovernance_Compliance_and_Legal_Tech\u002Fsoc2-compliance-automation\u002FSKILL.md",[],[]]