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 anthropics/claude-plugins-official --plugin azure-cosmos-db-assistantThis skill uses the workspace's default tool permissions.
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.
Builds scalable data pipelines, modern data warehouses, and real-time streaming architectures using Spark, dbt, Airflow, Kafka, and cloud platforms like Snowflake, BigQuery.
Builds production Apache Airflow DAGs with best practices for operators, sensors, testing, and deployment. For data pipelines, workflow orchestration, and batch job scheduling.
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