Agent skill

fastapi-local-dev

FastAPI dev/prod runbook (Uvicorn reload, Gunicorn)

Stars 28
Forks 8

Install this agent skill to your Project

npx add-skill https://github.com/bobmatnyc/claude-mpm-skills/tree/main/toolchains/python/frameworks/fastapi-local-dev

SKILL.md

FastAPI Local Dev

  • Dev: uvicorn app.main:app --reload
  • Imports: run from repo root; use python -m uvicorn ... or PYTHONPATH=.
  • WSL: WATCHFILES_FORCE_POLLING=true if reload misses changes
  • Prod: gunicorn app.main:app -k uvicorn.workers.UvicornWorker -w <n> --bind :8000

Anti-patterns:

  • --reload --workers > 1
  • PM2 watch: true for Python

References: references/.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results