Apply official Firebase patterns for app backends, authentication, data, and hosting.
---
name: firebase-basics
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.**
```bash
## Check if NPM is installed
npm --version… install to load the full skill