Agents & OrchestrationSûr100100/100

Cosmos Provider (.NET)

Implementation details for the EF Core Azure Cosmos DB provider. Use when changing Cosmos-specific code.

ou envoie-le directement à ton agent.

Installer dans ton projet

$ curl -fsSL https://arboristhree.xyz/cli/install-skill.mjs -o /tmp/arboris-install-skill.mjs && node /tmp/arboris-install-skill.mjs cosmos-provider__dotnet-dotnet__src-efcore-agents-skills-7e65d31c6fb4
.NET
dotnet/dotnet
Contenu à copier
---
name: cosmos-provider
description: 'Implementation details for the EF Core Azure Cosmos DB provider. Use when changing Cosmos-specific code.'
user-invocable: false
metadata:
  origin: .NET
---

# Cosmos DB Provider

Non-relational provider with its own parallel query pipeline. Uses JSON for document materialization.

## Key Differences from Relational

- No migrations — use `EnsureCreated()`
- Documents as JSON — owned and complex types become embedded objects
- Partition key configuration required for performance
- `ETag` for optimistic concurrency
- No cross-container joins

## Azure Cosmos DB Emulator for Tests

- `TestEnvironment.InitializeAsync()` auto-starts a `Testcontainers.CosmosDb` container when `Test__Cosmos__DefaultConnection` is not set. Set the env var to use an existing emulator instead.
- Skip tests requiring unsupported features on the Linux emulator with ` [ConditionalFact(typeof(CosmosTestEnvironment), nameof(CosmosTestEnvironment.IsNotLinuxEmulator))]`.
Colle ce Markdown dans ton agent ou utilise les boutons ci-dessus pour l’écrire dans ton projet.

Ce que fait Cosmos Provider (.NET)

No migrations — use `EnsureCreated()`
Documents as JSON — owned and complex types become embedded objects
Partition key configuration required for performance
`ETag` for optimistic concurrency

Comment utiliser Cosmos Provider (.NET)

1
Copie le prompt
Un clic copie le prompt packagé (ou l'envoie à ton agent).
2
L'agent installe le skill
Il ajoute le SKILL.md et ses ressources à ton projet.
3
Activation automatique
Le skill s'active dès que le contexte correspond.

Déclencheurs pour Cosmos Provider (.NET)

Dis simplement à ton agent quelque chose comme :

Applique le skill cosmos-provider__dotnet-dotnet__src-efcore-agents-skills-7e65d31c6fb4 à cette tâche
Utilise cosmos-provider__dotnet-dotnet__src-efcore-agents-skills-7e65d31c6fb4 pour améliorer cette implémentation
Passe en revue ce sujet avec cosmos-provider__dotnet-dotnet__src-efcore-agents-skills-7e65d31c6fb4

Skills liés à Cosmos Provider (.NET)