mongodb-query-optimizer
Help with MongoDB query optimization and indexing. Use only when the user asks for optimization or performance: "How do I optimize this query?", "How do I index this?", "Why is this query slow?", "Can you fix my slow queries?", "What are the slow queries on my cluster?", etc. Do not invoke for general MongoDB query writing unless user asks for performance or index help. Prefer indexing as optimization strategy. Use MongoDB MCP when available.
- Version
- 1.0.0
- License
- Apache-2.0
- Compatibility
- Best with MongoDB MCP server. Uses collection-indexes and explain when the connection string works; uses Atlas Performance Advisor when Atlas API is configured. Without either, suggest indexes from query shape only. User creates indexes in Atlas or migrations unless tooling allows otherwise.
Pinned to revision 4e8964e24a5a, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/mongodb-query-optimizer/SKILL.md
- skills/mongodb-query-optimizer/LICENSE
- skills/mongodb-query-optimizer/references/aggregation-optimization.md
- skills/mongodb-query-optimizer/references/antipattern-examples.md
- skills/mongodb-query-optimizer/references/core-indexing-principles.md
- skills/mongodb-query-optimizer/references/update-query-examples.md
Every link opens the file at its source, pinned to the revision this page describes.