LaunchKit · 2026

Setup & Installation

npx skills add https://github.com/microsoft/skills --skill azure-cosmos-rust
or paste the link and ask your coding assistant to install it
https://github.com/microsoft/skills/tree/main/.github/plugins/azure-sdk-rust/skills/azure-cosmos-rust
View on GitHub

What This Skill Does

Rust client library for Azure Cosmos DB's NoSQL API. Handles document CRUD, container management, and queries against globally distributed Cosmos DB accounts. Uses the azure_data_cosmos crate with Entra ID or key-based authentication.

The SDK handles authentication, request signing, and response deserialization so you don't have to construct raw HTTP requests or manage Cosmos DB's REST API surface by hand.

When to use it

  • Reading and writing documents to Cosmos DB from a Rust service
  • Patching specific fields on a document without replacing the whole item
  • Querying items by partition key in a multi-region Cosmos DB container
  • Migrating a Rust backend from manual HTTP calls to the official SDK
  • Building a Rust CLI tool that manages Cosmos DB containers and data