congiuluc/my-awesome-copilot/database-cosmosdb

Claude Code and agent skill by congiuluc/my-awesome-copilot

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Configure and optimize Azure Cosmos DB for .NET applications. Covers partition key design, RU optimization, consistency levels, indexing policies, change feed, and the Cosmos DB .NET SDK. Use when: setting up Cosmos DB, designing containers, optimizing query cost, configuring consistency levels, or implementing change feed processors.

Install

npx vskill@latest install congiuluc/my-awesome-copilot/database-cosmosdb

SKILL.md

The same SKILL.md was published earlier as congiuluc/my-awesome-copilot/database-cosmosdb.

Azure Cosmos DB Database Skill

When to Use

  • Setting up Azure Cosmos DB (NoSQL API) for production
  • Designing partition key strategies for scalable containers
  • Optimizing RU (Request Unit) consumption
  • Choosing consistency levels for your workload
  • Configuring indexing policies for query patterns
  • Using Change Feed for event-driven scenarios
  • Running the Cosmos DB .NET SDK or EF Core Cosmos provider

Official Documentation

Procedure

  1. Design partition key and data model — see data modeling
  2. Configure SDK client properly — see sdk setup
  3. Optimize queries and indexing — see performance tuning
  4. Implement change feed if needed — see change feed
  5. Review complete sample

Key Principles

  • Partition key is the most critical design decision — choose based on query patterns, not entity structure
  • Always specify partition key in point reads — ReadItemAsync costs 1 RU
  • Cross-partition queries are expensive — design to avoid them
  • Use CosmosClient as a singleton — it manages connections internally
  • Use Direct mode (not Gateway) for lowest latency
  • Monitor RU consumption via response headers
  • Prefer point reads (ReadItemAsync) over queries when possible
  • Use hierarchical partition keys for multi-tenant scenarios
  • Store related data together (denormalize) — joins don't exist

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/congiuluc/my-awesome-copilot/database-cosmosdb/badge)](https://verified-skill.com/skills/congiuluc/my-awesome-copilot/database-cosmosdb)

Something wrong with this skill or its page? Tell us.