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-cosmosdbSKILL.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
- Azure Cosmos DB Documentation
- Cosmos DB .NET SDK v3
- Partition Key Design
- Request Units (RU)
- Indexing Policies
- Consistency Levels
- Change Feed
- Cosmos DB Best Practices (.NET)
Procedure
- Design partition key and data model — see data modeling
- Configure SDK client properly — see sdk setup
- Optimize queries and indexing — see performance tuning
- Implement change feed if needed — see change feed
- 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 —
ReadItemAsynccosts 1 RU - Cross-partition queries are expensive — design to avoid them
- Use
CosmosClientas 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
- SKILL.md in the repositoryCheckingskills/database-cosmosdb/SKILL.md
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
[](https://verified-skill.com/skills/congiuluc/my-awesome-copilot/database-cosmosdb)