fastapi-repository-pattern
CommunityType-safe CRUD repositories for FastAPI
Authoramaozhao
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a type-safe, reusable repository pattern to centralize CRUD operations, keeping database access logic out of services.
Core Features & Use Cases
- Type-safe, generic CRUD operations across models
- Async SQLAlchemy 2.0 integration for scalable APIs
- Clear separation of data access from business logic, enabling easier testing
Quick Start
Instantiate the repository with a SQLAlchemy model and an AsyncSession, then leverage get, list, create, update, and delete in your FastAPI services.
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: fastapi-repository-pattern Download link: https://github.com/amaozhao/MySkills/archive/main.zip#fastapi-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.