Agentskillz Logo

firebase/agent-skills / firebase-hosting-basics

firebase-hosting-basics

Установки
137,525
Автор
firebase/agent-skills

Скилл для работы с классическим Firebase Hosting: развёртывание статических сайтов и SPA, настройка конфигурации (редиректы, перезаписи, заголовки, мультисайты), подключение кастомных доменов и управление предпросмотровыми каналами. Полезен, когда нужен быстрый деплой на CDN с SSL без настройки серверов. Не подходит для App Hosting и SSR-фреймворков.

Установить скилл

npx skills add https://github.com/firebase/agent-skills --skill firebase-hosting-basics

Аудит безопасности

Gen Agent Trust Hub

pass

The skill provides safe documentation and examples for configuring and deploying to Firebase Hosting using the official Firebase CLI. It contains no malicious code, obfuscation, or data exfiltration.

Audited: 3/11/2026, 12:58:32 PM

Socket

pass

No alerts

Audited: 3/18/2026, 4:49:15 PM

Snyk

pass

Risk: LOW · No issues

Audited: 3/11/2026, 12:58:21 PM

Runlayer

warn

2/3 files flagged

Audited: 3/11/2026, 12:58:27 PM

ZeroLeaks

pass

Score: 93/100 · 2 sections analyzed

Audited: 4/16/2026, 5:12:22 PM

Промпт скилла

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.

Все файлы скилла

Другие скиллы автора

firebase-basics

142,009 установок

firebase/agent-skills

Обеспечивает базовую настройку Firebase CLI: установку, проверку версии, вход в аккаунт, создание и выбор проекта, а также автоматическую загрузку конфигурационных файлов приложений (google-services.json, GoogleService-Info.plist). Полезен для начальной подготовки окружения Firebase перед работой с другими сервисами.

firebase-auth-basics

140,970 установок

firebase/agent-skills

Помогает настроить аутентификацию Firebase: вход по email, Google, телефону и другим провайдерам, управление пользователями и токенами. Объясняет, как включить провайдеров через CLI или консоль, подключить SDK для Web, Flutter и Android, а также защитить данные с помощью security rules.

firebase-app-hosting-basics

137,045 установок

firebase/agent-skills

Этот навык помогает разворачивать и управлять full-stack приложениями на Firebase App Hosting, включая Next.js и Angular. Он охватывает настройку конфигурации, работу с секретами и автоматическое развертывание через GitHub. Подходит для тех, кто хочет быстро запустить современные веб-приложения с серверным рендерингом.

firebase-data-connect

136,255 установок

firebase/agent-skills

Скилл для работы с Firebase Data Connect (SQL Connect): создание схем, запросов и мутаций, генерация SDK, локальная разработка и деплой в Cloud SQL.