
Azure Cosmosdb
This one covers the essentials of working with Azure Cosmos DB's NoSQL API: partition key design, CRUD patterns with the TypeScript SDK, and consistency tradeoffs. The partition key guidance is solid, showing good patterns like userId or tenantId and warning against low cardinality or timestamp keys that create hot partitions. Includes practical code for point reads, cross-partition queries, pagination, and patch operations. If you're building on Cosmos DB and need to avoid the common mistakes around data distribution and query efficiency, this captures the patterns that actually matter in production. Focuses on the Core API, so if you're using MongoDB or Cassandra wire protocols, you'll need different resources.
- skills.sh installs
- 170
- GitHub stars
- 685
- last updated
- Jun 3, 2026
Install
$ npx -y skills add alinaqi/claude-bootstrap --skill azure-cosmosdb --agent claude-codeInstalls into .claude/skills of the current project.
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
Sponsors
Details
- Repository
- github.com/alinaqi/claude-bootstrap
- Category
- Cloud & Infrastructure
- First seen
- Jun 3, 2026
More from alinaqi/claude-bootstrap
All 54- Shopify Apps165
- Android Kotlin2.7K
- Playwright Testing2.5K
- Pwa Development2.4K
- Code Review1.3K
- Ui Mobile1K
- Posthog Analytics736
- Flutter685
- Supabase Nextjs651
- Supabase587
- Android Java583
- React Native517
- Aws Dynamodb419
- User Journeys406
- Code Deduplication335
- Nodejs Backend316
- Security315
- Aeo Optimization306
- Agentic Development304
- Ui Web285
- Woocommerce284
- Klaviyo267
- Ui Testing260
- React Web234