This skill provides comprehensive patterns and best practices for interacting with Azure Cosmos DB using the @azure/cosmos SDK. It covers the full data lifecycle, from database and container initialization to complex querying, bulk operations, and partial document updates via Patch. By implementing this skill, developers can ensure their Claude-assisted workflows follow production-grade standards, including secure Azure Active Directory (AAD) authentication, efficient partitioning strategies such as hierarchical keys, and robust error handling for common scenarios like rate limiting and optimistic concurrency.
主要功能
01Secure AAD authentication via @azure/identity integration
02Optimistic concurrency control using ETags and partial document patching
03Comprehensive CRUD and document lifecycle management patterns
04High-throughput bulk operations for batch data processing
05Advanced parameterized querying with pagination and cross-partition support
06132 GitHub stars
使用场景
01Developing serverless functions requiring low-latency NoSQL database access
02Building scalable Node.js backend services powered by Azure Cosmos DB
03Implementing data migration scripts or high-volume batch processing jobs