Agent skill · software engineering · aiskillstore

azure-cosmos-rust

Azure Cosmos DB SDK for Rust (NoSQL API). Use for document CRUD, queries, containers, and globally distributed data.

Why this skill is useful

Provides specific Rust SDK commands and patterns for interacting with Azure Cosmos DB that the AI wouldn't reliably generate on its own.

What it needs

Requires cargo installed locally. Requires azure account access. About 2k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

Azure Cosmos DB SDK for Rust Client library for Azure Cosmos DB NoSQL API — globally distributed, multi-model database. Installation Environment Variables Authentication Client Hierarchy Client Purpose Get From -------- --------- ---------- CosmosClient Account-level operations Direct instantiation DatabaseClient Database operations client.databaseclient() ContainerClient Container/item operations database.containerclient() Core Workflow Get Database and Container Clients Create Item Read Item Replace Item Patch Item Delete Item Key Auth (Optional) Enable key-based authentication with feature flag: Best Practices 1. Always specify partition key — required for point reads and writes 2. Use intomodel()? — to deserialize responses into your types 3. Derive Serialize and Deserialize — for all document types 4. Use Entra ID auth — prefer DeveloperToolsCredential over key auth 5. Reuse client instances — clients are thread-safe and reusable Reference Links Resource Link ---------- ------ API Reference https://docs.rs/azuredatacosmos Source Code https://github.com/Azure/azure-sdk-for-rust/tree/main/sdk/cosmos/azuredatacosmos crates.io https://crates.io/crates/azuredatacosmos When to Use This skill is applicable to execute the workflow or actions described in the overview. Limitations Use this skill only when the task clearly matches the scope described above. Do not treat the output as a substitute for environment-specific validation, testing, or expert review. Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/azure-cosmos-rust

View the source on GitHub

Browse the @skills marketplace