Communitygithub.com

SamuelChien/mega-skills-collection

使用 Google Agent Development Kit 建立可投入生產的 AI 代理程式,包含 AI 助手整合、React 模式、多代理協調及完整的工具庫。在偵測到適當情境時使用,根據技能目的以相關短語觸發。

mega-skills-collection 是什麼?

這項技能旨在幫助開發者使用 Google 的 Agent Development Kit (ADK) 建立可投入生產環境的 AI 代理程式。它提供了一個完整的專案引導流程,從專案架構、工具連接、協調模式設定,到測試與選擇性部署到 Vertex AI Agent Engine。該技能支援單一代理程式的 ReAct 工作流程,以及更複雜的多代理協調模式(如順序、並行、循環執行),非常適合處理多步驟的複雜任務。其輸出包含一個可直接用於儲存庫的 ADK 專案架構、測試與驗證計畫,以及選用的部署指令,協助開發者快速打造穩定且可擴展的 AI 代理系統。

相容平台✓Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/SamuelChien/mega-skills-collection/tree/HEAD/adk-agent-builder

在你喜歡的 AI 中提問

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

說明文件

ADK 代理建構器

使用 Google 的 Agent Development Kit (ADK) 建立可投入生產環境的代理程式:包含專案架構、工具連接、協調模式、測試,以及選擇性部署到 Vertex AI Agent Engine。

概觀

  • 建立一個精簡、面向生產環境的 ADK 專案架構(代理進入點、工具註冊表、設定與測試)。
  • 支援單一代理程式的 ReAct 風格工作流程與多代理協調(順序/並行/循環)。
  • 產出一個適用於 CI(語法檢查/測試/簡易提示測試)的驗證檢查清單,以及可選的 Agent Engine 部署驗證。

先決條件

  • 與您的專案相容的 Python 執行環境(通常為 Python 3.10+)
  • 已安裝且可匯入的 google-adk
  • 如果需要部署:能夠存取已啟用 Vertex AI 的 Google Cloud 專案,並具備部署 Agent Engine 執行環境的權限
  • 透過環境變數或密碼管理工具提供的機密資訊(絕不應硬編碼)

操作說明

  1. 確認範圍:僅限本地代理專案架構,還是要包含 Vertex AI Agent Engine 部署。
  2. 選擇架構:
    • 單一代理(ReAct)適用於自適應、工具驅動的任務
    • 多代理系統(專家 + 協調器)適用於複雜的多步驟工作流程
  3. 定義工具表面(ADK 內建工具 + 您需要的任何自訂工具)以及所需的憑證。
  4. 建立專案架構:
    • src/agents/、src/tools/、tests/,以及一個相依性檔案(pyproject.toml 或 requirements.txt)
  5. 實作最小可行代理程式和一個簡易提示測試;為工具失敗情況加入回歸測試。
  6. 如果需要部署,產生一個 adk deploy ... 指令和一份部署後驗證檢查清單(AgentCard/任務端點、權限、日誌)。

輸出

  • 一個可直接用於儲存庫的 ADK 專案架構(檔案與目錄)加上起始代理程式碼
  • 工具存根與連接點(可安全新增新工具的位置)
  • 一個測試與驗證計劃(單元測試與一個簡易提示測試)
  • 可選:Agent Engine 的部署指令與驗證步驟

錯誤處理

  • 相依性/執行環境問題:提供固定的安裝指令並驗證匯入。
  • 驗證/權限失敗:識別缺少的角色/API,並提出最低權限的修正方案。
  • 工具失敗/速率限制:加入重試/退避策略指引,並撰寫回歸測試以防止再次發生。

範例

範例:建立一個單一 ReAct 代理

  • 請求:「創建一個 ADK 代理程式,能夠總結 PR 並提出測試更新建議。」
  • 結果:代理進入點 + 工具註冊表 + 一個用於本地驗證的簡易測試指令。

範例:多代理協調器

  • 請求:「建立一個由監督者、部署者和驗證者組成的團隊,並部署到 Agent Engine。」
  • 結果:協調器骨架、每個代理的職責,以及 adk deploy ... 加上部署後的健康檢查指令。

