From 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.
How this skill is triggered — by the user, by Claude, or both
Slash command
/active-skills:cloud-build-triggersThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Manage the end-to-end lifecycle of Google Cloud Build triggers with absolute technical rigor.
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;
}
}
npx claudepluginhub mlarkin00/active-skillsGuides collaborative design exploration before implementation: explores context, asks clarifying questions, proposes approaches, and writes a design doc for user approval.
Creates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.
Resolves in-progress git merge or rebase conflicts by analyzing history, understanding intent, and preserving both changes where possible. Runs automated checks after resolution.
2plugins reuse this skill
First indexed Jul 18, 2026