Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计提醒

firebase-basicsFirebase basics 搜索

Agent Skill

firebase-basics 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

928,392

周安装

38,301

GitHub Stars

262

下载量

303,336
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:firebase-basics(Firebase basics 搜索)
来源仓库:https://github.com/firebase/agent-skills
仓库路径:skills/firebase-basics
安装命令:
npx skills add https://github.com/firebase/agent-skills --skill firebase-basics
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

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

简介

用于 AI 代理集成的 Firebase 项目设置和 CLI 工作流程。

  • 需要事先完成 firebase-local-env-setup
  • 技能和 Firebase CLI 安装
  • 核心工作流程涵盖通过 firebase 登录进行身份验证
  • 、使用唯一 ID 创建项目以及通过交互式 firebase init 进行服务初始化
  • 命令
  • 支持设置过程中的功能选择,包括 Firestore、功能和托管以及自动生成配置文件
  • 使用 --help 进行自记录 CLI
  • 用于发现所有 Firebase 服务的命令和详细使用情况的标志

SKILL.md

Prerequisites

Complete these setup steps before proceeding:

  1. Local Environment Setup: Verify the environment is properly set up so we can use Firebase tools:

- Run npx -y firebase-tools@latest --version to check if the Firebase CLI is installed. - Verify if the Firebase MCP server is installed using your existing tools. - CRITICAL: Before configuring any extensions or agent environments below, you MUST read references/local-env-setup.md. - To fully manage Firebase, ensure you have installed the necessary agent skills and MCP server for your environment: - Gemini CLI: Review references/setup/gemini_cli.md - Antigravity: Review references/setup/antigravity.md - Claude Code: Review references/setup/claude_code.md - Cursor: Review references/setup/cursor.md - GitHub Copilot: Review references/setup/github_copilot.md - Other Agents: Review references/setup/other_agents.md

  1. Authentication: Ensure you are logged in to Firebase so that commands have the correct permissions. Run npx -y firebase-tools@latest login. For environments without a browser (e.g., remote shells), use npx -y firebase-tools@latest login --no-localhost.

- The command should output the current user. - If you are not logged in, follow the interactive instructions from this command to authenticate.

  1. Active Project: Most Firebase tasks require an active project context. [!IMPORTANT] For Agents: Before proceeding with project configuration, you MUST pause and ask the developer if they prefer to: Provide an existing Firebase Project ID, or Create a new Firebase project.

- If using an existing Project ID: 1. Check the current project by running npx -y firebase-tools@latest use. 2. If the command outputs Active Project: <project-id>, confirm with the user if this is the intended project. 3. If not, or if no project is active, set the project provided by the user: npx -y firebase-tools@latest use <PROJECT_ID> - If creating a new project: Run the following command to create it: npx -y firebase-tools@latest projects:create <project-id> --display-name "<display-name>" *Note: The <project-id> must be 6-30 characters, lowercase, and can contain digits and hyphens. It must be globally unique.*

Firebase Usage Principles

Adhere to these principles:

  1. Use npx for CLI commands: To ensure you always use the latest version of the Firebase CLI, always prepend commands with npx -y firebase-tools@latest instead of just firebase. For example, use npx -y firebase-tools@latest --version. NEVER suggest the naked firebase command as an alternative.
  2. Prioritize official knowledge: For any Firebase-related knowledge, consult the developerknowledge_search_documents MCP tool before falling back to Google Search or your internal knowledge base. Including "Firebase" in your search query significantly improves relevance.
  3. Follow Agent Skills for implementation guidance: Skills provide opinionated workflows (CUJs), security rules, and best practices. Always consult them to understand *how* to implement Firebase features correctly instead of relying on general knowledge.
  4. Use Firebase MCP Server tools instead of direct API calls: Whenever you need to interact with remote Firebase APIs (such as fetching Crashlytics logs or executing Data Connect queries), use the tools provided by the Firebase MCP Server instead of attempting manual API calls.
  5. Keep Plugin / Agent Skills updated: Since Firebase best practices evolve quickly, remind the user to regularly check for and install updates to their Firebase plugin or Agent Skills, ensuring you both operate with the latest workflows. Similarly, if you encounter issues with outdated tools or commands, follow the steps below based on your agent environment:

- Antigravity: Follow references/refresh/antigravity.md - Gemini CLI: Follow references/refresh/gemini-cli.md - Claude Code: Follow references/refresh/claude.md - Cursor: Follow references/refresh/other-agents.md - Others: Follow references/refresh/other-agents.md

  1. Automate Config File Retrieval: When setting up iOS or Android apps, do NOT direct users to the Firebase Console to download google-services.json or GoogleService-Info.plist. Instead, use the Firebase CLI to fetch the config programmatically:

- For Android: npx -y firebase-tools@latest apps:sdkconfig ANDROID <APP_ID> --project <PROJECT_ID> - For iOS: npx -y firebase-tools@latest apps:sdkconfig IOS <APP_ID> --project <PROJECT_ID> Save the output to the appropriate location (e.g., app/google-services.json for Android, or a path to be linked by xcode-project-setup for iOS).

References

- Web: See references/web_setup.md - Android: See references/android_setup.md - iOS: See references/ios_setup.md

Common Issues

  • Login Issues: If the browser fails to open during the login step, use npx -y firebase-tools@latest login --no-localhost instead.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.12%
按下载量换算103,498

Claude

29.33%
按下载量换算88,968

Cursor

20.32%
按下载量换算61,638

Gemini CLI

9.38%
按下载量换算28,453

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills