drgarbage/ag-course-index/gemini-agent-dev-support
Claude Code and agent skill by drgarbage/ag-course-index
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Guidelines for Gemini API development. Used to pre-define architecture in the planning phase and verify code patterns in the coding/debugging phase.
Install
npx vskill@latest install drgarbage/ag-course-index/gemini-agent-dev-supportSKILL.md
The same SKILL.md was published earlier as drgarbage/ag-course-index/gemini-agent-dev-support.
Gemini API Development Skill
1. Planning Phase (Pre-definition)
Before proposing an implementation plan, you must verify and align on these architectural constraints:
- No Memory: Query Docs MCP
search_docsor refer tollms.txtfor up-to-date SDK specifications. - SDK Import: Strictly use
@google/genai(JS/TS) orgoogle-genai(Python). Never import legacy SDKs. - Origin: Web apps must run on a local dev server (e.g.
localhost). Absolutely nofile://execution. - Credentials Policy: Keep API keys and credentials on the server-side/backend proxy. Never expose keys in client-side code.
- Time Grounding: Plan must include dynamic system instruction time injection.
- No Mocking: Non-functional elements must be disabled or hidden. No static stub response in production code paths.
2. Coding & Debugging Phase (Standard Patterns)
Always use these clean code patterns without adding comments in generated production code:
A. IME & Send Event
- Clear
input.valueimmediately after sending. - Disable input element and send button during
loading === true. - Prevent sending if
input.value.trim() === "". - Voice Input: Implement actual microphone permission requests, UI state indicators (listening, error, retry), and text input fallback. Never use a silent mic icon placeholder.
B. Model Selection & Time Awareness
C. Tool Combination (Gemini 2.x vs 3.x)
- Tool Grounding: Update
systemInstructiondynamically. If search is disabled, append:"Tool google_search is disabled. Do not attempt to call it."
D. Tool Error Handling
- Never throw directly on tool execution error or unknown tool name. Return the structured error JSON above.
E. History Schema
- No plural
functionCallsfield in history object. Map each singlefunctionCallto its correspondingfunctionResponse. - Preserve
thought,signature(within interactions context), and server-side tool context in the dialog loop.
F. Error Handling & Safe Rendering
Output Format
Verification Log
- Docs MCP / Skill Query Link: [e.g. search_docs query]
- Models: [e.g. gemini-2.5-flash]
Checklist
| ID | Item | Result | Evidence | |
|---|---|---|---|---|
| S1 | SDK / Tooling | PASS / FAIL / N/A | [code line or test screenshot link] |
Code Changes
[file path]: [description of change]
Smoke Test Output
Remaining Risks
- [untested features, proxies, or "None"]
Recurrence Protection
- [Describe protection mechanism: Rule / Hook / Test / Skill / "Not Needed" with reason]
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/gemini-agent-dev-support/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/drgarbage/ag-course-index/gemini-agent-dev-support)