/active-skills:cloud-build-triggersfrom active-skills
Use when creating, updating, or managing Google Cloud Build triggers. This skill handles 1st Gen and 2nd Gen GitHub connections, branch patterns, and mandatory IAM validation.
Ships in active-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Manage the end-to-end lifecycle of Google Cloud Build triggers with absolute technical rigor.
Never attempt to create a trigger without first verifying the repository connection.
gcloud builds connections list (2nd Gen) or verify mirroring (1st Gen) before drafting the command.Before creating a trigger, identify the connection:
# List all 2nd Gen connections and their regions
gcloud builds connections list --region=[LOCATION]
Ensure the caller has roles/cloudbuild.builds.editor:
gcloud projects get-iam-policy [PROJECT_ID] \
--flatten="bindings[].members" \
--format='table(bindings.role)' \
--filter="bindings.members:user:[YOUR_EMAIL]"
Use the repository resource type. Triggers MUST specify a service account.
gcloud builds triggers create repository \
--name="[TRIGGER_NAME]" \
--repository="projects/[PROJECT_ID]/locations/[LOCATION]/connections/[CONNECTION_NAME]/repositories/[REPO_NAME]" \
--branch-pattern="^[BRANCH_NAME]$" \
--build-config="[PATH_TO_YAML]" \
--substitutions="_VAR=VALUE" \
--service-account="projects/[PROJECT_ID]/serviceAccounts/[SA_EMAIL]" \
--region=[LOCATION]
^main$ instead of main).| Excuse | Reality |
|---|---|
| "User said don't worry about IAM" | Skipping IAM leads to "Permission Denied" failures that waste context turns. |
| "I'll use a placeholder for [REGION]" | Placeholders prevent the user from running the command. Use gcloud compute regions list to find the default. |
| "This is a simple 1st Gen mirror" | Mirrored repos are deprecated. Always recommend 2nd Gen connections for new triggers. |
After drafting the trigger command, suggest the next logical step: "I have verified the connection and drafted the command. Would you like me to run it now and then trigger a manual test build?"
Add this to your global stylesheet for reduced motion:
@media (prefers-reduced-motion: reduce) {
::view-transition-old(*),
::view-transition-new(*),
::view-transition-group(*) {
animation-duration: 0s !important;
animation-delay: 0s !important;
}
}
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub mlarkin00/plugins --plugin active-skills17 skills in this plugin
/agent-eval-designDesign an evaluation strategy for a GCP AI agent before writing any eval code — choose metrics across outcome, trajectory, operational, and safety dimensions; pick scorer types (code-based rules, LLM-as-judge, human review); and plan a golden dataset with adversarial coverage. Use when the user asks how to evaluate an ADK, Vertex AI, Agent Engine, or Gemini Enterprise agent, what metrics to use, how to build a golden or test dataset for an agent, or wants an eval plan or eval strategy for an AI agent. Not for evaluating Claude Code skills (use skill-creator-enhanced), writing agent eval code (use agent-eval-implement), or executing agent evals (use agent-eval-run)./agent-eval-implementBuild the runnable eval assets for an AI agent on GCP — ADK evalset files, pytest eval wiring, Gen AI evaluation service code for trajectory and final-response metrics, custom LLM-as-judge rubrics and scorers, and ground-truth eval datasets in Cloud Storage or BigQuery. Use when the user wants to write, build, create, or add agent evals, an evalset or eval test file, a custom judge or scorer for agent output, or an eval/ground-truth dataset — for an ADK, Vertex AI, Agent Engine, Gemini Enterprise, LangGraph, or LangChain agent. Works from an eval plan produced by agent-eval-design, or standalone when the user names just one asset. Not for choosing which metrics to measure (use agent-eval-design), executing eval runs or CI/CD gating (use agent-eval-run), or creating Claude Code skills (use skill-creator-enhanced)./agent-eval-runExecute agent evals and act on the results on GCP — run adk eval or pytest eval suites, interpret per-case and aggregate scores, compare a candidate agent against a baseline with statistical quality gates, debug failed trajectories down to the first bad step, wire evals into CI/CD, and extend to production with online evals and observability. Use when the user wants to run or re-run agent evals, see why an agent eval failed, check whether an agent version regressed, add agent evals to a CI/CD or Cloud Build pipeline, gate a deployment on eval results, fix flaky or noisy eval gates, or monitor a deployed agent's quality. Covers the non-determinism discipline these runs need: one run proves nothing, and a score that moved needs a statistical test before it means anything. Not for choosing metrics (use agent-eval-design), authoring evalsets or eval code (use agent-eval-implement), or measuring Claude Code skills (use skill-creator-enhanced)./close-sessionUse when a work session is ending — updates project documentation, commits, and pushes safely to GitHub. Triggers on "close session", "wrap up", "end session", "done for now", "save my work", "let's commit everything and push", or finishing a block of work with no further tasks planned. Make sure to use this skill whenever a session of real work is ending, even if the user only says they are done. For a bare pull, push, or rebase against the remote with no session to close, use git-sync instead./documentation-lookupUse up-to-date library and framework docs via Context7 MCP instead of training data. Activates for setup questions, API references, code examples, or when the user names a framework (e.g. React, Next.js, Prisma)./gcloudUse this skill when interacting with Google Cloud services using the gcloud CLI. Use when managing cloud resources, querying configurations, or troubleshooting issues via gcloud.