This skill streamlines the development of Python-based backends using Azure Cosmos DB by enforcing production-ready patterns such as RBAC-based authentication via DefaultAzureCredential, service layer abstraction, and async-first implementations. It guides developers through setting up singleton clients, managing partition keys efficiently, and implementing a five-tier Pydantic model hierarchy for clean data separation. By providing standardized templates for testing and CRUD operations, it ensures that applications are secure, maintainable, and optimized for high-performance NoSQL operations in the Azure cloud.
主な機能
01Parameterized queries to prevent NoSQL injection vulnerabilities
022,707 GitHub stars
03RBAC authentication using DefaultAzureCredential and Managed Identity
04Five-tier Pydantic model hierarchy for clean data validation
05Comprehensive TDD patterns with pre-configured pytest fixtures
06Async-first implementation with azure.cosmos.aio for high-concurrency
ユースケース
01Building scalable NoSQL backends for FastAPI or Starlette applications
02Developing testable service layers for complex document-store operations
03Implementing secure cloud-native storage with Azure Managed Identities