Agent skill · google
cloud-build-basics
Teaches the fundamentals of Google Cloud Build (GCB). Covers core concepts, API enablement, console navigation to the Build History page, and the end-to-end workflow for creating and manually running a basic build trigger. Do not use for managing private pools or complex pipeline architectures.
What it needs
About 4k tokens when loaded.
What this skill does
Google Cloud Build Basics Prerequisites Before starting, ensure the following prerequisites are met: 1. Google Cloud SDK: Ensure the Google Cloud SDK is installed and configured. 2. Authentication: Authenticate the gcloud CLI: 3. Project ID: Know the target Google Cloud Project ID. Set the context: 4. Enable Cloud Build API: The Cloud Build API must be enabled for the project. 5. Permissions: Ensure the user or service account has the necessary permissions, such as roles/cloudbuild.builds.editor and roles/serviceusage.serviceUsageAdmin (to enable the API). Core Concepts Google Cloud Build (GCB) is a serverless platform that executes your builds on Google Cloud. It translates your source code into deployable artifacts, such as Docker containers or Java archives. Concept Description :--- :--- cloudbuild.yaml The required configuration file that defines the build steps. It is written in YAML or JSON. Build Steps A sequence of actions (steps) GCB performs. Each step runs a command inside a specific Docker container (the builder). Common builders include gcr.io/cloud-builders/gcloud, gcr.io/cloud-builders/docker, and custom containers. Artifacts The output of the build, typically a container image pushed to Google Container Registry (GCR) or Artifact Registry (AR), or other deployable files. Triggers Automation rules that invoke a build in response to an event, such as a push to a Git repository, a Pub/Sub message, or a manual request. Navigation: Viewing Build History The Cloud Build Build History page is the central place to monitor the status of past and ongoing builds. 1. Open the Cloud Console: Navigate to the Google Cloud Console. 2. Go to Cloud Build: Use the search bar or the navigation menu to find Cloud Build. 3. Select Build History: In the left navigation pane, select History (or use the direct URL: https://console.cloud.google.com/cloud-build/builds). 4. Review Builds: Status: Check the status column (SUCCESS, FAILURE, WORKING, QUEUED). …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills google/cloud-build-basics