12 chapters · 25 min
Skills
Chapter 9 of 12
Deploys and configures classic Firebase Hosting for static websites, single-page apps (SPAs), and microservices.
1 minute · 247 words · 7 sections
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.
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:
Choose Firebase Hosting if:
Choose Firebase App Hosting if:
firebase.json)For details on configuring Hosting behavior, including public directories, redirects, rewrites, and headers, see configuration.md (opens in a new tab).
For instructions on deploying your site, using preview channels, and managing releases, see deploying.md (opens in a new tab).
To test your app locally:
npx -y firebase-tools@latest emulators:start --only hostingThis serves your app at http://localhost:5000 by default.
Install this repository
npx skills add firebase/agent-skills/plugin marketplace add firebase/agent-skillsSkills install per repository, not per chapter — the CLI has no documented per-skill form, so we do not print one.
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.
The verbatim description from this skill’s front matter — the string an agent matches on to decide whether to load it.
main, last pushed 6 August 2026.SKILL.md, not by matching a directory convention. One layout observed: skills/*/SKILL.md.h1 and no skipped levels:.claude-plugin/marketplace.json by Firebase, declaring 1 plugin. It is read for editorial metadata only — never as the skill index, which is always the repository tree./firebase/agent-skills.md, and each chapter at its own .md URL.2 files · 3 KB
Everything this skill ships beside its prose. All of it is set here, as subchapters of chapter 9.
Documentation the agent loads on demand, rather than up front.