david-driscoll/dotfiles/gcp-cloud-functions
Claude Code and agent skill by david-driscoll/dotfiles
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Deploy serverless functions on Google Cloud Functions. Configure triggers and manage deployments. Use when implementing serverless workloads on GCP.
Install
npx vskill@latest install david-driscoll/dotfiles/gcp-cloud-functionsSKILL.md
The same SKILL.md was published earlier as david-driscoll/dotfiles/gcp-cloud-functions.
GCP Cloud Functions
Build and deploy event-driven serverless applications with Google Cloud Functions (Gen1 and Gen2).
When to Use
- Processing webhooks, API endpoints, or lightweight HTTP backends
- Reacting to events from Pub/Sub, Cloud Storage, Firestore, or Eventarc
- Running scheduled tasks (cron) without maintaining a server
- Building data-processing pipelines triggered by file uploads
- Prototyping microservices before committing to Cloud Run or GKE
Prerequisites
- Google Cloud SDK (
gcloud) installed and authenticated - APIs enabled: Cloud Functions, Cloud Build, Artifact Registry, Cloud Run (Gen2)
- IAM role
roles/cloudfunctions.developer(orroles/run.developerfor Gen2)
Gen1 vs Gen2 Comparison
| Feature | Gen1 | Gen2 (recommended) | |
|---|---|---|---|
| Runtime | Cloud Functions infra | Built on Cloud Run | |
| Max timeout | 9 minutes | 60 minutes | |
| Max memory | 8 GB | 32 GB | |
| Concurrency | 1 request/instance | Up to 1000/instance | |
| Traffic splitting | No | Yes | |
| Eventarc triggers | No | Yes |
Deploy an HTTP Function (Gen2)
Deploy a Pub/Sub Triggered Function
Deploy a Cloud Storage Triggered Function
Deploy a Scheduled Function
Python Function Examples
Node.js Function Examples
Managing Deployed Functions
Terraform Configuration
Troubleshooting
| Symptom | Cause | Fix | |
|---|---|---|---|
PERMISSION_DENIED on deploy | Missing Cloud Build or Artifact Registry perms | Grant roles/cloudbuild.builds.builder to Cloud Build SA | |
| Function deploys but returns 403 | Missing roles/run.invoker for Gen2 | Add --allow-unauthenticated or grant invoker role | |
| Cold start latency > 5s | Large dependencies or no min instances | Set --min-instances=1; reduce deps; use lazy imports | |
| Pub/Sub messages redelivered | Function errors or times out | Increase --timeout; fix error handling; add dead-letter topic | |
Build failed during deploy | Syntax error or missing dependency | Check gcloud builds log; verify requirements.txt | |
| Cannot connect to VPC resource | Function not on VPC connector | Add --vpc-connector=my-connector to deploy |
Related Skills
- gcp-networking - VPC connectors for accessing private resources from functions
- gcp-cloud-sql - Connecting Cloud Functions to managed databases
- terraform-gcp - Deploy Cloud Functions with Infrastructure as Code
- gcp-gke - When workloads outgrow serverless and need Kubernetes
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingagents/.claude/skills/gcp-cloud-functions/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/david-driscoll/dotfiles/gcp-cloud-functions)