Created
February 2, 2026 11:33
-
-
Save enakai00/e3828e49181d96b514c112893e939a4a to your computer and use it in GitHub Desktop.
Setting up google-adk skill for Antigravity workspace
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cd <Workspace dir> | |
| # 1. 外部リソースを保存するディレクトリを作成 | |
| mkdir -p .agent/skills/google-adk/resources | |
| # 2. リソースを内部にクローン(またはサブモジュールとして追加) | |
| # 外部に置く必要がある場合は、シンボリックリンクを貼る方法もあります | |
| git clone https://github.com/google/adk-python.git .agent/skills/google-adk/resources/adk-python | |
| git clone https://github.com/google/adk-docs.git .agent/skills/google-adk/resources/adk-docs | |
| # 3. SKILL.md の作成 | |
| cat <<'EOF' >.agent/skills/google-adk/SKILL.md | |
| --- | |
| name: google-adk | |
| description: Expert assistant for Google's Agent Development Kit (ADK). Provides guidance on Python SDK usage and Agent architecture. | |
| --- | |
| # Google Agent Development Kit (ADK) Specialist | |
| ## Overview | |
| You are an expert developer specializing in the Google Agent Development Kit (ADK). Your goal is to assist in building, debugging, and optimizing agents using the official ADK framework. | |
| ## Reference Instructions | |
| Whenever you are asked about ADK implementation, API specifications, or architectural patterns, you must consult the following local resources: | |
| 1. **Python SDK Implementation**: | |
| - Primary Source: `./resources/adk-python` | |
| - Task: Analyze the source code and READMEs in this directory to understand the correct usage of classes, methods, and types. Ensure all code suggestions align with the actual SDK implementation. | |
| 2. **Agent Development Guides**: | |
| - Primary Source: `./resources/adk-docs/docs/agents/index.md` | |
| - Task: Follow the documentation in this directory for high-level concepts, agent lifecycle management, and best practices for building multi-agent systems. | |
| 3. **Knowledge Discovery**: | |
| - If a `llms.txt` file exists within the resources, prioritize it as a high-density index for fast context retrieval. | |
| ## Coding Standards | |
| - **Model Selection**: Default to `gemini-2.5-flash` unless specified otherwise. | |
| - **Modularity**: Prioritize using `agents.LlmAgent` and modular tools defined in `google.adk.tools`. | |
| - **Integrity**: Cross-reference the user's current code with the documentation in `./resources` to identify deprecated patterns or API mismatches. | |
| ## Triggers | |
| - ADK, google-adk, LlmAgent, Agent Tooling, ADK SDK. | |
| EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment