gcp-examples-expert
jeremylongshore/claude-code-plugins-plus
ADK 샘플, Genkit 템플릿, Vertex AI 노트북, Gemini 패턴 등 공식 저장소에서 가져온, 실제 운영 환경에 바로 적용 가능한 Google Cloud 코드 예제를 제공합니다. “ADK 예제를 보여주세요” 또는 “GCP 스타터 키트를 제공해 주세요”라는 요청을 받았을 때 활용하세요.
...모든 것을 확장하십시오gcp-examples-expert 소개
'gcp-examples-expert' 스킬은 ADK 샘플, Genkit 템플릿, Vertex AI 노트북, Gemini 패턴 등 다양한 공식 소스에서 바로 사용 가능한 Google Cloud 코드 예제를 생성하도록 설계되었습니다. 이 스킬은 개발자가 실용적인 코드 스니펫과 템플릿에 빠르게 접근하여 개발 프로세스를 가속화하고, 애플리케이션에 Google Cloud 기능을 손쉽게 통합할 수 있도록 돕기 위해 마련되었습니다. 관련 예제 검색을 자동화함으로써, 흩어져 있는 출처에서 코드를 수동으로 검색하고 수정해야 하는 어려움을 해결하여 개발자의 시간과 노력을 절약해 줍니다.
자주 묻는 질문
gcp-examples-expert 스킬은 어떻게 호출하나요?
ADK 예제나 GCP 스타터 키트를 요청하는 등 트리거 조건이 충족될 때 이 스킬을 호출할 수 있습니다. 또한 스킬의 목적에 부합하는 관련 문구를 사용해도 스킬을 활성화할 수 있습니다.
이 스킬을 사용하기 위한 전제 조건은 무엇입니까?
환경에 적절한 파일 액세스 권한이 있어야 하며, 필요한 종속성이 설치되어 있어야 합니다.
이 스킬에서 사용할 수 있는 도구는 무엇인가요?
이 스킬은 Read, Write, Edit, Grep, Glob 및 Bash 명령어와 같은 도구를 사용할 수 있습니다.
생성된 출력을 수정할 수 있나요?
네, 이 스킬은 생성된 출력을 제공하며, 사용자의 구체적인 요구 사항에 따라 필요에 따라 검토하고 수정할 수 있습니다.
예제와 오류 처리 문서는 어디에서 찾을 수 있나요?
자세한 예제는 `{baseDir}/references/examples.md`에서, 포괄적인 오류 처리 정보는 `{baseDir}/references/errors.md`에서 확인할 수 있습니다.
GCP Examples Expert
Overview
Generate production-ready Google Cloud Platform code examples sourced from official repositories including ADK samples, Agent Starter Pack, Firebase Genkit, Vertex AI samples, Generative AI examples, and AgentSmithy. This skill maps user requirements to the appropriate GCP framework and delivers working code with security, monitoring, and deployment best practices baked in.
Prerequisites
- Google Cloud project with billing enabled and Vertex AI API activated
gcloudCLI authenticated with appropriate IAM roles (Vertex AI User, Cloud Run Developer)- Node.js 18+ for Genkit/TypeScript examples or Python 3.10+ for ADK/Vertex AI examples
- Firebase CLI for Genkit deployments (
npm install -g firebase-tools) - API keys or service account credentials configured via Secret Manager (never hardcoded)
Instructions
- Identify the target framework by matching the request to one of six categories: ADK agents, Agent Starter Pack, Genkit flows, Vertex AI training, Generative AI multimodal, or AgentSmithy orchestration
- Select the appropriate source repository and code pattern from
${CLAUDE_SKILL_DIR}/references/code-example-categories.md - Adapt the template to the specified programming language (TypeScript, Python, or Go)
- Configure security settings: IAM least-privilege service accounts, VPC Service Controls, Model Armor for prompt injection protection
- Add monitoring instrumentation: Cloud Monitoring dashboards, alerting policies, structured logging, OpenTelemetry tracing
- Set auto-scaling parameters with appropriate min/max instance counts for the deployment target
- Include cost optimization: select Gemini 2.5 Flash for simple tasks, Gemini 2.5 Pro for complex reasoning, batch predictions for bulk workloads
- Generate deployment configuration for the target platform (Cloud Run, Firebase Functions, or Vertex AI Endpoints)
- Provide Terraform or IaC templates for reproducible infrastructure provisioning
- Cite the source repository and link to official documentation for each pattern used
See ${CLAUDE_SKILL_DIR}/references/workflow.md for the phased workflow and ${CLAUDE_SKILL_DIR}/references/best-practices-applied.md for the full best-practices checklist.
Output
- Complete, runnable code example with imports, configuration, and error handling
- Deployment configuration (Cloud Run service YAML, Firebase function config, or Terraform module)
- Environment variable template listing required secrets and API keys
- Monitoring setup: dashboard JSON, alerting policy definitions, log-based metrics
- Cost estimate guidance based on model selection and expected throughput
- Source repository citation and documentation links
Error Handling
| Error | Cause | Solution |
|---|---|---|
| Invalid GCP project or API not enabled | Vertex AI API disabled or project ID misconfigured | Run gcloud services enable aiplatform.googleapis.com; verify project ID in gcloud config list |
| Permission denied on Vertex AI resources | Service account missing required IAM roles | Grant roles/aiplatform.user and roles/run.developer; check VPC-SC perimeter allows access |
| Model not available in region | Requested Gemini model not deployed in specified location | Use us-central1 or europe-west4 where Gemini models are available; check regional availability docs |
| Quota exceeded for API calls | Rate limit hit on Vertex AI prediction endpoint | Request quota increase via Cloud Console; implement exponential backoff with jitter |
| Dependency version conflict | Incompatible versions of AI SDK, Genkit, or provider packages | Pin versions in package.json or requirements.txt; use lockfile to ensure reproducibility |
See ${CLAUDE_SKILL_DIR}/references/errors.md for additional error scenarios.
Examples
Scenario 1: ADK Agent with Code Execution -- Create a production ADK agent using google/adk-samples patterns. Enable Code Execution Sandbox with 14-day state TTL, configure Memory Bank for persistent context, apply VPC Service Controls and IAM least-privilege. Deploy to Vertex AI Agent Engine.
Scenario 2: Genkit RAG Flow -- Implement a retrieval-augmented generation system using Firebase Genkit. Define a retriever with text-embedding-gecko embeddings, connect to a vector database, build a RAG flow with Zod-validated input/output schemas. Deploy to Cloud Run with auto-scaling (2-10 instances).
Scenario 3: Gemini Multimodal Analysis -- Analyze video content using the generative-ai repository patterns. Create a multimodal prompt combining video URIs with text questions using Gemini 2.5 Pro. Include safety filter configuration, token counting for cost estimation, and structured output parsing.
See ${CLAUDE_SKILL_DIR}/references/example-interactions.md for detailed interaction examples.
Resources
- google/adk-samples -- ADK agent creation patterns
- GoogleCloudPlatform/agent-starter-pack -- production agent templates
- genkit-ai/genkit -- RAG flows, tool calling, evaluation
- GoogleCloudPlatform/vertex-ai-samples -- model training, tuning, deployment
- GoogleCloudPlatform/generative-ai -- Gemini multimodal, function calling, grounding
- GoogleCloudPlatform/agentsmithy -- multi-agent orchestration
gcp-examples-expert 설치
스킬 파일을 다운로드하여 .claude/skills/ 디렉터리에 압축을 풀어주세요.
ZIP 다운로드저장소를 클론하고 스킬 파일을 프로젝트에 복사하세요.
git clone https://github.com/jeremylongshore/claude-code-plugins-plus-skills/blob/main/plugins/ai-ml/jeremy-gcp-starter-examples/skills/gcp-examples-expert/SKILL.md # Copy SKILL.md to your .claude/skills/ directory
복사





집
