check-repository-pattern
OfficialEnforce clean database access patterns
AuthorAsync-IO
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill automates the validation of database access within a codebase, ensuring adherence to the repository pattern and preventing common anti-patterns like direct database queries in route handlers.
Core Features & Use Cases
- Repository Pattern Enforcement: Verifies that database interactions are abstracted behind repository traits and implementations.
- God-Trait Detection: Identifies and flags the forbidden
DatabaseProvidergod-trait. - Direct Access Prevention: Detects and warns against direct SQL queries within route definitions.
- Use Case: Integrate this skill into your CI/CD pipeline to automatically catch violations of database access best practices before they are merged, maintaining code quality and maintainability.
Quick Start
Run the check-repository-pattern skill to validate database access in the current project.
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: check-repository-pattern Download link: https://github.com/Async-IO/pierre_mcp_server/archive/main.zip#check-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.