Community生產力與協作github.com

google/adk-cheatsheet

在編寫或修改 ADK 代理程式碼前必讀。ADK Python API 快速參考 — 包含代理類型、工具定義、編排模式、回呼與狀態管理。附有所有 ADK 文件頁面的索引。不適用於建立新專案(請使用 adk-scaffold)。

adk-cheatsheet 是什麼?

這是一份 Google ADK(Agent Development Kit)的 Python API 快速參考指南,專為開發者在編寫或修改 ADK 代理程式碼時設計。它涵蓋了代理類型、工具定義、編排模式、回呼機制以及狀態管理等關鍵概念,並提供一份完整的 ADK 官方文件索引,方便開發者快速查閱。此技能的目的是作為即時查閱的「小抄」,而不是用來建立新專案的模板(建立新專案應使用 adk-scaffold 技能)。第一次使用 ADK 或對特定 API 細節不熟悉時,優先參考此文件可以大幅提升開發效率,避免常見錯誤。支援所有使用 Python 開發 ADK 代理的環境,如 Claude Code、Cursor 或 Codex 等。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/google/adk-docs/tree/main/skills/adk-cheatsheet

Installed? Explore more 生產力與協作 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

adk-cheatsheet 是做什麼的?

在編寫或修改 ADK 代理程式碼前必讀。 ADK Python API 快速參考 — 包含代理類型、工具定義、編排模式、回呼與狀態管理。附有所有 ADK 文件頁面的索引。不適用於建立新專案(請使用 adk-scaffold)。

Individual skills in this repo

This repo contains 5 individual skills — each has its own dedicated page.

google/adk-deploy-guide

MUST READ before deploying any ADK agent. ADK deployment guide — Agent Engine, Cloud Run, GKE, CI/CD pipelines, secrets, observability, and production workflows. Use when deploying agents to Google Cloud or troubleshooting deployments. Do NOT use for API code patterns (use adk-cheatsheet), evaluation (use adk-eval-guide), or project scaffolding (use adk-scaffold).

google/adk-dev-guide

ALWAYS ACTIVE — read at the start of any ADK agent development session. ADK development lifecycle and mandatory coding guidelines — spec-driven workflow, code preservation rules, model selection, and troubleshooting.

google/adk-eval-guide

MUST READ before running any ADK evaluation. ADK evaluation methodology — eval metrics, evalset schema, LLM-as-judge, tool trajectory scoring, and common failure causes. Use when evaluating agent quality, running adk eval, or debugging eval results. Do NOT use for API code patterns (use adk-cheatsheet), deployment (use adk-deploy-guide), or project scaffolding (use adk-scaffold).

google/adk-observability-guide

MUST READ before setting up observability for ADK agents or when analyzing production traffic, debugging agent behavior, or improving agent performance. ADK observability guide — Cloud Trace, prompt-response logging, BigQuery Agent Analytics, third-party integrations, and troubleshooting. Use when configuring monitoring, tracing, or logging for agents, or when understanding how a deployed agent handles real traffic.

google/adk-scaffold

MUST READ before creating or enhancing any ADK agent project. Use when the user wants to build a new agent (e.g. "build me a search agent") or enhance an existing project (e.g. "add CI/CD to my project", "add RAG").

相關技能