Firestore Index Creator

🌐Community
by jeremylongshore · vlatest · Repository

Automatically generates Firestore indexes based on query patterns, optimizing database performance and reducing latency for faster data retrieval.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add firestore-index-creator npx -- -y @trustedskills/firestore-index-creator
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "firestore-index-creator": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/firestore-index-creator"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill allows you to create Firestore indexes directly from prompts. It automates the process of defining index fields and ordering, ensuring your queries perform efficiently. The skill generates the necessary JSON configuration for creating these indexes within your Firebase project.

When to use it

  • You need to optimize query performance in a Firestore database that's experiencing slow response times.
  • A developer requests you to create an index for a specific query pattern.
  • You are setting up a new Firestore database and want to proactively define indexes for anticipated queries.
  • You’re refactoring existing queries and need to generate the corresponding index definitions.

Key capabilities

  • Generates Firestore index JSON configuration from natural language prompts.
  • Automates index creation based on query requirements.
  • Supports defining fields and ordering within the generated indexes.

Example prompts

  • "Create an index for products ordered by price descending, with a filter on category."
  • "Generate a Firestore index to efficiently query users by email."
  • “I need an index for messages sorted by timestamp ascending.”

Tips & gotchas

  • The skill requires familiarity with Firestore indexing concepts and query patterns. Clearly defining the desired fields and ordering in your prompts will yield better results.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
jeremylongshore
Installs
15

🌐 Community

Passed automated security scans.