firebase-local-env-setup by firebase/skills
npx skills add https://github.com/firebase/skills --skill firebase-local-env-setup此技能记录了为智能体提供完整 Firebase 体验所需的最低配置。在开始使用任何 Firebase 功能之前,您必须验证以下每个步骤是否已完成。
操作:运行 node --version。
处理:确保 Node.js 已安装且版本 >= 20。如果 Node.js 缺失或版本 < v20,请根据操作系统进行安装:
推荐:使用 Node 版本管理器 这可以避免安装全局包时的权限问题。
对于 macOS 或 Linux:
1. 引导用户访问 [官方 nvm 仓库](https://github.com/nvm-sh/nvm#installing-and-updating)。
2. 请求用户手动安装 `nvm`,并在完成后回复。**停止并等待**用户的确认。
3. 通过加载相应的配置文件,使 `nvm` 在当前终端会话中可用:
# 对于 Bash
source ~/.bash_profile
source ~/.bashrc
# 对于 Zsh
source ~/.zprofile
source ~/.zshrc
4. 安装 Node.js:
nvm install 24
nvm use 24
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
对于 Windows:
1. 引导用户下载并安装 [nvm-windows](https://github.com/coreybutler/nvm-windows/releases)。
2. 请求用户手动安装 `nvm-windows` 和 Node.js,并在完成后回复。**停止并等待**用户的确认。
3. 用户确认后,验证 Node.js 是否可用:
node --version
备选方案:官方安装程序
1. 引导用户从 [nodejs.org](https://nodejs.org/en/download) 下载并安装 LTS 版本。
2. 请求用户手动安装 Node.js,并在完成后回复。**停止并等待**用户的确认。
Firebase CLI 是与 Firebase 服务交互的主要工具。
npx -y firebase-tools@latest --version。您必须经过身份验证才能管理 Firebase 项目。
npx -y firebase-tools@latest login。npx -y firebase-tools@latest login --no-localhost。为了完全管理 Firebase,智能体需要安装特定的技能和 Firebase MCP 服务器。请识别您当前运行的智能体环境,并严格按照相应的设置文档操作。
阅读您当前智能体的设置文档:
关键智能体规则: 在成功验证并完成上述所有步骤之前,请勿继续任何其他 Firebase 任务。
每周安装次数
102
仓库
GitHub 星标数
182
首次出现
13 天前
安全审计
安装于
codex101
opencode100
gemini-cli99
github-copilot99
cursor98
amp98
This skill documents the bare minimum setup required for a full Firebase experience for the agent. Before starting to use any Firebase features, you MUST verify that each of the following steps has been completed.
Action : Run node --version.
Handling : Ensure Node.js is installed and the version is >= 20. If Node.js is missing or < v20, install it based on the operating system:
Recommended: Use a Node Version Manager This avoids permission issues when installing global packages.
For macOS or Linux:
1. Guide the user to the [official nvm repository](https://github.com/nvm-sh/nvm#installing-and-updating).
2. Request the user to manually install `nvm` and reply when finished. **Stop and wait** for the user's confirmation.
3. Make `nvm` available in the current terminal session by sourcing the appropriate profile:
# For Bash
source ~/.bash_profile
source ~/.bashrc
# For Zsh
source ~/.zprofile
source ~/.zshrc
4. Install Node.js:
nvm install 24
nvm use 24
For Windows:
1. Guide the user to download and install [nvm-windows](https://github.com/coreybutler/nvm-windows/releases).
2. Request the user to manually install `nvm-windows` and Node.js, and reply when finished. **Stop and wait** for the user's confirmation.
3. After the user confirms, verify Node.js is available:
node --version
Alternative: Official Installer
1. Guide the user to download and install the LTS version from [nodejs.org](https://nodejs.org/en/download).
2. Request the user to manually install Node.js and reply when finished. **Stop and wait** for the user's confirmation.
The Firebase CLI is the primary tool for interacting with Firebase services.
npx -y firebase-tools@latest --version.You must be authenticated to manage Firebase projects.
npx -y firebase-tools@latest login.npx -y firebase-tools@latest login --no-localhost instead.To fully manage Firebase, the agent needs specific skills and the Firebase MCP server installed. Identify the agent environment you are currently running in and follow the corresponding setup document strictly.
Read the setup document for your current agent:
CRITICAL AGENT RULE: Do NOT proceed with any other Firebase tasks until EVERY step above has been successfully verified and completed.
Weekly Installs
102
Repository
GitHub Stars
182
First Seen
13 days ago
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
codex101
opencode100
gemini-cli99
github-copilot99
cursor98
amp98
Azure Data Explorer (Kusto) 查询技能:KQL数据分析、日志遥测与时间序列处理
138,800 周安装