home / skills / jeremylongshore / claude-code-plugins-plus-skills / adk-agent-builder

adk-agent-builder skill

/plugins/jeremy-google-adk/skills/adk-agent-builder

This skill helps you scaffold production-ready AI agents with Google's ADK, wiring tools, orchestration, tests, and optional Vertex AI deployment.

npx playbooks add skill jeremylongshore/claude-code-plugins-plus-skills --skill adk-agent-builder

Review the files below or copy the command above to add this skill to your agents.

Files (2)
SKILL.md
3.4 KB
---
name: adk-agent-builder
description: |
  Build production-ready AI agents using Google's Agent Development Kit with AI assistant integration, React patterns, multi-agent orchestration, and comprehensive tool libraries. Use when appropriate context detected. Trigger with relevant phrases based on skill purpose.
allowed-tools: Read, Write, Edit, Grep, Bash(cmd:*)
version: 1.0.0
author: Jeremy Longshore <[email protected]>
license: MIT
---
# ADK Agent Builder

Build production-ready agents with Google’s Agent Development Kit (ADK): scaffolding, tool wiring, orchestration patterns, testing, and optional deployment to Vertex AI Agent Engine.

## Overview

- Creates a minimal, production-oriented ADK scaffold (agent entrypoint, tool registry, config, and tests).
- Supports single-agent ReAct-style workflows and multi-agent orchestration (Sequential/Parallel/Loop).
- Produces a validation checklist suitable for CI (lint/tests/smoke prompts) and optional Agent Engine deployment verification.

## Prerequisites

- Python runtime compatible with your project (often Python 3.10+)
- `google-adk` installed and importable
- If deploying: access to a Google Cloud project with Vertex AI enabled and permissions to deploy Agent Engine runtimes
- Secrets available via environment variables or a secret manager (never hardcoded)

## Instructions

1. Confirm scope: local-only agent scaffold vs Vertex AI Agent Engine deployment.
2. Choose an architecture:
   - Single agent (ReAct) for adaptive tool-driven tasks
   - Multi-agent system (specialists + orchestrator) for complex, multi-step workflows
3. Define the tool surface (built-in ADK tools + any custom tools you need) and required credentials.
4. Scaffold the project:
   - `src/agents/`, `src/tools/`, `tests/`, and a dependency file (`pyproject.toml` or `requirements.txt`)
5. Implement the minimum viable agent and a smoke test prompt; add regression tests for tool failures.
6. If deploying, produce an `adk deploy ...` command and a post-deploy validation checklist (AgentCard/task endpoints, permissions, logs).

## Output

- A repo-ready ADK scaffold (files and directories) plus starter agent code
- Tool stubs and wiring points (where to add new tools safely)
- A test + validation plan (unit tests and a minimal smoke prompt)
- Optional: deployment commands and verification steps for Agent Engine

## Error Handling

- Dependency/runtime issues: provide pinned install commands and validate imports.
- Auth/permission failures: identify the missing role/API and propose least-privilege fixes.
- Tool failures/rate limits: add retries/backoff guidance and a regression test to prevent recurrence.

## Examples

**Example: Scaffold a single ReAct agent**
- Request: “Create an ADK agent that summarizes PRs and proposes test updates.”
- Result: agent entrypoint + tool registry + a smoke test command for local verification.

**Example: Multi-agent orchestrator**
- Request: “Build a supervisor + deployer + verifier team and deploy to Agent Engine.”
- Result: orchestrator skeleton, per-agent responsibilities, and `adk deploy ...` + post-deploy health checks.

## Resources

- Full detailed guide (kept for reference): `{baseDir}/references/SKILL.full.md`
- Repo standards (source of truth):
  - `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 docs: https://cloud.google.com/vertex-ai/docs/agent-engine

Overview

This skill scaffolds production-ready AI agents using Google’s Agent Development Kit (ADK), with built-in patterns for single-agent ReAct workflows and multi-agent orchestration. It generates a repo-ready layout, tool wiring stubs, tests, and an optional path to deploy and validate on Vertex AI Agent Engine. The outputs include a validation checklist suitable for CI and pragmatic error-handling guidance.

How this skill works

Given a chosen scope (local-only scaffold or Agent Engine deployment), the skill creates the minimal ADK project structure: agent entrypoint, tool registry, configuration, and tests. It wires default ADK tools and provides stubs for custom tools, implements ReAct or orchestrator patterns (Sequential/Parallel/Loop), and emits smoke tests plus CI-ready validation steps. For deployment targets, it produces adk deploy commands and post-deploy verification steps for Agent Engine.

When to use it

  • You need a reproducible ADK scaffold for development or production.
  • Building a single adaptive agent that integrates external tools (ReAct).
  • Designing a multi-agent system with orchestrator and specialist agents.
  • Preparing a CI pipeline with smoke tests and regression checks for agent behavior.
  • Planning optional deployment to Vertex AI Agent Engine with verification steps.

Best practices

  • Decide upfront whether deployment to Agent Engine is required; scaffold accordingly to avoid rework.
  • Define the tool surface and required credentials before wiring tools; keep secrets out of source control.
  • Start with a minimal smoke test prompt to validate agent startup and one happy-path tool call.
  • Add regression tests for tool failures and rate-limit scenarios to prevent silent breakage.
  • Use pinned dependencies and explicit Python runtime versions to avoid dependency/runtime issues.

Example use cases

  • Scaffold a ReAct agent that summarizes pull requests and suggests test updates, with a local smoke test.
  • Create a supervisor+deployer+verifier multi-agent system and generate the orchestrator skeleton and per-agent responsibilities.
  • Produce a CI validation checklist: lint, unit tests, and a smoke prompt that runs on each commit.
  • Generate deployment commands and post-deploy checks for Vertex AI Agent Engine, including endpoint and permission verification.

FAQ

What prerequisites are required?

A suitable Python runtime (commonly 3.10+), google-adk installed, and environment-managed secrets. For deployment, a Google Cloud project with Vertex AI enabled and proper permissions is required.

How does error handling work?

The scaffold includes guidance: pinned install commands for dependency issues, least-privilege role fixes for auth failures, and retry/backoff patterns plus regression tests for tool failures.