mongodb-query-and-index-optimize

Community

Master MongoDB query & index optimization.

Authorromiluz13
Version1.0.0
Installs0

System Documentation

What problem does it solve?

MongoDB performance issues caused by missing indexes, poorly chosen compound keys, and inefficient aggregation patterns are common bottlenecks in production systems.

Core Features & Use Cases

The skill codifies 46 rules across 5 categories (Index Essentials, Specialized Indexes, Query Patterns, Aggregation Optimization, Performance Diagnostics) to guide index design, query construction, and pipeline optimization; it integrates with Atlas Performance Advisor, $indexStats, explain(), and Query Settings to prioritize changes based on real workloads; and it provides verification paths, examples, and measurable guidance for production-grade deployments.

Quick Start

Start by auditing representative queries with explain(), identify missing indexes or slow stages, implement targeted changes, and validate improvements with controlled rollout and monitoring.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: mongodb-query-and-index-optimize
Download link: https://github.com/romiluz13/mongodb-agent-skills/archive/main.zip#mongodb-query-and-index-optimize

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.