
Firebase Hosting Basics
Handles Firebase Hosting deployment for static sites and SPAs. Walks you through firebase.json configuration for redirects, rewrites, and headers, plus deployment commands and preview channels. The skill clearly distinguishes between classic Hosting and the newer App Hosting, which trips up a lot of people. It covers local emulation setup and gives you the exact CLI commands for testing and deployment. Good for straightforward static deployments where you want control over the build process, but skip it if you need SSR or full-stack framework features.
- skills.sh installs
- 177.5K
- GitHub stars
- 508
- last updated
- Aug 21, 2026
Install
$ npx -y skills add firebase/agent-skills --skill firebase-hosting-basics --agent claude-codeInstalls into .claude/skills of the current project.
Files
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:
Sponsors
Details
- Repository
- github.com/firebase/agent-skills
- Categories
- Frontend Development, Backend & APIs, AI & Agent Building, Databases
More from firebase/agent-skills
All 23- Firebase App Hosting Basics176.9K
- Firebase Data Connect175.9K
- Firebase Security Rules Auditor146.2K
- Firebase Ai Logic Basics142.9K
- Firebase Firestore142.8K
- Firebase Crashlytics138.9K
- Xcode Project Setup137.9K
- Firebase Remote Config Basics128.4K
- Extension To Functions Codebase63.5K
- Developing Genkit Js62.5K
- Developing Genkit Dart62.2K
- Developing Genkit Go49.5K
- Firebase Firestore Standard37K
- Firebase Firestore Enterprise Native Mode36K
- Firebase Ai Logic34.5K
- Developing Genkit Python33.6K
- Firestore Security Rules Auditor20.4K
- Firebase Local Env Setup5.1K
- Firebase Firestore Basics1.6K
- Firebase Data Connect
- Firebase Basics183.3K
- Firebase Auth Basics182.2K