gcp-fullstack
by guifav
Coding Agents & IDEsBrief
Full-stack super agent for projects on Google Cloud Platform with GitHub and Cloudflare — covers scaffolding.
Description
What This Skill Does
Full-stack agent for web apps hosted on Google Cloud Platform. Handles service selection, project scaffolding, database setup, authentication, containerized deployment to Cloud Run, and Cloudflare DNS/CDN/security configuration. Supports any modern SSR framework including Next.js, Nuxt, SvelteKit, Remix, and Astro.
Covers the full GCP stack in one agent instead of context-switching between gcloud CLI docs, the Cloudflare dashboard, and the Firebase console.
When to Use It
- Scaffold a new Next.js app on Cloud Run with Firestore from scratch
- Add Firebase Auth with Google login to an existing GCP project
- Configure Cloudflare rate limiting and bot protection for an API
- Set up Prisma with Cloud SQL PostgreSQL and deploy schema migrations
- Create a Cloud Build CI/CD pipeline triggered from a GitHub branch
Example Workflow
User asks: scaffold a Next.js app on Cloud Run with Firestore and Firebase Auth, then deploy to production with a custom domain on Cloudflare
- 1
Checks current directory and verifies gcloud, node, and gh are available and confirms active GCP project
- 2
Creates Next.js project with TypeScript, Tailwind, and standalone output; installs firebase and firebase-admin; generates .env.example
- 3
Creates Dockerfile, Firebase client/admin init files, and a health check route at /api/health
- 4
Builds container with Cloud Build and deploys to Cloud Run; verifies health check endpoint
- 5
Adds Cloudflare CNAME record, sets SSL to Full Strict, enables rate limiting on /api/* routes, and purges cache
Next.js app running on Cloud Run, connected to Firestore, protected by Firebase Auth, served through Cloudflare CDN with HTTPS enforced
Requirements
- Google Cloud account with billing enabled
- GCP_PROJECT_ID environment variable
- GCP_REGION environment variable
- GCP service account JSON key file (GOOGLE_APPLICATION_CREDENTIALS)
- CLOUDFLARE_API_TOKEN environment variable
- CLOUDFLARE_ZONE_ID environment variable
- Firebase project (required for Firebase Auth or Firestore features)
- GitHub account
Installation
clawhub install guifav/gcp-fullstackRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.