dotnet-specification-pattern
CommunityRefine .NET queries with the Specification Pattern.
Software Engineering#refactoring#domain-driven design#dotnet#repository pattern#specification pattern#query composition
Authormcj-coder
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you avoid duplicating ORM semantics in generic repository patterns and scattered LINQ queries, leading to more maintainable and testable .NET code.
Core Features & Use Cases
- Enforces Specification Pattern: Promotes defining what to fetch, not how.
- Reduces ORM Duplication: Prevents generic repositories from exposing ORM-specific methods.
- Improves Testability: Makes query logic independently testable.
- Use Case: Refactor a complex filtering and sorting logic currently scattered across multiple handlers into a single, reusable
ActiveCustomersForTenantSpecclass.
Quick Start
Use the dotnet-specification-pattern skill to refactor the current repository query logic into a specification.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 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: dotnet-specification-pattern Download link: https://github.com/mcj-coder/development-skills/archive/main.zip#dotnet-specification-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.