firebase-hosting-basics

firebase/agent-skills · updated Apr 8, 2026

$npx skills add https://github.com/firebase/agent-skills --skill firebase-hosting-basics
0 commentsdiscussion
summary

Deploy static sites, SPAs, and microservices to a global CDN with zero-config SSL.

  • Supports static sites, single-page apps (React, Vue, etc.), and dynamic content via Cloud Functions or Cloud Run integration
  • Includes preview channels for testing changes on temporary URLs before live deployment, with GitHub Actions automation
  • Configure routing, redirects, rewrites, and headers via firebase.json ; emulate locally at http://localhost:5000 before deploying
  • Not intended for full-stack
skill.md

hosting-basics

This skill provides instructions and references for working with Firebase Hosting, a fast and secure hosting service for your web app, static and dynamic content, and microservices.

Overview

Firebase Hosting provides production-grade web content hosting for developers. With a single command, you can deploy web apps and serve both static and dynamic content to a global CDN (content delivery network).

Key Features:

  • Fast Content Delivery: Files are cached on SSDs at CDN edges around the world.
  • Secure by Default: Zero-configuration SSL is built-in.
  • Preview Channels: View and test changes on temporary preview URLs before deploying live.
  • GitHub Integration: Automate previews and deploys with GitHub Actions.
  • Dynamic Content: Serve dynamic content and microservices using Cloud Functions or Cloud Run.

Hosting vs App Hosting

Choose Firebase Hosting if:

  • You are deploying a static site (HTML/CSS/JS).
  • You are deploying a simple SPA (React, Vue, etc. without SSR).
  • You want full control over the build and deploy process via CLI.

Choose Firebase App Hosting if:

  • You are using a supported full-stack framework like Next.js or Angular.
  • You need Server-Side Rendering (SSR) or ISR.
  • You want an automated "git push to deploy" workflow with zero configuration.

Instructions

1. Configuration (firebase.json)

For details on configuring Hosting behavior, including public directories, redirects, rewrites, and headers, see configuration.md.

2. Deploying

For instructions on deploying your site, using preview channels, and managing releases, see deploying.md.

3. Emulation

To test your app locally:

npx -y firebase-tools@latest emulators:start --only hosting

This serves your app at http://localhost:5000 by default.

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.747 reviews
  • Kabir Dixit· Dec 24, 2024

    Useful defaults in firebase-hosting-basics — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Shikha Mishra· Dec 16, 2024

    Solid pick for teams standardizing on skills: firebase-hosting-basics is focused, and the summary matches what you get after install.

  • Daniel Singh· Dec 12, 2024

    We added firebase-hosting-basics from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Carlos Yang· Nov 27, 2024

    firebase-hosting-basics reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Kabir Sethi· Nov 15, 2024

    firebase-hosting-basics is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Rahul Santra· Nov 7, 2024

    We added firebase-hosting-basics from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Min Gill· Nov 3, 2024

    Solid pick for teams standardizing on skills: firebase-hosting-basics is focused, and the summary matches what you get after install.

  • Pratham Ware· Oct 26, 2024

    firebase-hosting-basics fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Xiao Malhotra· Oct 22, 2024

    firebase-hosting-basics has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Naina Haddad· Oct 18, 2024

    Registry listing for firebase-hosting-basics matched our evaluation — installs cleanly and behaves as described in the markdown.

showing 1-10 of 47

1 / 5