migrating-documentdb-to-cosmos Skill
Migrates from the deprecated Microsoft.Azure.DocumentDB SDK (V2) to the modern Microsoft.Azure.Cosmos SDK (V3) for Azure Cosmos DB. Use ONLY when Microsoft.Azure.DocumentDB has been flagged as deprecated or obsolete and must be replaced — not for version-bump scenarios where the V2 SDK is still supported. Published by microsoft in upgrade-agent-plugins.
What is migrating-documentdb-to-cosmos Skill?
Migrates from the deprecated Microsoft.Azure.DocumentDB SDK (V2) to the modern Microsoft.Azure.Cosmos SDK (V3) for Azure Cosmos DB. Use ONLY when Microsoft.Azure.DocumentDB has been flagged as deprecated or obsolete and must be replaced — not for version-bump scenarios where the V2 SDK is still supported. Published by microsoft in upgrade-agent-plugins. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.
Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.
Key capabilities
- Includes SKILL.md support
- Reusable instructions support
- Database workflows
- Data analysis
- Database workflows use cases
- Data analysis use cases
Technical details
- Install or run with Copy skill directory
When to use migrating-documentdb-to-cosmos Skill
- Use it for database workflows.
- Use it for data analysis.
Built with
Editorial notes
Source
- Creator: microsoft
- Repository: microsoft/upgrade-agent-plugins
- Skill file: plugins/upgrade-agent/extenders/upgrade-dotnet/upgrade/skills/lazy/libraries/migrating-documentdb-to-cosmos/SKILL.md
What it does
Migrates from the deprecated Microsoft.Azure.DocumentDB SDK (V2) to the modern Microsoft.Azure.Cosmos SDK (V3) for Azure Cosmos DB. Use ONLY when Microsoft.Azure.DocumentDB has been flagged as deprecated or obsolete and must be replaced — not for version-bump scenarios where the V2 SDK is still supported.
Skill instructions
DocumentDB to Cosmos SDK Migration Overview Migrate from the legacy Microsoft.Azure.DocumentDB (V2) SDK to the modern Microsoft.Azure.Cosmos (V3) SDK. The V3 SDK introduces a new object model (CosmosClient → Database → Container) and requires explicit partition keys on most operations. All data-plane calls are async-first, and the Document base class is replaced by generic types or dynamic. Package Reference Changes Old References (Remove) xml <PackageReference Include="Microsoft.Azure.DocumentDB" Version="{any}" / <!-- Or the .NET Core variant -- <PackageReference Include="Microsoft.Azure.DocumentDB.Core" Version="{any}" / New Reference (Add) xml <PackageReference Include="Microsoft.Azure.Cosmos" Version="{latest-stable}" / Use tools or NuGet to find the latest stable version. Workflow Migration Progress: - [ ] Step 1: Detect DocumentDB SDK usage - [ ] Step 2: Update package references - [ ] Step 3: Replace client and resource model - [ ] Step 4: Convert CRUD operations - [ ] Step 5:
Explore related resources
Frequently asked questions
What is migrating-documentdb-to-cosmos?
migrating-documentdb-to-cosmos is a open-source AI agent skill with Copy skill directory. Migrates from the deprecated Microsoft.Azure.DocumentDB SDK (V2) to the modern Microsoft.Azure.Cosmos SDK (V3) for Azure Cosmos DB.
Who is migrating-documentdb-to-cosmos best for?
migrating-documentdb-to-cosmos is best for reusing agent instructions, scripts, and references, database workflows, data analysis workflows.
How do I install migrating-documentdb-to-cosmos?
Install or run migrating-documentdb-to-cosmos using Copy skill directory. Check migrating-documentdb-to-cosmos for the latest setup command.
Is migrating-documentdb-to-cosmos actively maintained?
migrating-documentdb-to-cosmos may need a closer maintenance check before production use.
Auto-fetched from GitHub.