gcp-examples-expert
Generate production-ready Google Cloud code examples from official repositories including ADK samples, Genkit templates, Vertex AI notebooks, and Gemini patterns. Use when asked to \
Installation
Pick a client and clone the repository into its skills directory.
Installation
About this skill
Generate production-ready Google Cloud code examples from official repositories including ADK samples, Genkit templates, Vertex AI notebooks, and Gemini patterns. Use when asked to \
How to use
Upewnij się, że masz projekt Google Cloud z włączonym rozliczeniem i aktywnym API Vertex AI. Zaloguj się w CLI gcloud z rolami Vertex AI User i Cloud Run Developer.
Zainstaluj wymagane narzędzia: Node.js 18+ (dla przykładów Genkit/TypeScript), Python 3.10+ (dla ADK/Vertex AI) lub Go, oraz Firebase CLI dla wdrożeń Genkit (
npm install -g firebase-tools).Skonfiguruj poświadczenia: przechowuj klucze API i dane konta usługi w Secret Manager, nigdy nie wpisuj ich na stałe w kodzie.
Użyj umiejętności, podając żądanie z frazą trigger, taką jak "pokaż przykład ADK", "udostępnij starter kit GCP" lub określ framework: ADK agents, Agent Starter Pack, Genkit flows, Vertex AI training, Generative AI multimodal lub AgentSmithy orchestration.
Umiejętność automatycznie wybierze odpowiednie repozytorium źródłowe i wzorzec kodu, dostosuje szablon do wybranego języka programowania i wygeneruje kod z konfiguracją bezpieczeństwa (least-privilege service accounts, VPC Service Controls).
Przejrzyj wygenerowany kod, dostosuj parametry do swoich potrzeb, a następnie wdróż na Google Cloud Platform przy użyciu gcloud CLI lub Firebase CLI.