azure-cosmos-ts

Perform CRUD, queries, and bulk operations on Azure Cosmos DB using the @azure/cosmos SDK.

2.9k|323|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/microsoft/skills --skill azure-cosmos-ts-microsoft
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: azure-cosmos-ts
Source: https://github.com/microsoft/skills/tree/main/.github/plugins/azure-sdk-typescript/skills/azure-cosmos-ts
Command: npx skills add https://github.com/microsoft/skills --skill azure-cosmos-ts-microsoft

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Data-plane access to Azure Cosmos DB via the @azure/cosmos SDK for TypeScript/JavaScript, enabling robust CRUD, queries, and bulk operations within applications.

Core Features & Use Cases

  • CRUD on documents and containers
  • SQL-like querying, bulk operations, and partition-aware interactions
  • Real-world scenarios include building scalable data-access layers for web apps and services that store and retrieve JSON documents in Cosmos DB.

Quick Start

Install and initialize the Cosmos DB TS/JS SDK and run a sample CRUD workflow against a Cosmos DB instance.

Frequently Asked Questions about azure-cosmos-ts

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

FAQPage Schema
How do I perform CRUD operations on Azure Cosmos DB using TypeScript?▼

To perform CRUD operations on Azure Cosmos DB using TypeScript, use the @azure/cosmos SDK to initialize a CosmosClient, then manage documents and containers directly within your application's data-access layer.

What is the best way to run bulk operations and SQL-like queries in Cosmos DB with JavaScript?▼

The best way to run bulk operations and SQL-like queries in Cosmos DB with JavaScript is using the @azure/cosmos SDK, which supports partition-aware interactions for scalable JSON document retrieval and modification.

Does the Azure Cosmos DB TS SDK support Azure Active Directory authentication?▼

Yes, the Azure Cosmos DB TS SDK supports Azure Active Directory authentication alongside key-based authentication, enabling you to securely configure environment access for managing databases and containers.

How do I manage Cosmos DB containers and databases in a Node.js application?▼

To manage Cosmos DB containers and databases in a Node.js application, use the @azure/cosmos SDK to instantiate a CosmosClient and execute data-plane operations across your typical app scenarios.

Can I use the @azure/cosmos SDK to build scalable data-access layers for web apps?▼

Yes, you can use the @azure/cosmos SDK to build scalable data-access layers for web apps and services, enabling robust storage and retrieval of JSON documents in Azure Cosmos DB.