Help us improve
Share bugs, ideas, or general feedback.
From azure-cosmos-db-assistant
Azure Cosmos DB performance optimization and best practices guidelines for NoSQL, partitioning, queries, SDK usage, and vector search. Use when writing, reviewing, or refactoring code that interacts with Azure Cosmos DB, designing data models, optimizing queries, or implementing high-performance database operations.
npx claudepluginhub azurecosmosdb/cosmosdb-claude-code-plugin --plugin azure-cosmos-db-assistantHow this skill is triggered — by the user, by Claude, or both
Slash command
/azure-cosmos-db-assistant:cosmosdb-best-practicesThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Comprehensive performance optimization guide for Azure Cosmos DB applications, containing
rules/_sections.mdrules/_template.mdrules/global-conflict-resolution.mdrules/global-consistency.mdrules/global-failover.mdrules/global-multi-region.mdrules/global-read-regions.mdrules/global-zone-redundancy.mdrules/index-composite.mdrules/index-exclude-unused.mdrules/index-lazy-consistent.mdrules/index-range-vs-hash.mdrules/index-spatial.mdrules/model-avoid-2mb-limit.mdrules/model-denormalize-reads.mdrules/model-embed-related.mdrules/model-id-constraints.mdrules/model-json-serialization.mdrules/model-nesting-depth.mdrules/model-numeric-precision.mdGuides Payload CMS config (payload.config.ts), collections, fields, hooks, access control, APIs. Debugs validation errors, security, relationships, queries, transactions, hook behavior.
Implements vector databases with Pinecone, Weaviate, Qdrant, Milvus, pgvector for semantic search, RAG, recommendations, and similarity systems. Optimizes embeddings, indexing, and hybrid search.
Share bugs, ideas, or general feedback.
Comprehensive performance optimization guide for Azure Cosmos DB applications, containing 73+ rules across 10 categories, prioritized by impact to guide automated refactoring and code generation.
73 individual rule files are in the rules/ directory, one file per rule,
synced from the AzureCosmosDB/cosmosdb-agent-kit.
Load only the relevant rule file(s) when answering a question — do NOT load all files at once.
Run /azure-cosmos-db-assistant:generate-skills to sync with the latest rules from the agent-kit.
Reference these guidelines when:
Rules are grouped by category prefix. For a given question, load files matching
the relevant prefix (e.g., model-*.md for data modeling, sdk-*.md for SDK usage).
See rules/_sections.md for category descriptions.
model-)partition-)query-)sdk-)index-)throughput-)global-)monitoring-)pattern-)vector-)Each rule is a separate file under rules/. When answering a Cosmos DB question, read only the relevant rule file(s) based on the prefix matching the topic:
rules/model-*.md filesrules/partition-*.md filesrules/sdk-*.md filesEach rule file contains:
Source: AzureCosmosDB/cosmosdb-agent-kit