Skill · em Construir backend e dados

firebase-hosting-basics

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

Procedência

Antes de instalar

3 arquivos · 5,3 KB · só texto, nenhum script

Instalar na sua CLI

O comando baixa a versão fixada (commit c2630ec) direto da origem, para a pasta que a CLI lê. Precisa de curl (macOS e Linux); no Windows não há comando, porque o Rook Labs é para macOS.

Claude Code

Neste projeto: instala em .claude/skills/firebase-hosting-basics/.

d=".claude/skills/firebase-hosting-basics"
u="https://raw.githubusercontent.com/firebase/agent-skills/c2630ec5c7a3f5bb31ddf89f8baa9eb883f8d715/skills/firebase-hosting-basics"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/references/configuration.md" "$u/references/configuration.md" \
  -o "$d/references/deploying.md" "$u/references/deploying.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/firebase/agent-skills/c2630ec5c7a3f5bb31ddf89f8baa9eb883f8d715/LICENSE"

Global: instala em ~/.claude/skills/firebase-hosting-basics/.

d="$HOME/.claude/skills/firebase-hosting-basics"
u="https://raw.githubusercontent.com/firebase/agent-skills/c2630ec5c7a3f5bb31ddf89f8baa9eb883f8d715/skills/firebase-hosting-basics"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/references/configuration.md" "$u/references/configuration.md" \
  -o "$d/references/deploying.md" "$u/references/deploying.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/firebase/agent-skills/c2630ec5c7a3f5bb31ddf89f8baa9eb883f8d715/LICENSE"

Codex

Neste projeto: instala em .agents/skills/firebase-hosting-basics/.

d=".agents/skills/firebase-hosting-basics"
u="https://raw.githubusercontent.com/firebase/agent-skills/c2630ec5c7a3f5bb31ddf89f8baa9eb883f8d715/skills/firebase-hosting-basics"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/references/configuration.md" "$u/references/configuration.md" \
  -o "$d/references/deploying.md" "$u/references/deploying.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/firebase/agent-skills/c2630ec5c7a3f5bb31ddf89f8baa9eb883f8d715/LICENSE"

Global: instala em ~/.agents/skills/firebase-hosting-basics/.

d="$HOME/.agents/skills/firebase-hosting-basics"
u="https://raw.githubusercontent.com/firebase/agent-skills/c2630ec5c7a3f5bb31ddf89f8baa9eb883f8d715/skills/firebase-hosting-basics"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/references/configuration.md" "$u/references/configuration.md" \
  -o "$d/references/deploying.md" "$u/references/deploying.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/firebase/agent-skills/c2630ec5c7a3f5bb31ddf89f8baa9eb883f8d715/LICENSE"

Antigravity

Neste projeto: instala em .agents/skills/firebase-hosting-basics/.

d=".agents/skills/firebase-hosting-basics"
u="https://raw.githubusercontent.com/firebase/agent-skills/c2630ec5c7a3f5bb31ddf89f8baa9eb883f8d715/skills/firebase-hosting-basics"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/references/configuration.md" "$u/references/configuration.md" \
  -o "$d/references/deploying.md" "$u/references/deploying.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/firebase/agent-skills/c2630ec5c7a3f5bb31ddf89f8baa9eb883f8d715/LICENSE"

Global: instala em ~/.gemini/antigravity-cli/skills/firebase-hosting-basics/.

d="$HOME/.gemini/antigravity-cli/skills/firebase-hosting-basics"
u="https://raw.githubusercontent.com/firebase/agent-skills/c2630ec5c7a3f5bb31ddf89f8baa9eb883f8d715/skills/firebase-hosting-basics"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/references/configuration.md" "$u/references/configuration.md" \
  -o "$d/references/deploying.md" "$u/references/deploying.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/firebase/agent-skills/c2630ec5c7a3f5bb31ddf89f8baa9eb883f8d715/LICENSE"

Peça ao Rook

Já usa o Rook Labs? Cole no chat do Rook: instale a skill https://rooklabs.sh/marketplace/firebase.agent-skills.firebase-hosting-basics

Prévia do SKILL.md

---
name: firebase-hosting-basics
description: >-
  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 …
metadata:
  category: Serverless
---

# 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:**
…

Ver todo o marketplace