Agent Skillsgoogle/skills › firebase-basics

firebase-basics

GitHub

用于处理 Firebase 项目的基础技能。强制要求先安装 agent-skills 和配置 CLI,支持登录、项目选择及创建,并引用核心概念、CLI、安全等文档以指导开发。

skills/cloud/firebase-basics/SKILL.md google/skills

Trigger Scenarios

用户提及使用 Firebase 产品或服务 涉及移动或 Web 应用的 Firebase 集成任务

Install

npx skills add google/skills --skill firebase-basics -g -y
More Options

Non-standard path

npx skills add https://github.com/google/skills/tree/main/skills/cloud/firebase-basics -g -y

Use without installing

npx skills use google/skills@firebase-basics

指定 Agent (Claude Code)

npx skills add google/skills --skill firebase-basics -a claude-code -g -y

安装 repo 全部 skill

npx skills add google/skills --all -g -y

预览 repo 内 skill

npx skills add google/skills --list

SKILL.md

Frontmatter
{
    "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."
}

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.

  1. Leverage the planning phase

    If you use a planning mode (e.g., maintaining a task.md file), you MUST include a task to check and install firebase/agent-skills as your very first item.

  2. Ensure NPM is installed.

    ## Check if NPM is installed
    npm --version
    

    If 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.

  3. 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 -y
    

    If 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:

  1. Log in to the Firebase CLI.

    Run this command:

    npx -y firebase-tools@latest login
    

    Then, ask the user to complete the login flow in the browser.

  2. 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

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.

Version History

  • aabe37a Current 2026-07-05 15:28

Same Skill Collection

skills/ads/data-manager-api/data-manager-api-audience-ingestion/SKILL.md
skills/ads/data-manager-api/data-manager-api-event-ingestion/SKILL.md
skills/ads/data-manager-api/data-manager-api-setup/SKILL.md
skills/ads/google-ads-api/google-ads-api-mcp-setup/SKILL.md
skills/ads/google-mobile-ads/google-mobile-ads-android-migrate-to-next-gen/SKILL.md
skills/ads/google-mobile-ads/google-mobile-ads-banner/SKILL.md
skills/ads/google-mobile-ads/google-mobile-ads-get-started/SKILL.md
skills/ads/google-mobile-ads/google-mobile-ads-interstitial/SKILL.md
skills/ads/google-mobile-ads/google-mobile-ads-rewarded/SKILL.md
skills/ads/interactive-media-ads/ima-sdk-basics/SKILL.md
skills/analytics/google-analytics-admin-api-basics/SKILL.md
skills/analytics/google-analytics-data-api-basics/SKILL.md
skills/cloud/agent-platform-endpoint-management/SKILL.md
skills/cloud/agent-platform-migrate-from-ai-studio/SKILL.md
skills/cloud/agent-platform-model-registry/SKILL.md
skills/cloud/agent-platform-prompt-management/SKILL.md
skills/cloud/agent-platform-rag-engine-management/SKILL.md
skills/cloud/agent-platform-skill-registry/SKILL.md
skills/cloud/agent-platform-tuning-management/SKILL.md
skills/cloud/agent-platform-tuning/SKILL.md
skills/cloud/alloydb-basics/SKILL.md
skills/cloud/bigquery-ai-ml/SKILL.md
skills/cloud/bigquery-basics/SKILL.md
skills/cloud/bigquery-bigframes/SKILL.md
skills/cloud/bigtable-basics/SKILL.md
skills/cloud/cloud-run-basics/SKILL.md
skills/cloud/detection-engineering-coverage-evaluation/SKILL.md
skills/cloud/gcloud/SKILL.md
skills/cloud/gemini-agents-api/SKILL.md
skills/cloud/gemini-api/SKILL.md
skills/cloud/gemini-interactions-api/SKILL.md
skills/cloud/gke-app-onboarding/SKILL.md
skills/cloud/gke-backup-dr/SKILL.md
skills/cloud/gke-basics/SKILL.md
skills/cloud/gke-batch-hpc/SKILL.md
skills/cloud/gke-cluster-creation/SKILL.md
skills/cloud/gke-compute-classes/SKILL.md
skills/cloud/gke-cost/SKILL.md
skills/cloud/gke-golden-path/SKILL.md
skills/cloud/gke-inference/SKILL.md
skills/cloud/gke-multitenancy/SKILL.md
skills/cloud/gke-networking/SKILL.md
skills/cloud/gke-observability/SKILL.md
skills/cloud/gke-reliability/SKILL.md
skills/cloud/gke-scaling/SKILL.md
skills/cloud/gke-security/SKILL.md
skills/cloud/gke-storage/SKILL.md
skills/cloud/google-cloud-networking-observability/SKILL.md
skills/cloud/google-cloud-recipe-auth/SKILL.md
skills/cloud/google-cloud-recipe-onboarding/SKILL.md
skills/cloud/google-cloud-waf-cost-optimization/SKILL.md
skills/cloud/google-cloud-waf-operational-excellence/SKILL.md
skills/cloud/google-cloud-waf-performance-optimization/SKILL.md
skills/cloud/google-cloud-waf-reliability/SKILL.md
skills/cloud/google-cloud-waf-security/SKILL.md
skills/cloud/google-cloud-waf-sustainability/SKILL.md
skills/cloud/iam-recommendations-fetcher/SKILL.md
skills/ads/google-ads-api/google-ads-api-quickstart/SKILL.md
skills/cloud/agent-platform-alert-configuration/SKILL.md
skills/cloud/agent-platform-deploy/SKILL.md
skills/cloud/agent-platform-eval-flywheel/SKILL.md
skills/cloud/agent-platform-inference/SKILL.md
skills/cloud/cloud-sql-basics/SKILL.md
skills/cloud/datalineage-bigquery-asset-impact-analysis/SKILL.md
skills/cloud/gke-upgrades/SKILL.md
skills/cloud/google-agents-cli-onboarding/SKILL.md
skills/cloud/google-cloud-recipe-foundation-builder/SKILL.md
skills/cloud/workload-manager-basics/SKILL.md

Metadata

Files
0
Version
aabe37a
Hash
326cf6d8
Indexed
2026-07-05 15:28

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-09 08:18
浙ICP备14020137号-1 $Гость$