AgentSkillsCN

adk-rust-app-bootstrap

以正确的 crate/特性配置、提供商设置及验证步骤,快速搭建全新的 ADK-Rust 应用程序。适用于启动新代理应用,或将现有 Rust 应用转换为 ADK-Rust 时使用。

SKILL.md
--- frontmatter
name: adk-rust-app-bootstrap
description: Bootstrap new ADK-Rust applications with correct crate/features, provider setup, and verification steps. Use when starting a new agent app or converting an existing Rust app to ADK-Rust.

ADK Rust App Bootstrap

Overview

Set up a new ADK-Rust app with stable defaults and immediate verification.

Workflow

  1. Choose dependency scope: adk-rust umbrella crate or focused per-crate dependencies.
  2. Select provider feature flags and required environment variables.
  3. Start with the smallest runnable LlmAgentBuilder path.
  4. Validate with cargo check and one runtime smoke command.

Guardrails

  1. Keep first iteration minimal and deterministic.
  2. Add optional crates only when the app needs them.
  3. Verify feature flags against examples before coding custom abstractions.

References

  • Use references/bootstrap-checklist.md.