Communitygithub.com

SamuelChien/mega-skills-collection

执行软件工程师角色,专注于使用最佳实践、代码结构、测试和部署自动化创建生产就绪的ADK智能体。当要求“构建ADK智能体”、“创建智能体代码”或“设计ADK应用程序”时使用。根据技能目的触发相关短语。

mega-skills-collection 是什么?

该技能旨在帮助开发者设计和实现生产就绪的ADK(Agent Development Kit)智能体及多智能体系统。它强调清晰的模块边界、结构化的工具接口、回归测试和部署自动化,确保代码可维护且可交付。技能涵盖了从需求澄清、架构设计(如单智能体 vs 多智能体、编排模式、状态策略)到逐步实现(逐个添加工具、集成测试)的全过程。此外,还包括操作防护措施(重试/退避、超时、日志记录)和错误处理指南,适用于本地验证或部署到Agent Engine。平台支持包括Python/Java/Go运行时,需预先安装ADK及必要的模型/提供商SDK。

兼容平台✓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".

相关技能