Saltar al contenido
Skillpedia
Deploy y nube (DevOps)22 mil · #10259

firebase-basics

Qué hace

Esta skill te ayuda a empezar con la herramienta de línea de comandos de Firebase y tus proyectos de Firebase. Es para desarrolladores de apps que necesitan tener su proyecto configurado antes de construir.

Cuándo usarla

  • ✓Cuando necesitas instalar o comprobar la versión de la CLI de Firebase.
  • ✓Cuando quieres iniciar sesión, crear un proyecto de Firebase o cambiar a otro.
  • ✓Cuando necesitas descargar el archivo de configuración de la app google-services.json o GoogleService-Info.plist.

Link de la skill

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

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/google/skills/blob/main/skills/cloud/firebase-basics/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Configura la CLI de Firebase en mi equipo, inicia mi sesión y descarga el archivo de configuración de mi app de Android.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

Comprueba si la CLI de Firebase está instalada y recorre en orden los pasos de inicio de sesión, de proyecto y de configuración. También apunta el entorno de tu agente a las otras skills de Firebase.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de 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
Preguntas frecuentes

¿Aloja mi web?

No. Se limita al inicio de sesión en la CLI, a crear o cambiar de proyecto y a descargar la configuración de las apps.

¿Qué archivos de configuración descarga?

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

¿Necesita el servidor MCP de Firebase?

Comprueba si el servidor MCP está instalado y te indica las guías de configuración para tu agente.

Detalles

Descripción original del 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

Popularidad

Estrellas en GitHub
22 mil
Posición en el ranking
#10259
Licencia
Apache-2.0
Actualizada
2/11/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas