gcp-patterns

Provide GCP serverless and event-driven architecture patterns with Terraform code.

2|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/atstaeff/ai-agents --skill gcp-patterns
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: gcp-patterns
Source: https://github.com/atstaeff/ai-agents/tree/main/skills/gcp-patterns
Command: npx skills add https://github.com/atstaeff/ai-agents --skill gcp-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides guidance and code examples for implementing robust, scalable, and cost-effective serverless and event-driven architectures on Google Cloud Platform.

Core Features & Use Cases

  • Serverless API Development: Implement APIs using Cloud Run with FastAPI.
  • Event-Driven Processing: Design Pub/Sub-triggered Cloud Functions for reliable message handling.
  • Data Pipelines: Build BigQuery ingestion pipelines for analytics.
  • Infrastructure as Code: Utilize Terraform modules for repeatable GCP resource deployment.
  • Security & Cost Optimization: Apply best practices for secure and economical cloud deployments.

Quick Start

Use the gcp-patterns skill to generate a Terraform module for a Pub/Sub topic with a dead-letter queue.

Frequently Asked Questions about gcp-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build an event-driven architecture on Google Cloud Platform?▼

Build an event-driven architecture on Google Cloud Platform by using Pub/Sub to trigger Cloud Functions for message processing, utilizing Cloud Run for serverless APIs, and implementing dead-letter queues for reliable delivery.

What's the best way to deploy serverless APIs on Cloud Run with Terraform?▼

Deploy serverless APIs on Cloud Run using Terraform modules to provision repeatable infrastructure, applying best practices for security layers and cost optimization alongside FastAPI service implementations.

How does Pub/Sub message processing work with Cloud Functions?▼

Pub/Sub message processing with Cloud Functions works by triggering functions automatically when messages are published to a topic, enabling reliable event-driven microservices and asynchronous task execution.

Can I use Terraform to create a BigQuery data pipeline?▼

Yes, you can use Terraform to provision BigQuery ingestion pipelines for analytics, deploying the necessary data infrastructure as code while applying cost optimization and security best practices.

When should I add a dead-letter queue to my Pub/Sub topic?▼

Add a dead-letter queue to your Pub/Sub topic when processing event-driven messages that require reliable delivery, ensuring failed messages are captured for retry rather than lost during Cloud Functions execution.