google/firebase-basics
Use this skill whenever you are working on a project that uses Firebase products or services, especially for mobile or web apps.
npx skills add https://github.com/google/skills --skill firebase-basics
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.
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.
## 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.
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.*
After completing the mandatory prerequisites above, proceed with these steps to
set up your environment:
Run this command:
npx -y firebase-tools@latest login
Then, ask the user to complete the login flow in the browser.
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
Active Project: <PROJECT_ID>, you can proceedwith your task.
have an existing Firebase project ID.
running:
npx -y firebase-tools@latest use --add <PROJECT_ID>
npx -y firebase-tools@latest projects:create <PROJECT_ID> --display-name <DISPLAY_NAME>
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.
Take google/firebase-basics from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.
The instructions reference npx.
Without those the skill loads but fails at the first command.