azure-cosmos-db-py
A Microsoft skill for building a Cosmos DB NoSQL data layer in Python web services, with FastAPI in the examples.
Was der Skill vermittelt
A Microsoft skill for building a Cosmos DB NoSQL data layer in Python web services, with FastAPI in the examples. It lays out a client module that signs in with DefaultAzureCredential in Azure and uses the local emulator during development, Pydantic model hierarchies, a service layer with create, read, update and delete methods, partition key strategy, parameterised queries and test-first patterns. Template Python files for the client, a service class and pytest fixtures are bundled for the agent to adapt.
Funktionen
- Set up a Cosmos DB client with Entra ID or the emulator
- Generate service-layer classes with CRUD methods
- Choose partition keys and write parameterised queries
- Scaffold pytest fixtures for Cosmos code
Überblick
- Herausgeber
- Microsoft
- Tool
- Microsoft Azure
Installation
- Führe diesen Befehl aus, um ihn zu Beliebiger Client hinzuzufügen:
npx skills add microsoft/skills
Was enthalten ist
- assets/conftest_template.py
- assets/cosmos_client_template.py
- assets/service_template.py
- references/client-setup.md
- references/error-handling.md
- references/partitioning.md
- references/service-layer.md
- references/testing.md
MCP-Server und Skills können Code auf deinem Rechner ausführen und auf deine Daten zugreifen. Prüfe den Quellcode, bevor du etwas installierst.
Details
| Angabe | Wert | Quelle |
|---|---|---|
| Typ | Skill | |
| Tool | Microsoft Azure | |
| Herausgeber | Microsoft | Quelle |
| Offizieller Status | Offiziellmicrosoft/skills is in Microsoft's own GitHub organisation; SKILL.md metadata author Microsoft | Quelle |
| Status | Work in Progress | Quelle |
| Braucht API-Key oder Anmeldung | In der Dokumentation nicht angegeben | |
| Enthält Skripte | Nein | Quelle |
| Plattformen | In der Dokumentation nicht angegeben | |
| KI-Clients | In der Dokumentation nicht angegeben | |
| Lizenz | MIT | Quelle |
| Preis | In der Dokumentation nicht angegeben | |
| Aktivität | Letzter Commit am 10. Nov. 20263.193 GitHub-SterneKeine Download-Daten verfügbar (nicht auf npm oder PyPI) | Quelle |
| Links | Repository Website |
Quellen
- Skill-Datei (SKILL.md)github.com/microsoft/skills · Belegt: Lizenz14. Nov. 2026
- GitHub-Repositorygithub.com/microsoft/skills · Belegt: Offizieller Status, Herausgeber, Status, Aktivität, Lizenz11. Nov. 2026
- Ordner im Repository (azure-cosmos-db-py)github.com/microsoft/skills · Belegt: Enthält Skripte14. Nov. 2026