Azure Cosmos DB Python Service Builder
Builds production-grade Azure Cosmos DB NoSQL services using Python with clean code patterns, security best practices, and TDD principles.
This skill provides a comprehensive framework for implementing Azure Cosmos DB services in Python, focusing on maintainability and security. It guides developers through setting up singleton clients with RBAC authentication via DefaultAzureCredential, implementing a robust five-tier Pydantic model hierarchy for data separation, and creating service layers that support graceful degradation. By emphasizing test-driven development (TDD) with pre-configured mocking patterns and partition key isolation, it ensures that Cosmos DB integrations are both scalable and resilient within modern cloud-native architectures.