スキル一覧に戻る
MattMagg

google-adk

by MattMagg

Claude Code plugins for building AI agents across frameworks (Google ADK, OpenAI, and more)

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

SKILL.md


name: Google ADK description: Workflow patterns and gotchas for Google Agent Development Kit. Directs to RAG for implementation.

Google ADK Workflow

When to Choose ADK

  • Building for Google Cloud / Vertex AI deployment
  • Need streaming-first architecture
  • Want agent-to-agent (A2A) protocol support
  • Gemini model preference

Decision Framework

Agent Type Selection

NeedAgent TypeRAG Query
LLM reasoning with toolsLlmAgent"LlmAgent configuration"
Custom non-LLM logicBaseAgent"BaseAgent implementation"
Sequential pipelineSequentialAgent"SequentialAgent example"
Parallel executionParallelAgent"ParallelAgent concurrent"
Iteration patternsLoopAgent"LoopAgent termination"

Query RAG: mcp__agentic-rag__query_sdk("agent type example", sdk="adk", mode="build")

Critical Gotchas

These are NOT in docs or easy to discover:

  1. Export as root_agent - ADK expects this exact name in agent.py
  2. Docstrings are MANDATORY for tools - LLM reads them; missing = tool won't work
  3. NEVER document ToolContext - It's auto-injected; including it in docstring breaks inference
  4. No quotes in .env - GOOGLE_API_KEY=value not GOOGLE_API_KEY="value"
  5. Sub-agent descriptions matter - Vague descriptions = poor routing decisions

Workflow: Creating an ADK Agent

Step 1: Project Setup

RAG Query: mcp__agentic-rag__query_sdk("ADK project structure", sdk="adk", mode="explain")

Step 2: Agent Definition

RAG Query: mcp__agentic-rag__query_sdk("LlmAgent basic example", sdk="adk", mode="build")

Step 3: Tool Creation

RAG Query: mcp__agentic-rag__query_sdk("function tool definition", sdk="adk", mode="build")

Remember: Every tool needs a docstring with Args and Returns.

Step 4: State Management (if needed)

RAG Query: mcp__agentic-rag__query_sdk("agent state management", sdk="adk", mode="build")

Step 5: Multi-Agent (if needed)

RAG Query: mcp__agentic-rag__query_sdk("sub_agents routing", sdk="adk", mode="build")

Step 6: Testing

RAG Query: mcp__agentic-rag__query_sdk("ADK testing", sdk="adk", mode="explain")

Common Error Patterns

SymptomLikely CauseRAG Query
Tool not invokedMissing/bad docstring"tool docstring format"
Import errorWrong module path"ADK imports"
Auth failure.env formatting"ADK authentication"
Sub-agent ignoredPoor description"sub_agents description"
State not persistingWrong state access"ToolContext state"

Advanced Features

Query RAG when you need:

  • Streaming: "ADK streaming response"
  • A2A Protocol: "agent to agent protocol"
  • Visual Builder: "ADK visual builder"
  • Callbacks: "ADK callbacks events"
  • Memory/Sessions: "ADK session memory"

スコア

総合スコア

50/100

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

SKILL.md

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

+20
LICENSE

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

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

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

0/5
Issue管理

オープンIssueが50未満

+5
言語

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

+5
タグ

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

0/5

レビュー

💬

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