From aj-geddes-useful-ai-prompts-4
Deploys serverless functions on Google Cloud Platform with triggers, IAM roles, environment variables, and monitoring. For event-driven computing and HTTP APIs.
How this skill is triggered — by the user, by Claude, or both
Slash command
/aj-geddes-useful-ai-prompts-4:gcp-cloud-functionsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- [Overview](#overview)
Google Cloud Functions enables event-driven serverless computing on Google Cloud Platform. Build functions with automatic scaling, integrated security, and seamless integration with Google Cloud services for rapid development.
Minimal working example:
# Install Google Cloud SDK
curl https://sdk.cloud.google.com | bash
exec -l $SHELL
# Initialize and authenticate
gcloud init
gcloud auth application-default login
# Set project
gcloud config set project MY_PROJECT_ID
# Create service account
gcloud iam service-accounts create cloud-function-sa \
--display-name "Cloud Function Service Account"
# Grant permissions
gcloud projects add-iam-policy-binding MY_PROJECT_ID \
--member="serviceAccount:cloud-function-sa@MY_PROJECT_ID.iam.gserviceaccount.com" \
--role="roles/cloudfunctions.invoker"
# Deploy HTTP function
gcloud functions deploy my-http-function \
--gen2 \
--runtime nodejs18 \
--region us-central1 \
// ... (see reference guides for full implementation)
Detailed implementations in the references/ directory:
| Guide | Contents |
|---|---|
| Cloud Function Creation with gcloud CLI | Cloud Function Creation with gcloud CLI |
| Cloud Functions Implementation (Node.js) | Cloud Functions Implementation (Node.js) |
| Terraform Cloud Functions Configuration | Terraform Cloud Functions Configuration |
npx claudepluginhub joshuarweaver/cascade-code-languages-misc-1 --plugin aj-geddes-useful-ai-prompts-4Generates cloud function configurations and code for GCP, providing step-by-step guidance for compute, storage, BigQuery, Vertex AI, and other GCP services.
Builds and optimizes serverless applications on GCP Cloud Run and Cloud Functions, covering containerization, cold start mitigation, and event-driven architecture with Pub/Sub.
Creates and manages Azure Functions for serverless computing with triggers, bindings, authentication, and monitoring. Supports HTTP APIs, message processing, scheduled jobs, and event-driven workflows.