r/coolgithubprojects • u/-UniK-0 • 11m ago
fastapi-prod-ready – A Claude Code skill that audits FastAPI + PostgreSQL prototypes before going to production
https://github.com/tuvatechvalley/fastapi-prod-readyHey! I built this open-source Claude Code skill after seeing how often FastAPI prototypes work fine for one user locally, then run into trouble once real traffic hits.
It targets FastAPI + PostgreSQL + SQLAlchemy (async) + Alembic apps and audits your existing codebase without asking for a full rewrite. It also includes three focused checks you can run on their own:
- `backend-review` – full pre-launch audit with a readable report
- `concurrency-check` – catches things that break when multiple users hit the app at once
- `migration-review` – checks Alembic/Postgres migrations for locking or downtime risks
Happy to hear any feedback or edge cases you think should be added!
1
u/Yarail 9m ago
Nice idea, especially the migration-review and concurrency checks. The thing that bit me hardest in FastAPI prod was accidentally running sync DB calls or blocking IO inside async def routes and starving the event loop under load, plus forgetting to tune SQLAlchemy pool sizes and timeouts. Checking for those would be super useful if it's not already in there.