From Azure Cosmos DB
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.
How 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.mdComprehensive 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
Guides reception of code review feedback: verify before implementing, avoid performative agreement, push back with technical reasoning when needed.
Design banners for social media, ads, website heroes, and print with multiple art direction options and AI-generated visuals.
claude plugin install azure-cosmos-db-assistant@claude-plugins-official