net-repository-pattern
CommunityEF Core repository pattern with Unit of Work.
Authormitkox
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill provides a clean, reusable data access layer for .NET projects by implementing a repository pattern with Unit of Work for EF Core. It decouples data access concerns from domain logic, improves testability, and reduces boilerplate across aggregates.
Core Features & Use Cases
- Generic repository base: A shared base with common CRUD and query capabilities.
- Specific repositories: Concrete repositories per aggregate (e.g., Product, Order, User).
- Unit of Work pattern: Coordinated commits across repositories.
- EF Core integration: DbContext-based data access with EF Core.
- Specification pattern support: Flexible queries via ISpecification.
- Use Case: Implement data access layer for multiple aggregates in a clean, maintainable way.
Quick Start
Create a new .NET project, add EF Core and infrastructure layers, implement AppDbContext, add base repository and unit of work, and execute sample queries using the UnitOfWork.
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: net-repository-pattern Download link: https://github.com/mitkox/ai-coding-factory/archive/main.zip#net-repository-pattern 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 223,000+ vetted skills library on demand.