repository-placement
CommunityPlace repository interfaces where they belong.
Software Engineering#architecture#repository#clean-architecture#use-cases#domain-purity#interface-placement
Authorj5ik2o
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Repository interfaces must be placed in the use-case layer to avoid coupling the domain model to persistence concerns and to enforce clean architectural boundaries.
Core Features & Use Cases
- Provides guidance on where to locate repository interfaces in a Clean Architecture project.
- Explains the consequences of placing interfaces in the domain layer and offers actionable patterns to relocate them.
- Includes a practical scenario illustrating correct separation between domain, use cases, and interface adapters.
Quick Start
Move repository interface declarations into the use-case layer and adjust imports to prevent domain-models from importing persistence responsibilities.
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: repository-placement Download link: https://github.com/j5ik2o/okite-ai/archive/main.zip#repository-placement 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.