Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

cosmosdb-best-practices

БесплатноБез исполняемых скриптовНе проверен

Azure Cosmos DB performance optimization and best practices guidelines for NoSQL, partitioning, queries, and SDK usage. Use when writing, reviewing, or…

AzureCosmosDBот AzureCosmosDB★ 63 звезды на GitHub

Об этом скилле

Azure Cosmos DB Best Practices

Comprehensive performance optimization guide for Azure Cosmos DB applications, containing 100+ rules across 13 categories, prioritized by impact to guide automated refactoring and code generation.

Before answering, read the linked rule files relevant to the user's question. The quick reference below is an index, not the full guidance: SDK APIs, limits, configuration prerequisites, and caveats live in the rule bodies. Use the language-specific integration rule when one exists rather than substituting a generic pattern. Keep answers concise, but include the constraints that make the recommendation correct for the user's scenario.

When to Apply

Reference these guidelines when:

  • Designing data models for Cosmos DB
  • Choosing partition keys
  • Writing or optimizing queries
  • Implementing SDK patterns
  • Using the Cosmos DB Emulator for local development
  • Inspecting or managing Cosmos DB data with developer tooling
  • Implementing vector search or RAG features on Cosmos DB
  • Reviewing code for performance issues
  • Configuring throughput and scaling
  • Building globally distributed applications

Rule Categories by Priority

Priority Category Impact Prefix
1 Data Modeling CRITICAL model-
2 Partition Key Design CRITICAL partition-
3 Query Optimization HIGH query-
4 SDK Best Practices HIGH sdk-
5 Indexing Strategies MEDIUM-HIGH index-
6 Throughput & Scaling MEDIUM throughput-
7 Global Distribution MEDIUM global-
8 Monitoring & Diagnostics LOW-MEDIUM monitoring-
9 Design Patterns HIGH pattern-
10 Developer Tooling MEDIUM tooling-
11 Vector Search HIGH vector-
12 Full-Text Search HIGH fts-
13 Security HIGH security-

Quick Reference

1. Data Modeling (CRITICAL)

2. Partition Key Design (CRITICAL)

3. Query Optimization (HIGH)

Полный SKILL.md на GitHub

Установить cosmosdb-best-practices в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

README.mdagents/openai.yamlmetadata.jsonrules/_sections.mdrules/_template.mdrules/fts-add-index.mdrules/fts-define-policy.mdrules/fts-enable-capability.mdrules/fts-hybrid-queries.mdrules/fts-keyword-matching.mdrules/fts-relevance-ranking.mdrules/fts-semantic-reranker-two-stage.mdrules/global-conflict-resolution.mdrules/global-consistency.mdrules/global-failover.mdrules/global-multi-region-write-antipattern.mdrules/global-multi-region.mdrules/global-read-regions.mdrules/global-zone-redundancy.mdrules/index-composite-direction.mdrules/index-composite.mdrules/index-exclude-unused.mdrules/index-lazy-consistent.mdrules/index-path-syntax.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.mdrules/model-reference-large.mdrules/model-relationship-references.mdrules/model-schema-versioning.mdrules/model-ttl-expiration.mdrules/model-type-discriminator.mdrules/model-unique-keys.mdrules/monitoring-azure-monitor.md

FAQ

Что делает скилл cosmosdb-best-practices?

Azure Cosmos DB performance optimization and best practices guidelines for NoSQL, partitioning, queries, and SDK usage. Use when writing, reviewing, or refactoring code that interacts with Azure Cosmos DB, designing data models, optimizing queries, or implementing high-performance database operations. USE FOR: Cosmos DB NoSQL, partition key design, RU optimization, point reads, cross-partition queries, SDK singleton, CosmosClient, container modeling, change feed, bulk operations, vector search, full-text search, hierarchical partition keys, global distribution, autoscale throughput, indexing policy, DO NOT USE FOR: PostgreSQL, MySQL, MongoDB (non-Azure), DynamoDB, Cassandra, Azure SQL, Cosmos DB for PostgreSQL (vCore), Cosmos DB for MongoDB vCore, Azure DocumentDB, general SQL databases, Redis, Elasticsearch.

Как установить скилл cosmosdb-best-practices?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл cosmosdb-best-practices запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить cosmosdb-best-practices с