transactional-batch
CommunityAtomically batch Cosmos DB ops across documents.
AuthorFaysilAlshareef
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Cosmos DB atomic multi-document updates require all-or-nothing semantics within a single partition. This skill provides a reusable pattern to orchestrate transactional batches that either commit all changes or fail safely.
Core Features & Use Cases
- Atomic multi-document operations within a single partition using TransactionalBatch
- Chunk large batch workloads into groups of 100 to respect Cosmos DB limits
- Support optimistic concurrency with IfMatchEtag and per-item status reporting
- Use case: coordinate updating related documents like invoices and reports in a single transaction
Quick Start
Create a CosmosUnitOfWork, enqueue Create/Upsert/Replace/Delete operations, and call CommitAsync with the target PartitionKey.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: transactional-batch Download link: https://github.com/FaysilAlshareef/dotnet-ai-kit/archive/main.zip#transactional-batch Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.