跳到正文
TakoAPI
返回技能列表

gcp-fullstack

由 guifav 提供

Coding Agents & IDEs
450下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Full-stack super agent for projects on Google Cloud Platform with GitHub and Cloudflare — covers scaffolding.

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

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. 1

    Checks current directory and verifies gcloud, node, and gh are available and confirms active GCP project

  2. 2

    Creates Next.js project with TypeScript, Tailwind, and standalone output; installs firebase and firebase-admin; generates .env.example

  3. 3

    Creates Dockerfile, Firebase client/admin init files, and a health check route at /api/health

  4. 4

    Builds container with Cloud Build and deploys to Cloud Run; verifies health check endpoint

  5. 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

前置要求

  • 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

安装

clawhub install guifav/gcp-fullstack

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接