Agent skill

repository-pattern

Use repositories to encapsulate database queries and provide a clean interface for data access Use when designing system architecture. Architecture category skill.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/repository-pattern

Metadata

Additional technical details for this skill

category
Architecture
priority
medium
is built in
YES
session guardian id
builtin_repository_pattern

SKILL.md

Repository Pattern

Use repositories to encapsulate database queries and provide a clean interface for data access. Repositories return domain objects, not database rows. The rest of the application works with repositories without knowing about the database. This enables: testing with in-memory repositories, switching databases, centralizing query logic. Define repository interfaces that the domain uses.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results