firebase-deployer

Deploy Firebase Firestore security rules and indexes via the Firebase CLI.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/ainexllc/ClaudeCodeTraining --skill firebase-deployer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: firebase-deployer
Source: https://github.com/ainexllc/ClaudeCodeTraining/tree/main/.claude/skills/firebase-deployer
Command: npx skills add https://github.com/ainexllc/ClaudeCodeTraining --skill firebase-deployer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires firebase-tools.

What problem does it solve?

Manually deploying Firestore security rules and indexes is prone to errors and delays, especially when dealing with complex queries or frequent rule changes. This skill automates the deployment process, ensuring your Firebase project's data access and query performance are always optimized and secure.

Core Features & Use Cases

  • Auto-Deploy Indexes: Automatically creates and deploys missing Firestore indexes based on query error messages.
  • Rules Deployment: Deploys updated firestore.rules to enforce data security.
  • Configuration Validation: Verifies Firebase project and configuration files before deployment.
  • Use Case: When a Firestore query fails due to a missing index, this skill can automatically parse the error, generate the required index, and deploy it, saving you from manual console work.

Quick Start

Deploy the updated Firestore security rules and indexes to the current Firebase project.

Frequently Asked Questions about firebase-deployer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Firestore security rules and index deployment?

Automate Firestore rules and index deployment by using this skill to detect file changes, parse index requirements from query errors, update firestore.indexes.json, and deploy both rules and indexes to your Firebase project with verification.

Can I automatically deploy missing Firestore indexes from error messages?

Yes, this skill parses Firestore query error messages, identifies required composite indexes, generates the corresponding index configuration, and deploys it automatically without manual console work.

What happens when firestore.rules or firestore.indexes.json files change?

When these files change, the skill detects the modifications, validates your Firebase project configuration, and automatically deploys the updated rules and indexes using firebase-tools.

Do I need to manually verify my Firebase project before deploying rules and indexes?

No, the skill verifies the active Firebase project and configuration files automatically as part of its pre-deployment validation process before applying any changes.

Can this handle deployment across multiple Firebase projects?

Yes, the skill supports multi-project deployments, allowing you to deploy Firestore rules and indexes across multiple Firebase projects in a single workflow.

What's the best way to ensure Firestore query performance without manual index management?

Use automated index deployment to continuously detect composite index requirements from query failures and deploy them immediately, eliminating manual index creation and ensuring optimal query performance.