Azure Cosmosdb
Azure Cosmos DB NoSQL API skill covering partition key design, SDK CRUD patterns, and optimistic concurrency.
- CCM score
- 51 of 100
- skills.sh installs
- 234
- GitHub stars
- 712
- last updated
- Jun 3, 2026
Own this skill? Claim it
What it does
- Covers partition key selection, hierarchical partition keys, and how key choice affects scalability and query cost
- Includes TypeScript
@azure/cosmosclient setup, typed item models, point reads, queries, paginated queries, and patch operations - Guides avoidance of low-cardinality and monotonically increasing partition keys that create hot partitions
- Designed for developers building services on the NoSQL (Core) API who need efficient access patterns
Install
$ npx -y skills add alinaqi/maggy --skill azure-cosmosdb -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Core Principle
Choose partition key wisely, design for your access patterns, understand consistency tradeoffs.
Cosmos DB distributes data across partitions. Your partition key choice determines scalability, performance, and cost. Design for even distribution and query efficiency.
Cosmos DB APIs
| API | Use Case |
|---|---|
| NoSQL (Core) | Document database, most flexible |
| MongoDB | MongoDB wire protocol compatible |
| PostgreSQL | Distributed PostgreSQL (Citus) |
| Apache Cassandra | Wide-column store |
| Apache Gremlin | Graph database |
| Table | Key-value (Azure Table Storage compatible) |
This skill focuses on NoSQL (Core) API - the most common choice.
Key Concepts
| Concept | Description |
|---|---|
| Container | Collection of items (like a table) |
| Item | Single document/record (JSON) |
| Partition Key | Determines data distribution |
| Logical Partition | Items with same partition key |
| Physical Partition | Storage unit (max 50GB, 10K RU/s) |
| RU (Request Unit) | Throughput currency |
Partition Key Design
Details
- Repository
- github.com/alinaqi/maggy
- Categories
- Databases, Backend & APIs
- First seen
- Jun 3, 2026
Questions
What does the azure-cosmosdb skill help with?
The azure-cosmosdb skill covers Azure Cosmos DB partition key design, consistency levels, change feed and SDK patterns. It focuses on the NoSQL (Core) API and gives patterns for point reads, queries, updates and optimistic concurrency with ETags.
How do I install the azure-cosmosdb skill?
Run npx -y skills add alinaqi/maggy --skill azure-cosmosdb -y in your project. The skill then gives Claude Code guidance on working with Azure Cosmos DB.
Which other skills sit beside azure-cosmosdb in the Databases category?
In the Databases category, azure-cosmosdb is listed alongside supabase-postgres-best-practices, prisma-client-api, prisma-database-setup, prisma-cli and prisma-postgres. Where azure-cosmosdb differs is its focus on Cosmos DB partition keys and request unit throughput rather than relational databases.
What does the skill need before I can use it?
The SDK code expects an endpoint and key, or a connection string, set as COSMOS_ENDPOINT, COSMOS_KEY and COSMOS_DATABASE environment variables. The TypeScript examples install the @azure/cosmos package with npm.
More from alinaqi/maggy
All 54- Pwa Development4.9K
- Android Kotlin3.5K
- Playwright Testing3.4K
- Code Review1.4K
- Ui Mobile1.2K
- Posthog Analytics836
- Flutter750
- Supabase Nextjs736
- Android Java698
- Code Deduplication627
- Supabase608
- User Journeys600
- React Native536
- Klaviyo531
- Aws Dynamodb494
- Nodejs Backend450
- Aeo Optimization449
- Security442
- Agentic Development420
- Woocommerce360
- Ui Web359
- Ui Testing332
- Cloudflare D1327
- React Web312
Similar to Azure Cosmosdb
More Databasescosmosdb-best-practicesSkillazurecosmosdb/cosmosdb-agent-kit1.2K installsAzure Cosmos DB NoSQL guidance covering partitioning, RU optimization, query patterns, and SDK usage.
azure-cosmos-db-assistantPluginanthropics/claude-plugins-official48.8K starsExpert assistant for Azure Cosmos DB — data modeling, query optimization, performance tuning, and best practices.
cosmosdb-datamodelingSkillgithub/awesome-copilot8.7K installsStructured Cosmos DB NoSQL data modeling workflow that captures requirements and produces a design document.
aws-dynamodbSkillalinaqi/maggy494 installsSingle-table DynamoDB design with GSI patterns and AWS SDK v3 TypeScript and Python examples.
azure-kustoSkillmicrosoft/azure-skills783.9K installsQuery and analyze Azure Data Explorer telemetry with KQL, including batch table discovery across candidate sources.
aws-auroraSkillalinaqi/maggy252 installsAurora database guidance for Lambda: RDS Proxy, Data API, and connection pooling patterns.