# firebase-hosting-basics

> Claude/Codex skill by [@firebase](https://omgskills.com/library/firebase/index.md) · 472 stars · Updated 2026-10-18

Deploys and configures classic Firebase Hosting for static websites, single-page apps (SPAs), and microservices. Use when deploying static sites/SPAs, setting up custom domains, configuring firebase.json hosting settings (redirects, rewrites, headers, multi-site), or managing preview channels. Don't use for Firebase App Hosting (Next.js/SSR), Auth, Firestore queries/rules, Data Connect, or Crashlytics.

## Install

```sh
git clone https://github.com/firebase/agent-skills /tmp/agent-skills && ln -s /tmp/agent-skills/skills/firebase-hosting-basics ~/.claude/skills/firebase-hosting-basics
```

## From README

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

## Links

- HTML page: https://omgskills.com/library/firebase/skills/firebase-hosting-basics/
- GitHub: https://github.com/firebase/agent-skills
- Author: [@firebase](https://omgskills.com/library/firebase/index.md)

## More from this repo

- [extension-to-functions-codebase](https://omgskills.com/library/firebase/agent-skills/skills/extension-to-functions-codebase/index.md) — Skill for converting an installed Firebase Extension (or extension source) into a standalone Cloud Functions for...
   - [@firebase](https://omgskills.com/library/firebase/index.md) · 491 stars
- [firebase-app-hosting-basics](https://omgskills.com/library/firebase/skills/firebase-app-hosting-basics/index.md) — Deploys and manages full-stack web applications (Next.js, Angular) with Server-Side Rendering (SSR) using Firebase App...
   - [@firebase](https://omgskills.com/library/firebase/index.md) · 491 stars
- [firebase-basics](https://omgskills.com/library/firebase/skills/firebase-basics/index.md) — Provides foundational Firebase CLI setup, CLI installation, version checks (\`firebase-tools@latest --version\`), CLI...
   - [@firebase](https://omgskills.com/library/firebase/index.md) · 491 stars
