Skip to content
Skillv1.0.0

fastapi-local-dev

FastAPI dev/prod runbook (Uvicorn reload, Gunicorn)

by bobmatnyc(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from bobmatnyc/claude-mpm-skills (toolchains/python/frameworks/fastapi-local-dev/SKILL.md). Install upstream with npx skills add bobmatnyc/claude-mpm-skills --skill fastapi-local-dev. Copyright stays with the author (MIT).

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

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/bobmatnyc-claude-mpm-skills-fastapi-local-dev/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

bobmatnyc-claude-mpm-skills-fastapi-local-dev.ocm.jsonjson
{
  "ocm": "1",
  "id": "bobmatnyc-claude-mpm-skills-fastapi-local-dev",
  "kind": "skill",
  "name": "fastapi-local-dev",
  "description": "FastAPI dev/prod runbook (Uvicorn reload, Gunicorn)",
  "publisher": "bobmatnyc",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "python",
      "fastapi",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "FastAPI dev/prod runbook (Uvicorn reload, Gunicorn)"
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/bobmatnyc/claude-mpm-skills",
      "path": "toolchains/python/frameworks/fastapi-local-dev/SKILL.md",
      "ref": "HEAD",
      "url": "https://github.com/bobmatnyc/claude-mpm-skills/blob/HEAD/toolchains/python/frameworks/fastapi-local-dev/SKILL.md",
      "key": "bobmatnyc/claude-mpm-skills/toolchains/python/frameworks/fastapi-local-dev/SKILL.md"
    },
    "license": "MIT"
  },
  "instructions": "# FastAPI Local Dev\n\n- Dev: `uvicorn app.main:app --reload`\n- Imports: run from repo root; use `python -m uvicorn ...` or `PYTHONPATH=.`\n- WSL: `WATCHFILES_FORCE_POLLING=true` if reload misses changes\n- Prod: `gunicorn app.main:app -k uvicorn.workers.UvicornWorker -w <n> --bind :8000`\n\nAnti-patterns:\n- `--reload --workers > 1`\n- PM2 `watch: true` for Python\n\nReferences: `references/`.",
  "cost": {
    "context_tokens": 96
  }
}

Fetch it by URL: GET /api/v1/registry/bobmatnyc-claude-mpm-skills-fastapi-local-dev/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.