ashish7802/awesome-api-skills/firebase

Claude Code and agent skill by ashish7802/awesome-api-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Install

npx vskill@latest install ashish7802/awesome-api-skills/firebase

SKILL.md

The same SKILL.md was published earlier as ashish7802/awesome-api-skills/firebase.

Firebase Admin API Skill

Overview

Firebase Admin SDK allows privileged server environments to interact with Firestore, Auth, and Cloud Messaging.

Installation

bash
npm install firebase-admin
pip install firebase-admin

Authentication

Authenticate using a Google Cloud Service Account key JSON file or Application Default Credentials (ADC).

Core Concepts

  • Firestore: NoSQL document database.
  • Custom Tokens: JWTs minted on the server to log users into the client SDK.
  • FCM: Firebase Cloud Messaging for push notifications.

Common Workflows

  1. Initialize initializeApp({ credential: cert(serviceAccount) }).
  2. Access Firestore: getFirestore().
  3. Perform operations bypassing security rules.

Error Handling

Catch FirebaseError. Error codes match RPC statuses (e.g., not-found, already-exists).

Security

Service accounts have absolute God-mode access. Never deploy an Admin SDK service account key to a client application.

Rate Limits

Firestore allows 10,000 writes per second per database. Batch operations are limited to 500 documents per batch.

Best Practices

Use batch() for multiple writes to ensure atomicity. Use runTransaction() when a write depends on the current value of a document.

Troubleshooting

If initialized multiple times, the SDK throws a 'default app already exists' error. Check getApps().length before initializing.

References

Why use this skill

Use this when your agent works with firebase — structured patterns beat pasted docs and prevent common hallucinations.

AI pitfalls

  • Inventing column names or schema fields
  • Using deprecated driver methods or wrong connection strings
  • Omitting connection pooling or transaction boundaries

Production checklist

  • [ ] Migrations version-controlled and applied via CI
  • [ ] Connection limits and pooling configured
  • [ ] Backups and restore procedure documented

Related skills


Last Verified: 2026-07-02

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
13
Repository forks
6
7-day trend score
13

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 21 Oct 2026, a month ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ashish7802/awesome-api-skills/firebase/badge)](https://verified-skill.com/skills/ashish7802/awesome-api-skills/firebase)

Something wrong with this skill or its page? Tell us.