DuoMDuoM
DuoM: MCP servers, skills and rules for your agent, checked before installContact: studo.doum@gmail.comDocsFor makersReportTermsPrivacy
MCPSkillsStacksRulesDocs
Sign in

Firebase Hosting BasicsSkill

@2651897
by firebaseRepository ↗ReportSkill folder ↗

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.

Original work byfirebaseingithub.com/firebase/agent-skills ↗· Apache-2.0. DuoM only lists and checks it; installs copy the license with it.
Cloud & infraLicense: Apache-2.0Repo ★ 5343 filesUpdated 2 days agoskill/firebase/agent-skills/firebase-hosting-basics

Install

Run in your project folder (DuoM CLI: risk check, then write; undo with npx duom@1 undo)
npx duom@1 add skill/firebase/agent-skills/firebase-hosting-basics --client claude-code

Writes to .claude/skills/firebase-hosting-basics/ in your project (where Claude Code reads it). Add --global to install it for every project (~/.claude/skills). The license file comes with it.

Manual: copy the folder from GitHub (pinned commit) into .claude/skills/firebase-hosting-basics/, with the repository's LICENSE.

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.

References

Files (3)
  • SKILL.md
  • references/configuration.md
  • references/deploying.md
  • Firebase Hosting Official Documentation
    • Documentation index (llms.txt): Use your web-fetching tooling to read https://firebase.google.com/docs/hosting/llms.txt.
    • Markdown versions of each page (*.md): Append .md to any documentation page URL to retrieve clean Markdown (for example, https://firebase.google.com/docs/hosting/quickstart.md).
  • Risk signals No signals

    DuoM read every file of this skill for hidden text, instructions to send secrets out, and code downloaded and run. No signals does not mean safe: read what the skill tells the agent to do.