vertex-infra-expert
当使用Terraform配置Vertex AI基础设施时使用。可通过短语如“Vertex AI Terraform”、“部署Gemini Terraform”、“模型花园基础设施”、“Vertex AI端点Terraform”或“Vector搜索Terraform”触发。配置模型花园模型、Gemini端点、向量搜索索引、ML管道和加密的AI生产服务,并实现自动扩展。
📖 中文导读:当使用Terraform配置Vertex AI基础设施时使用。可通过短语如“Vertex AI Terraform”、“部署Gemini Terraform”、“模型花园基础设施”、“Vertex AI端点Terraform”或“Vector搜索Terraform”触发。配置模型花园模型、Gemini端点、向量搜索索引、ML管道和加密的AI生产服务,并实现自动扩展。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: vertex-infra-expert description: | Execute use when provisioning Vertex AI infrastructure with Terraform. Trigger with phrases like "vertex ai terraform", "deploy gemini terraform", "model garden infrastructure", "vertex ai endpoints terraform", or "vector search terraform". Provisions Model Garden models, Gemini endpoints, vector search indices, ML pipelines, and production AI services with encryption and auto-scaling. allowed-tools: Read, Write, Edit, Grep, Glob, Bash(terraform:), Bash(gcloud:) version: 1.0.0 author: Jeremy Longshore jeremy@intentsolutions.io license: MIT
Vertex Infra Expert
Overview
Provision Vertex AI infrastructure with Terraform (endpoints, deployed models, vector search indices, pipelines) with production guardrails: encryption, autoscaling, IAM least privilege, and operational validation steps. Use this skill to generate a minimal working Terraform baseline and iterate toward enterprise-ready deployments.
Prerequisites
Before using this skill, ensure:
- Google Cloud project with Vertex AI API enabled
- Terraform 1.0+ installed
- gcloud CLI authenticated with appropriate permissions
- Understanding of Vertex AI services and ML models
- KMS keys created for encryption (if required)
- GCS buckets for model artifacts and embeddings
Instructions
- Define AI Services: Identify required Vertex AI components (endpoints, vector search, pipelines)
- Configure Terraform: Set up backend and define project variables
- Provision Endpoints: Deploy Gemini or custom model endpoints with auto-scaling
- Set Up Vector Search: Create indices for embeddings with appropriate dimensions
- Configure Encryption: Apply KMS encryption to endpoints and data
- Implement Monitoring: Set up Cloud Monitoring for model performance
- Apply IAM Policies: Grant least privilege access to AI services
- Validate Deployment: Test endpoints and verify model availability
Output
Error Handling
See {baseDir}/references/errors.md for comprehensive error handling.
Examples
See {baseDir}/references/examples.md for detailed examples.
Resources
- Vertex AI Terraform: https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/vertex_ai_endpoint
- Vertex AI documentation: https://cloud.google.com/vertex-ai/docs
- Model Garden: https://cloud.google.com/model-garden
- Vector Search guide: https://cloud.google.com/vertex-ai/docs/vector-search
- Terraform examples in {baseDir}/vertex-examples/