fastapi-database-seeding
CommunityIdempotent FastAPI seeders for SQLModel data.
Authortanaka-mambinge
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill defines standards for creating database seeders in FastAPI applications using SQLModel. It helps developers reliably populate initial and test data in a consistent, idempotent way.
Core Features & Use Cases
- Idempotent seeding with BaseSeeder pattern to avoid duplicate data.
- Structured seeder implementation in ./seeders with a BaseSeed class, model imports, and proper session handling.
- Seeder registration and controlled execution order via run_seeders.py to satisfy dependencies (e.g., categories before products).
Quick Start
Create a new seeder file in ./seeders, inherit from BaseSeed, implement seed(), and register it in run_seeders.py to run with the seeder runner.
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-database-seeding Download link: https://github.com/tanaka-mambinge/dotfiles/archive/main.zip#fastapi-database-seeding 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.