tottenjordan/me-skittles/gcp-pipeline-resource-provisioning
Claude Code and agent skill by tottenjordan/me-skittles
- community
Checking that the SKILL.md file is still in the repository.
Automates declarative resource creation and provisioning for data pipelines, supporting BigQuery, Dataform, Dataproc, BigQuery Data Transfer Service (DTS), and other resources. It manages environment-specific configurations (dev, staging, prod) through a deployment.yaml file. Use when: - Modifying or creating deployment.yaml for deployment settings. - Resolving environment-specific variables (e.g., Project IDs, Regions) for deployment. - Provisioning supported infrastructure like BigQuery datasets/tables, Dataform resources, or DTS resources via deployment.yaml. Do not use when: - Resources already exist. - Managing resources not supported by `gcloud beta orchestration-pipelines resource-types list`. - Managing general cloud infrastructure (VMs, networks, Kubernetes, IAM policies), which are better suited for Terraform. - Infrastructure spans multiple cloud providers (AWS, Azure, etc.). - Already uses Terraform for the target resources.
Install
npx vskill@latest install tottenjordan/me-skittles/gcp-pipeline-resource-provisioningSKILL.md
The same SKILL.md was published earlier as gemini-cli-extensions/data-agent-kit-starter-pack/gcp-pipeline-resource-provisioning.
How to use this skill
Create or update existing deployment.yaml file and deploy resources. All configuration files MUST be maintained together in the repository root.
Mandatory labels
[!IMPORTANT]Whenever you generate resource definitions indeployment.yaml, you MUSTdirectly populate thedatacloudlabel underdefinition.labelsfor everyresource to track the source of creation. Determine the value based on yourcurrent IDE environment:- For Antigravity, setdatacloud: "antigravity"- For VS Code, setdatacloud: "vscode"- For any other environment, setdatacloud: "other"Do not use a variable substitution for this label; hardcode the appropriatestring value directly into each resource definition (e.g., replacing__REQUIRED_LABEL__placeholders).Special rule for BigQuery DTS Ingestion: Whenever you generate abigquerydatatransfer.transferConfigindeployment.yaml, you MUST alsoexplicitly define its target destinationbigquery.datasetin the same fileand apply thedatacloudlabel to it. You must do this even if the datasetalready exists, to ensure the destination dataset's labels are patched andupdated.
Step 1: Supported Resource Types
The framework supports deploying various GCP resources. To see the comprehensive list of supported resource types, run the following command:
Refer to: references/gcp-pipeline-resource-provisioning_spec.md to understand the template for deployment.yaml.
Step 2: Discover Environment Parameters
Before generating configurations, discover the actual values for the target project, region, environment, and commit SHA.
[!TIP]Ifdeployment.yamlalready exists in the repository root, prioritizeextractingprojectandregionfrom the target environment configuration(e.g.,dev).
- Project ID:
``bash gcloud config get project ``
- Project Number:
``bash gcloud projects describe $(gcloud config get project) --format="value(projectNumber)" ``
- Region:
``bash gcloud config get-value compute/region ``
- Commit SHA:
``bash git rev-parse HEAD ``
- Environment Name: If initialization is needed, you MUST ask the user for
the environment name. If the user does not provide it, use dev as the default.
[!TIP]Use these commands to replace placeholders likeYOUR_PROJECT_IDwith actualvalues. Always remove associated comments that start with TODO once replaced.
Step 3: Generate or update deployment.yaml
Create or update deployment.yaml in the repository root. This file maps supported environments (dev, stage, prod) to their specific configurations and resources.
[!TIP]Use the Reference Spec: The agent can use the`references/gcp_pipeline_resource_provisioning_spec.md` file as atemplate. It includes sample definitions for select supported resource types.Copy and adapt the required resource blocks into thedeployment.yaml. Usegcloud beta orchestration-pipelines resource-types listwhen needed.
[!IMPORTANT]Handling Secrets & Privacy (CRITICAL): NEVER hardcode plain-text secretsindeployment.yaml.- Sensitive Data (Secrets): Sensitive information such as passwords, APIkeys, and other sensitive information MUST be stored in Secret Manager anddeclared in thesecrets:block ofdeployment.yaml.- Non-Sensitive Data (Variables): General configuration (e.g., datasetnames, table IDs, regions) could be declared in thevariables:block.- Substitution via `{{ VAR }}`: Bothvariables:andsecrets:MUST beused as{{ VARIABLE_NAME }}substitutions in resource definitions.- No Creation: The agent MUST NOT use the framework to create newsecrets. Ifgcloudindicates the secret does not exist, the agent MUSTask the user to create it manually and then re-verify.- Reference Only Policy: The agent's role is strictly limited toreferencing existing secrets. The agent MUST NEVER read, print, orinspect the values of secrets.- Safe Deployment: The actual value injection happens during deploymentexecution. The agent only provides the reference.- Manual Secret Management: Advise the user to manage secret payloadsand versions manually.
Step 4: Validation
The agent MUST validate the deployment.yaml before generating the deployment script. This ensures the configuration is syntactically correct and all variables are resolvable.
Step 5: Deployment
Run the following command to deploy the resources to the target environment.
[!NOTE]If a new transfer is being created, make sure to NOT remove the DTS transferresource fromdeployment.yamlafter it completes the run.
Definition of Done
-
deployment.yamlexists in the repository root with actual discovered
values (no placeholders) and correct resource definitions.
- The agent runs the deployment command to perform the deployment, and it
executes successfully (exit code 0).
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckinggemini/gcp-pipeline-resource-provisioning/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/tottenjordan/me-skittles/gcp-pipeline-resource-provisioning)