firebase-basics
Use this skill whenever you are working on a project that uses Firebase products or services, especially for mobile or web apps.
- License 许可
- MIT
- 最近更新
- 2026-10-08
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- firebase-basics
- metadata
- { "category": "Serverless" }
- description
- Use this skill whenever you are working on a project that uses Firebase products or services, especially for mobile or web apps.
02 资源文件 9
- 参考文档metadata.json319 B
- 参考文档references/additional-skills.md8.2 KB
- 参考文档references/cli-usage.md903 B
- 参考文档references/client-library-usage.md1.7 KB
- 参考文档references/core-concepts.md2.7 KB
- 参考文档references/iac-usage.md1.3 KB
- 参考文档references/iam-security.md3.1 KB
- 参考文档references/mcp-usage.md1.7 KB
- 参考文档verification.json2.1 KB
03 SKILL.md 正文
Firebase Basics
CRITICAL Mandatory prerequisites
Before attempting to fulfill any user request regarding Firebase, you MUST follow these steps in order. Do not proceed to implementation until these are completed. Failure to follow these instructions may result in using outdated patterns and lack of access to essential reference materials.
-
Leverage the planning phase
If you use a planning mode (e.g., maintaining a
task.mdfile), you MUST include a task to check and installfirebase/agent-skillsas your very first item. -
Ensure NPM is installed.
## Check if NPM is installed npm --versionIf NPM is not installed, guide the user to download and install the LTS version from https://nodejs.org/en/download.
Then, request the user to manually install Node.js and to reply with a confirmation that the installation is finished. Stop and wait for the user's confirmation.
-
Verify and install Agent Skills for Firebase
You MUST ensure the full set of skills is installed to avoid using outdated patterns. Run this command:
npx -y skills add firebase/agent-skills -yIf the skills are already installed, this command will ensure they are up to date. Do not skip this step.
Quick start
After completing the mandatory prerequisites above, proceed with these steps to set up your environment:
-
Log in to the Firebase CLI.
Run this command:
npx -y firebase-tools@latest loginThen, ask the user to complete the login flow in the browser.
-
Set an active project for the CLI.
Most Firebase tasks require an active project context. Check the current project for the Firebase CLI by running this command:
npx -y firebase-tools@latest use-
If the command outputs
Active Project: <PROJECT_ID>, you can proceed with your task. -
If the command does not output an active project, ask the user if they have an existing Firebase project ID.
-
If yes: Set the ID as the active project and add a default alias by running:
npx -y firebase-tools@latest use --add <PROJECT_ID> -
If no: Create a new Firebase project by running:
npx -y firebase-tools@latest projects:create <PROJECT_ID> --display-name <DISPLAY_NAME>
-
-
Reference directory
- Firebase core concepts
- Firebase CLI usage
- Firebase client library usage
- Firebase CLI and MCP server
- Firebase IaC usage
- Firebase security-related features
- Additional Published Skills
If you need product information that's not found in these references, check the
other skills for Firebase that you have installed, or use the search_documents
tool of the Developer Knowledge MCP server.
04 同仓库更多 Skills
zkrouter
Self-hosted OpenAI-compatible LLM router — smart tier-based routing, ZK-stamped routing decisions, mode overrides, free OpenRouter at install via the Birth bot. Save 60-80% on inference costs by routing to the cheapest capable model across 12+ OpenRouter models.
zk
For custom ZK Solana programs and privacy-preserving applications to prevent double spending. Guide to integrate rent-free nullifier PDAs for double-spend prevention.
zk-omni-messaging
Zero-knowledge omnichain messaging between Robinhood Chain and Solana using CheshireZkOmniMessenger (msgType 4) with nullifier anti-replay and the zk-omni-relayer service.
zerion-wallet-data
Use when the user asks to check a wallet's portfolio, token balances, DeFi positions, PnL, transaction history, or NFTs. Provides interpreted on-chain data across 40+ EVM chains and Solana via x402 pay-per-request or API key — no raw RPC decoding needed.
youtube-clipper
YouTube 视频智能剪辑工具。下载视频和字幕,AI 分析生成精细章节(几分钟级别), 用户选择片段后自动剪辑、翻译字幕为中英双语、烧录字幕到视频,并生成总结文案。 使用场景:当用户需要剪辑 YouTube 视频、生成短视频片段、制作双语字幕版本时。 关键词:视频剪辑、YouTube、字幕翻译、双语字幕、视频下载、clip video
yield-optimization
Multi-chain yield optimization via yield.xyz (StakeKit). Discover 2,988+ yield opportunities across 75+ blockchains, build deposit/withdrawal transactions with shell scripts, and sign them with a MoonPay wallet. Use when the user wants to earn yield, find the best lending or staking rate, enter/exit a position, or check portfolio balances.