資源

  • 完整的詳細指南(保留供參考):${CLAUDE_SKILL_DIR}/references/SKILL.full.md
  • 儲存庫標準(事實來源):
    • 000-docs/6767-a-SPEC-DR-STND-claude-code-plugins-standard.md
    • 000-docs/6767-b-SPEC-DR-STND-claude-skills-standard.md
  • ADK / Agent Engine 文件:https://cloud.google.com/vertex-ai/docs/agent-engine

Individual skills in this repo

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

SamuelChien/mega-skills-collection

Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project.

SamuelChien/mega-skills-collection

Arquitecto de Soluciones Principal y Consultor Tecnológico de Andru.ia. Diagnostica y traza la hoja de ruta óptima para proyectos de IA en español.

SamuelChien/mega-skills-collection

Ingeniero de Sistemas de Andru.ia. Diseña, redacta y despliega nuevas habilidades (skills) dentro del repositorio siguiendo el Estándar de Diamante.

SamuelChien/mega-skills-collection

Estratega de Inteligencia de Dominio de Andru.ia. Analiza el nicho específico de un proyecto para inyectar conocimientos, regulaciones y estándares únicos del sector. Actívalo tras definir el nicho.

SamuelChien/mega-skills-collection

2D game development principles. Sprites, tilemaps, physics, camera.

SamuelChien/mega-skills-collection

3D game development principles. Rendering, shaders, physics, cameras.

SamuelChien/mega-skills-collection

Expert in building 3D experiences for the web - Three.js, React Three Fiber, Spline, WebGL, and interactive 3D scenes. Covers product configurators, 3D portfolios, immersive websites, and bringing depth to web experiences.

SamuelChien/mega-skills-collection

Accessibility audit skill for scanning, fixing, and verifying WCAG 2.2 Level A and AA compliance across React, Next.js, Vue, Angular, Svelte, and plain HTML codebases. Use when auditing accessibility, fixing a11y violations, checking color contrast, generating compliance reports, or integrating accessibility checks into CI/CD pipelines.

SamuelChien/mega-skills-collection

Ab Test Analyzer - Auto-activating skill for Data Analytics. Triggers on: ab test analyzer, ab test analyzer Part of the Data Analytics skill category.

SamuelChien/mega-skills-collection

A B Test Config Creator - Auto-activating skill for ML Deployment. Triggers on: a b test config creator, a b test config creator Part of the ML Deployment skill category.

SamuelChien/mega-skills-collection

When the user wants to plan, design, or implement an A/B test or experiment. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "conversion experiment," "statistical significance," or "test this." For tracking implementation, see analytics-tracking.

SamuelChien/mega-skills-collection

Acceptance Criteria Creator - Auto-activating skill for Enterprise Workflows. Triggers on: acceptance criteria creator, acceptance criteria creator Part of the Enterprise Workflows skill category.

SamuelChien/mega-skills-collection

Use when a coding task should be driven end-to-end from issue intake through implementation, review, deployment, and acceptance verification with minimal human re-intervention.

SamuelChien/mega-skills-collection

Accessibility Audit Runner - Auto-activating skill for Frontend Development. Triggers on: accessibility audit runner, accessibility audit runner Part of the Frontend Development skill category.

SamuelChien/mega-skills-collection

You are an accessibility expert specializing in WCAG compliance, inclusive design, and assistive technology compatibility. Conduct audits, identify barriers, and provide remediation guidance.

SamuelChien/mega-skills-collection

Web accessibility patterns for WCAG 2.2 compliance including ARIA, keyboard navigation, screen readers, and testing

SamuelChien/mega-skills-collection

Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed, or change policy for the Discord channel.

SamuelChien/mega-skills-collection

Create unified specification packages across Business, Development, and Design teams. Staged elaboration (L0 Vision → L1 Requirements → L2 Team Detail → L3 Acceptance Criteria) to build shared understanding. Does not write code.

SamuelChien/mega-skills-collection

Research a company or person and get actionable sales intel. Works standalone with web search, supercharged when you connect enrichment tools or your CRM. Trigger with "research [company]", "look up [person]", "intel on [prospect]", "who is [name] at [company]", or "tell me about [company]".

SamuelChien/mega-skills-collection

Validate messaging consistency across website, GitHub repos, and local documentation generating read-only discrepancy reports. Use when checking content alignment or finding mixed messaging. Trigger with phrases like "check consistency", "validate documentation", or "audit messaging".

相關技能