Skip to content

FastAPI dev and production runbook covering Uvicorn hot reload and Gunicorn with Uvicorn workers.

CCM score
52 of 100
skills.sh installs
373
GitHub stars
79
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers local dev with uvicorn app.main:app --reload and production with Gunicorn's UvicornWorker class
  • Includes import-path guidance (repo-root execution, python -m uvicorn, or PYTHONPATH=.) and a WSL polling fix via WATCHFILES_FORCE_POLLING=true
  • Flags anti-patterns to avoid, including combining --reload with multiple workers and enabling PM2 watch: true for Python
  • Designed for Python developers deploying FastAPI apps under Uvicorn or Gunicorn with optional PM2 process management

Install

$ npx -y skills add bobmatnyc/claude-mpm-skills --skill fastapi-local-dev -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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/.

Details

Repository
github.com/bobmatnyc/claude-mpm-skills
Categories
Backend & APIs, Python
First seen
Jun 3, 2026

Questions

What does the fastapi-local-dev skill do?

It gives the agent a runbook for running FastAPI locally in development and production. Development uses Uvicorn with auto-reload, while production uses Gunicorn with the UvicornWorker class.

How do I install the fastapi-local-dev skill?

Run npx -y skills add bobmatnyc/claude-mpm-skills --skill fastapi-local-dev -y in your project. Once installed, the agent can follow the FastAPI dev and prod commands and their import and WSGI-specific tips.

Where does fastapi-local-dev stand in the Backend & APIs category?

It sits in the Backend & APIs category on Claude Marketplaces, alongside skills such as neon, firebase-basics and firebase-auth-basics. It is narrower than those, focusing on local run and deploy commands for a FastAPI app.

Does fastapi-local-dev cover WSL and common reload problems?

Yes, it notes that WSL may need WATCHFILES_FORCE_POLLING=true when reload misses file changes. It also lists anti-patterns such as combining --reload with more than one worker.

More from bobmatnyc/claude-mpm-skills

All 154

Similar to Fastapi Local Dev

More Backend & APIs