cosmos-repository

Community

Cosmos DB data access with LINQ & pagination.

AuthorFaysilAlshareef
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Cosmos DB repository implementations often require boilerplate for LINQ queries, discriminator filtering, and paginated data access, leading to repetitive code and potential inconsistencies.

Core Features & Use Cases

  • LINQ-based data access: standardizes query patterns against Cosmos containers with discriminators.
  • Pagination with FeedIterator: efficiently streams large result sets without loading everything into memory.
  • ETag-aware upserts and point reads: optimizes concurrency and reduces conflicts in concurrent environments.
  • Use Case: Create a Cosmos DB repository for a microservice and implement common data access patterns with a reusable base.

Quick Start

Create or refactor a Cosmos DB repository using LINQ queries and FeedIterator pagination.

Dependency Matrix

Required Modules

None required

Components

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: cosmos-repository
Download link: https://github.com/FaysilAlshareef/dotnet-ai-kit/archive/main.zip#cosmos-repository

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.