documentdb-query-optimization
Query and aggregation-pipeline optimization rules for Azure DocumentDB — using `explain("executionStats")` to verify index usage and avoid `COLLSCAN`.
Skill by khelanmodi
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/khelanmodi-documentdb-query-optimization
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, cloud, data, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
documentdb-query-optimization- Description
- Query and aggregation-pipeline optimization rules for Azure DocumentDB — using `explain("executionStats")` to verify index usage and avoid `COLLSCAN`. Use when reviewing a specific query, diagnosing a slow query, or validating that an index is actually being used. For full index-design workflow, see the `documentdb-query-optimizer` skill.
- License
- MIT
- Instructions
- 9 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- name: "documentdb-query-optimization" does not match folder "query-optimization"
Files (2)
- SKILL.md
- query-explain-plan.md
SKILL.md (first lines)
# Query & Aggregation Optimization — Azure DocumentDB
Best-practice rules for writing queries that can actually use indexes. For the full diagnostic workflow (explain output interpretation, ESR compound index design, covered queries, anti-patterns), see the `documentdb-query-optimizer` skill.
## Rules
- [query-explain-plan](query-explain-plan.md) — Use `explain("executionStats")` to verify index usage; watch `keysExamined` / `docsExamined` vs `nReturned`; avoid `COLLSCAN`.From khelanmodi/documentdb-agent-kit, MIT.
More from khelanmodi/documentdb-agent-kit
- 0.406score
documentdb-mcp-setup
khelanmodi
Guide users through configuring the DocumentDB MCP server for Azure DocumentDB.
SkillDFreshness: DClaude Code +9 - 0.401score
documentdb-cluster-sharding
khelanmodi
Cluster sizing and sharding guidance for Azure DocumentDB — choosing M-tier (M10–M200+), when to scale vertically vs horizontally, and how to pick a shard key…
SkillDFreshness: DClaude Code +9 - 0.401score
documentdb-high-availability
khelanmodi
High availability and disaster-recovery best practices for Azure DocumentDB — enabling in-region HA (99.99% SLA) and adding active-passive cross-region…
SkillDFreshness: DClaude Code +9
Signals
- Stars
- 0
- Forks
- 1
- Open issues
- 2
- Last commit (this folder)
- Apr 21, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from khelanmodi
- 0.406score
documentdb-mcp-setup
khelanmodi
Guide users through configuring the DocumentDB MCP server for Azure DocumentDB.
SkillDFreshness: DClaude Code +9 - 0.401score
documentdb-cluster-sharding
khelanmodi
Cluster sizing and sharding guidance for Azure DocumentDB — choosing M-tier (M10–M200+), when to scale vertically vs horizontally, and how to pick a shard key…
SkillDFreshness: DClaude Code +9 - 0.401score
documentdb-high-availability
khelanmodi
High availability and disaster-recovery best practices for Azure DocumentDB — enabling in-region HA (99.99% SLA) and adding active-passive cross-region…
SkillDFreshness: DClaude Code +9
Cite this page
documentdb-query-optimization skill. Agent Mart. https://agentmart.dev/skills/khelanmodi-documentdb-query-optimization (last updated 2026-10-24)