做什么
使用 Firebase App Hosting 安装和管理全存储的网络应用程序(Next.js, Angular)
技能库 智客分类:运维与云 firebase-app-hosting-basics
通过使用Firebase App Hosting的Server-Side Rendering(SSR)来部署和管理全存储网络应用程序(Next.js, Angular). 在部署 Next.js/ Angular apps 时使用, 配置默认 。 雅姆尔或火炉。 json 默认块, 管理秘密, 设置 GitHub CI/CD, 或配置 Blaze 计费要求 。 不要用于经典的静态网络托管, Auth, Firestore, Crashlytics, 或 Xcode.
官方网址:skills.sh
先看中文介绍;官方 description 原文单独保留,不改写 SKILL.md。
使用 Firebase App Hosting 安装和管理全存储的网络应用程序(Next.js, Angular)
部署 Next.js/Angular apps, 配置默认 。 Yaml 或 firebase.json 接受屏蔽,管理秘密,设置 GitHub CI/CD,或配置"烈火"计费要求. 不要用于经典的静态网络托管, Auth, Firestore, Crashlytics, 或 Xcode
按 Agent Skills 渐进披露:启动时只加载 name 与 description(约 100 token);任务匹配后才读入整份 SKILL.md 正文;scripts/、references/、assets/ 仅在需要时再读。 本文件正文结构:App Hosting Basics、Description、Hosting vs App Hosting、Deploying to App Hosting、Deploy from Source、Automated deployment via GitHub (CI/CD)。
文件分析:除 SKILL.md 外,正文引用了 references/configuration.md、references/cli_commands.md、references/emulation.md,属于带资源的技能包,这些文件按需再读。
Deploys and manages full-stack web applications (Next.js, Angular) with Server-Side Rendering (SSR) using Firebase App Hosting. Use when deploying Next.js/Angular apps, configuring apphosting.yaml or firebase.json apphosting blocks, managing secrets, setting up GitHub CI/CD, or configuring Blaze billing requirements. Don't use for classic static web hosting, Auth, Firestore, Crashlytics, or Xcode.
App Hosting BasicsDescriptionHosting vs App HostingDeploying to App HostingDeploy from SourceAutomated deployment via GitHub (CI/CD)Emulation
来源分类:skills.sh agent-skill
namefirebase-app-hosting-basicsdescriptionreferences/configuration.mdreferences/cli_commands.mdreferences/emulation.md以下路径提取自原文;文件是否齐全请以来源仓库中的完整目录为准。
具体调用语法与可用工具以目标 Agent 客户端为准。 查看调用机制说明 ↗
先选择目标 Agent 和安装范围,保留技能包的附属文件,安装后检查客户端能否发现该技能。
该技能引用了附属文件,请从来源获取完整目录;仅复制 SKILL.md 可能缺少依赖。
复制安装指令给支持 Agent Skills 的代理,确认其中的目标目录与客户端匹配。
把 Agent Skill「firebase-app-hosting-basics」安装到我的项目:SKILL.md 原文与官方 description 见 https://zicq.com/zh/skills/skl-07da5e9e7ea165da-Firebase-App-%E6%89%98%E7%AE%A1%E5%9F%BA%E6%9C%AC%E5%86%85%E5%AE%B9.html 请存为 .cursor/skills/firebase-app-hosting-basics/SKILL.md 或 .claude/skills/firebase-app-hosting-basics/SKILL.md,frontmatter 的 name 与 description 保持原样,不要改写。 该技能还带 scripts/、references/、assets/ 等文件,请从 https://github.com/firebase/agent-skills 取完整目录,不要只建一个 SKILL.md。
需要 Node.js 与 npx。先查看仓库技能列表,确认实际名称。
npx skills add 'https://github.com/firebase/agent-skills' --list
npx skills add 'https://github.com/firebase/agent-skills' --skill 'firebase-app-hosting-basics'
CLI 会交互选择目标 Agent,默认安装到项目;用户级安装使用 -g。先通过查看命令核对仓库内容,再用 npx skills list 检查已安装技能。
This skill enables the agent to deploy and manage modern, full-stack web applications (Next.js, Angular, etc.) using Firebase App Hosting.
Important: In order to use App Hosting, your Firebase project must be on the Blaze pricing plan. Direct the user to https://console.firebase.google.com/project/_/overview?purchaseBillingPlan=metered to upgrade their plan.
Choose Firebase Hosting if:
Choose Firebase App Hosting if:
This is the recommended flow for most users.
Configure firebase.json with an apphosting block.
{
"apphosting": {
"backendId": "my-app-id",
"rootDir": "/",
"ignore": [
"node_modules",
".git",
"firebase-debug.log",
"firebase-debug.*.log",
"functions"
]
}
}
Create or edit apphosting.yaml- see
Configuration for more information on how to
do so.
If the app needs safe access to sensitive keys, use
npx -y firebase-tools@latest apphosting:secrets commands to set and grant
access to secrets.
Run npx -y firebase-tools@latest deploy when you are ready to deploy.
Alternatively, set up a backend connected to a GitHub repository for automated deployments "git push" deployments. This is only recommended for more advanced users, and is not required to use App Hosting. See CLI Commands for more information on how to set this up using CLI commands.
See Emulation for more information on how to test your app locally using the Firebase Local Emulator Suite.
运维与云
用于容器管理,图像操作,调试的基本道克命令和工作流程.
运维与云
从开放的代理技能生态系统中发现并安装技能. 使用时:(1)用户问"我如何做X",X可能拥有现有技能,(2)用户说"为X找到技能"或"是否为X有技能",(3)用户问"你能否做X",X是专门能力,(4)用户想扩展代理能力,(5)用户想搜索工具,模板,或工作流程,(6)用户提到他们希望…
运维与云
构建,部署,评价,优化,微调,管理微软创始代理,模型,资源最终结束. 用法:铸造、azd ai代理、azd 提供/部署、托管代理脚手架/开发/运行/部署/拖放、即时代理创建、创建代理、更新代理、添加代理工具、援引代理、代理.yaml、评估代理、批量活化、连续活化、持续监测、代理C…
运维与云
执行已有.azure/部署计划.md和基础设施文件的ALREADY-PREPARED应用程序的Azure部署。 当用户向 CREATE 请求新应用程序时, 请不要使用此技能 。 这种技能运行了 azd上行, azd 部署, trarraform 应用, 和 az 部署命令带有内置…