azure-cosmos-db

Configure Azure Cosmos DB accounts, databases, containers, and indexing policies.

3|1|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/HouseGarofalo/claude-code-base --skill azure-cosmos-db-housegarofalo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: azure-cosmos-db
Source: https://github.com/HouseGarofalo/claude-code-base/tree/main/.claude/skills/azure-cosmos-db
Command: npx skills add https://github.com/HouseGarofalo/claude-code-base --skill azure-cosmos-db-housegarofalo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the creation and management of globally distributed NoSQL databases on Azure, enabling high availability and low latency for applications worldwide.

Core Features & Use Cases

  • Account & Database Provisioning: Create and configure Azure Cosmos DB accounts, databases, and containers.
  • Data Modeling & Partitioning: Design effective partition keys for scalable data distribution.
  • SDK Integration: Provides examples for Python and TypeScript SDKs for CRUD operations.
  • Advanced Configuration: Covers consistency levels, indexing policies, change feed, and multi-region writes.
  • Use Case: Build a global e-commerce platform where product catalogs and user data are accessible with low latency from any region, and data is consistently updated across all locations.

Quick Start

Use the azure-cosmos-db skill to create a new Cosmos DB account named 'mycosmosdb' in the 'mygroup' resource group with multi-region writes enabled.

Frequently Asked Questions about azure-cosmos-db

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a globally distributed Azure Cosmos DB account with multi-region writes?

To set up a globally distributed Azure Cosmos DB account, you can provision it using Bicep or ARM templates, enabling multi-region writes to ensure low latency and high availability for applications worldwide.

What is the best way to design a partition key for NoSQL data in Azure Cosmos DB?

Designing a partition key for Azure Cosmos DB involves choosing a property that evenly distributes data and traffic across partitions, which is critical for scalable NoSQL data distribution and avoiding hot partitions.

Can I use Python or .NET SDKs for CRUD operations in Azure Cosmos DB?

Yes, Azure Cosmos DB supports both Python and .NET SDKs for executing CRUD operations, allowing you to manage databases, containers, and data items directly within your application code.

How does the change feed work in Azure Cosmos DB for tracking data modifications?

The change feed in Azure Cosmos DB works by providing a persistent, ordered log of data modifications within a container, enabling you to build event-driven architectures and react to real-time updates across distributed regions.

What consistency levels are available when configuring Azure Cosmos DB containers?

Azure Cosmos DB offers five well-defined consistency levels for configuring containers, allowing you to balance data consistency guarantees against performance and latency requirements globally.

Does Azure Cosmos DB support infrastructure as code for database provisioning?

Yes, Azure Cosmos DB supports infrastructure as code, allowing you to automate account creation, database provisioning, and container configuration using Bicep or ARM templates for consistent deployments.