Pular para o conteúdo
Skillpedia
Deploy e nuvem (DevOps)22 mil · #10259

firebase-basics

O que ela faz

Esta skill ajuda você a começar com a ferramenta de linha de comando do Firebase e com seus projetos do Firebase. É para desenvolvedores de apps que precisam do projeto configurado antes de começar a criar.

Quando usar

  • ✓Quando você precisar instalar ou verificar a versão da CLI do Firebase.
  • ✓Quando quiser fazer login, criar um projeto do Firebase ou trocar para outro projeto.
  • ✓Quando precisar baixar o arquivo de configuração do app google-services.json ou GoogleService-Info.plist.

Link da skill

https://github.com/google/skills/blob/main/skills/cloud/firebase-basics/SKILL.md

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/google/skills/blob/main/skills/cloud/firebase-basics/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Configure a CLI do Firebase no meu computador, faça meu login e baixe o arquivo de configuração do meu app Android.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

Ela verifica se a CLI do Firebase está instalada e percorre as etapas de login, projeto e configuração em ordem. Também indica ao ambiente do seu agente as outras skills do Firebase.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do GitHub.

Firebase Basics

Usage Attribution

MUST READ: Before executing any gcloud, REST API, or MCP command, you MUST read and follow the instructions in Usage Attribution.

Prerequisites

Complete these setup steps before proceeding:

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

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

    1. Provide an existing Firebase Project ID, or
    2. 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
Perguntas frequentes

Ela hospeda o meu site?

Não. Ela se limita a login na CLI, criação ou troca de projetos e download de arquivos de configuração de apps.

Quais arquivos de configuração ela baixa?

google-services.json para Android e GoogleService-Info.plist para iOS.

Ela precisa do servidor MCP do Firebase?

Ela verifica se o servidor MCP está instalado e indica guias de configuração para o seu agente.

Detalhes

Descrição original do autor

Provides foundational Firebase CLI setup, CLI installation, version checks (`firebase-tools@latest --version`), CLI login (including --no-localhost), project creation, project selection (`firebase use`), and app config file downloads (`google-services.json`, `GoogleService-Info.plist`). Use ONLY for CLI login, project creation/switching, or downloading app config files. Don't use for Firebase Hosting deploy, Firestore, Auth, App Hosting, Data Connect, Crashlytics, or Remote Config.

repo: google/skills

Popularidade

Estrelas no GitHub
22 mil
Posição no ranking
#10259
Licença
Apache-2.0
Atualizada em
02/11/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas