From site-craft-skills
Deploy any static site directory to Google Cloud (Firebase Hosting) using your local CLI. Use this skill whenever the user wants to deploy, host, or publish a static website to GCP/Firebase. Triggers on "deploy this to GCP," "host on Google Cloud," "publish to Firebase," "deploy to GCP/Firebase," or any request to host a local static site on Google infrastructure. Works with single HTML files, multi-file projects, and asset-heavy directories. Requires the Firebase CLI (`firebase-tools`) to be installed and authenticated locally.
How this skill is triggered — by the user, by Claude, or both
Slash command
/site-craft-skills:gcp-deployThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Deploy any static site directory to Google Cloud via Firebase Hosting. Firebase Hosting provides professional-grade static asset hosting with a global CDN and free SSL.
Deploy any static site directory to Google Cloud via Firebase Hosting. Firebase Hosting provides professional-grade static asset hosting with a global CDN and free SSL.
firebase loginFor quick deploys without any account, use vercel-deploy instead. For AWS-native workflows with CloudFormation teardown, use aws-deploy.
The user provides a path to a directory containing static files. If they don't specify one, look for the most recently generated project.
The directory must contain an index.html at the root. If there's a single .html file with a different name, the deploy script will rename it automatically.
The skill requires the Firebase CLI to be installed and authenticated. The deploy script auto-installs firebase-tools via npm if missing, but the user must be logged in.
If the script reports an authentication error, tell the user to run firebase login.
Run the deploy script:
bash <skill-path>/scripts/deploy.sh <directory> [project-id]
The project-id is required on the first deploy if no .firebaserc exists in the directory. The user can find available projects with firebase projects:list.
The script:
index.html existsfirebase.json and .firebaserc if missing (cleans them up on failure)firebase deploy --only hostinghostingUrl and projectIdTell the user:
https://your-project.web.app)If the deploy fails, check:
firebase login)?project-id valid and does the user have permissions?index.html present?firebase-tools)?To remove a deployment and stop hosting:
firebase hosting:disable --project <project-id>
To delete the Firebase project entirely, use the Firebase Console.
npx claudepluginhub cyranob/site-craft-skills --plugin gcp-deployDeploys static web apps, SPAs, and simple microservices to Firebase Hosting. Configures firebase.json, deploys with CLI, and runs local emulation.
Guides secure deployments to Google Cloud Storage (static apps), Cloud Run, or GKE (dynamic/container apps) after analyzing app type via package.json and enforcing secret scanning.
Deploys projects to Vercel as preview deployments, linking the project with git integration. Handles team selection and detects project state.