·azure-cosmos-db-py
</>

azure-cosmos-db-py

microsoft/agent-skills

按照生产级模式使用 Python/FastAPI 构建 Azure Cosmos DB NoSQL 服务。在实现具有双重身份验证(DefaultAzureCredential + 模拟器)的数据库客户端设置、具有 CRUD 操作的服务层类、分区键策略、参数化查询或 Cosmos 的 TDD 模式时使用。在“Cosmos DB”、“NoSQL 数据库”、“文档存储”、“添加持久性”、“数据库服务层”或“Python Cosmos SDK”等短语上触发。

1安装·0热度·@microsoft

安装

$npx skills add https://github.com/microsoft/agent-skills --skill azure-cosmos-db-py

SKILL.md

Build production-grade Azure Cosmos DB NoSQL services following clean code, security best practices, and TDD principles.

| references/client-setup.md | Setting up Cosmos client with dual auth, SSL config, singleton pattern | | references/service-layer.md | Implementing full service class with CRUD, conversions, graceful degradation | | references/testing.md | Writing pytest tests, mocking Cosmos, integration test setup |

| references/partitioning.md | Choosing partition keys, cross-partition queries, move operations | | references/error-handling.md | Handling CosmosResourceNotFoundError, logging, HTTP error mapping |

按照生产级模式使用 Python/FastAPI 构建 Azure Cosmos DB NoSQL 服务。在实现具有双重身份验证(DefaultAzureCredential + 模拟器)的数据库客户端设置、具有 CRUD 操作的服务层类、分区键策略、参数化查询或 Cosmos 的 TDD 模式时使用。在“Cosmos DB”、“NoSQL 数据库”、“文档存储”、“添加持久性”、“数据库服务层”或“Python Cosmos SDK”等短语上触发。 来源:microsoft/agent-skills。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/microsoft/agent-skills --skill azure-cosmos-db-py
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 azure-cosmos-db-py?

按照生产级模式使用 Python/FastAPI 构建 Azure Cosmos DB NoSQL 服务。在实现具有双重身份验证(DefaultAzureCredential + 模拟器)的数据库客户端设置、具有 CRUD 操作的服务层类、分区键策略、参数化查询或 Cosmos 的 TDD 模式时使用。在“Cosmos DB”、“NoSQL 数据库”、“文档存储”、“添加持久性”、“数据库服务层”或“Python Cosmos SDK”等短语上触发。 来源:microsoft/agent-skills。

如何安装 azure-cosmos-db-py?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/microsoft/agent-skills --skill azure-cosmos-db-py 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/microsoft/agent-skills