jeremylongshore

firestore-operations-manager

@jeremylongshore/firestore-operations-manager
jeremylongshore
1,004
123 forks
Updated 1/18/2026
View on GitHub

Manage Firebase/Firestore operations including CRUD, queries, batch processing, and index/rule guidance. Use when you need to create/update/query Firestore documents, run batch writes, troubleshoot missing indexes, or plan migrations. Trigger with phrases like "firestore operations", "create firestore document", "batch write", "missing index", or "fix firestore query".

Installation

$skills install @jeremylongshore/firestore-operations-manager
Claude Code
Cursor
Copilot
Codex
Antigravity

Details

Pathplugins/community/jeremy-firestore/skills/firestore-operations-manager/SKILL.md
Branchmain
Scoped Name@jeremylongshore/firestore-operations-manager

Usage

After installing, this skill will be available to your AI coding assistant.

Verify installation:

skills list

Skill Instructions


name: firestore-operations-manager description: | Manage Firebase/Firestore operations including CRUD, queries, batch processing, and index/rule guidance. Use when you need to create/update/query Firestore documents, run batch writes, troubleshoot missing indexes, or plan migrations. Trigger with phrases like "firestore operations", "create firestore document", "batch write", "missing index", or "fix firestore query". allowed-tools: Read, Write, Edit, Grep, Glob, Bash(cmd:*) version: 1.0.0 author: Jeremy Longshore jeremy@intentsolutions.io license: MIT

Firestore Operations Manager

Operate Firestore safely in production: schema-aware CRUD, query/index tuning, batch processing, and guardrails for permissions and cost.

Overview

Use this skill to design Firestore data access patterns and implement changes with the right indexes, security rules, and operational checks (emulator tests, monitoring, and rollback plans).

Prerequisites

  • A Firebase project with Firestore enabled (or a local emulator setup)
  • A clear collection/document schema (or permission to propose one)
  • Credentials for the target environment (service account / ADC) and a plan for secrets

Instructions

  1. Identify the operation: create/update/delete/query/batch/migration.
  2. Confirm schema expectations and security rules constraints.
  3. Implement the change (or propose a patch) using safe patterns:
    • prefer batched writes/transactions where consistency matters
    • add pagination for large queries
  4. Check indexes:
    • detect required composite indexes and provide firestore.indexes.json updates
  5. Validate:
    • run emulator tests or a minimal smoke query
    • confirm cost/perf implications for the query pattern

Output

  • Code changes or snippets for the requested Firestore operation
  • Index recommendations (and config updates when needed)
  • A validation checklist (emulator commands and production smoke tests)

Error Handling

  • Permission denied: identify the rule/role blocking the operation and propose least-privilege changes.
  • Missing index: provide the exact composite index needed for the query.
  • Hotspot/latency issues: propose sharding, pagination, or query redesign.

Examples

Example: Fix a failing query

  • Request: “This query needs a composite index—what do I add?”
  • Result: the exact index definition and a safer query pattern if needed.

Example: Batch migration

  • Request: “Backfill a new field across 100k docs.”
  • Result: batched write strategy, checkpoints, and rollback guidance.

Resources

More by jeremylongshore

View all
rabbitmq-queue-setup
1,004

Rabbitmq Queue Setup - Auto-activating skill for Backend Development. Triggers on: rabbitmq queue setup, rabbitmq queue setup Part of the Backend Development skill category.

model-evaluation-suite
1,004

evaluating-machine-learning-models: This skill allows Claude to evaluate machine learning models using a comprehensive suite of metrics. It should be used when the user requests model performance analysis, validation, or testing. Claude can use this skill to assess model accuracy, precision, recall, F1-score, and other relevant metrics. Trigger this skill when the user mentions "evaluate model", "model performance", "testing metrics", "validation results", or requests a comprehensive "model evaluation".

neural-network-builder
1,004

building-neural-networks: This skill allows Claude to construct and configure neural network architectures using the neural-network-builder plugin. It should be used when the user requests the creation of a new neural network, modification of an existing one, or assistance with defining the layers, parameters, and training process. The skill is triggered by requests involving terms like "build a neural network," "define network architecture," "configure layers," or specific mentions of neural network types (e.g., "CNN," "RNN," "transformer").

oauth-callback-handler
1,004

Oauth Callback Handler - Auto-activating skill for API Integration. Triggers on: oauth callback handler, oauth callback handler Part of the API Integration skill category.