impl-repository

Community

Reliable data access with safe, parameterized queries.

Authorciandt-fulvio
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It provides a data access layer with properly parameterized SQL, JSON handling, and domain-specific exceptions, keeping data operations separate from business logic.

Core Features & Use Cases

  • Parameterized Queries: All SQL uses placeholders to prevent injection.
  • Pagination & JSON: Handles paging and JSON fields with JSON1 and json_extract.
  • Domain Exceptions: Throws domain-specific errors for not-found or invalid operations.

Quick Start

Implement a repository in src/synth_lab/repositories/{entity}_repository.py inheriting from BaseRepository. Implement list_{entities}, get_by_id, create, update, and delete methods using parameterized SQL and JSON handling. Add a small usage example or test demonstrating safe data access.

Dependency Matrix

Required Modules

None required

Components

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: impl-repository
Download link: https://github.com/ciandt-fulvio/synth-lab/archive/main.zip#impl-repository

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.