Communitygithub.com

SamuelChien/mega-skills-collection

執行軟體工程,專精於建立可投入生產的 ADK 代理,遵循最佳實務、程式碼結構、測試與部署自動化。當被要求「建置 ADK 代理」、「建立代理程式碼」或「設計 ADK 應用程式」時使用。根據技能用途觸發相關片語。

mega-skills-collection 是什麼?

此技能專為設計與實作基於 Agent Development Kit (ADK) 的生產級代理與多代理系統而設計。它能協助開發人員建立結構清晰、可測試、工具使用安全且具備部署自動化的代理程式碼。主要功能包括:明確的模組邊界、結構化的工具介面、回歸測試,以及完整的部署檢查清單(支援本機或 Agent Engine)。此技能支援 Python、Java、Go 等執行環境,並假設已安裝 ADK 及相關模型/提供者 SDK。工作流程從需求釐清開始,接著規劃架構(單一代理 vs. 多代理)、逐步實作工具並加入防護機制(重試、逾時、日誌),最後進行本機驗證與部署計劃。輸出成果包含具體的架構計畫、檔案結構、代理與工具實作(包含測試)、驗證檢查清單,以及可選的部署與健康檢查指令。錯誤處理方面,技能會針對建置/測試失敗、工具/執行時期錯誤及部署失敗提供精確的模組定位與修復策略。

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

在你喜歡的 AI 中提問

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

說明文件

ADK 工程師

設計可投入生產的 Agent Development Kit (ADK) 代理與多代理系統:清晰的結構、可測試性、安全的工具使用,以及部署自動化。

總覽

使用此技能來設計並實作易於維護且可交付的 ADK 代理程式碼:明確的模組邊界、結構化的工具介面、回歸測試,以及部署檢查清單(本機或 Agent Engine)。

先決條件

  • 與專案鎖定版本一致的目標執行環境 (Python/Java/Go)
  • 已安裝 ADK(並設定好所需的模型/提供者 SDK)
  • 儲存庫中已有可用的測試執行器(至少包含單元測試)
  • 若要部署:具備 Google Cloud 專案的存取權,以及所選部署目標的必要權限

操作說明

  1. 釐清需求:代理目標、工具涵蓋範圍、延遲/成本限制,以及部署目標。
  2. 提出架構:單一代理 vs. 多代理、編排模式、狀態策略(Memory Bank / 外部儲存)。
  3. 建立骨架結構:代理進入點、工具模組、設定檔與測試。
  4. 逐步實作:
    • 一次新增一個工具,並包含輸入驗證與結構化輸出
    • 為每個工具及關鍵提示流程加入回歸測試
  5. 加入營運防護機制:重試/退避、逾時、日誌記錄,以及安全的錯誤訊息。
  6. 在本機驗證(測試 + 簡短提示測試),並在要求時提供部署計劃。

輸出成果

  • 具體的架構計劃與檔案佈局
  • 代理與工具實作(或修補程式)及測試
  • 驗證檢查清單(要執行的指令、預期輸出,以及故障排除)
  • 可選:部署說明與部署後的健康檢查

錯誤處理

  • 建置/測試失敗:隔離失敗的模組,最小化重現步驟,修正問題,並加入回歸測試。
  • 工具/執行時期錯誤:強制使用結構化的錯誤回應,並在適當時機進行安全的重試。
  • 部署失敗:提供確切的失敗指令、要檢查的日誌,以及最低權限的 IAM 修復方案。

範例

範例:將現有 ADK 代理產品化

  • 需求:「將此代理重構成乾淨的模組結構,並在部署前加入測試。」
  • 結果:重新組織的 src/ 佈局、工具邊界、測試套件,以及一份部署檢查清單。

範例:多代理工作流程

  • 需求:「建立一個驗證器 + 部署器 + 監控器的代理團隊,使用循序編排器。」
  • 結果:編排器骨架、各代理職責,以及每個步驟的簡短測試。

資源

  • 完整詳細的腳本(供參考):${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".

相關技能