fastapi-local-dev
FastAPI dev/prod runbook (Uvicorn reload, Gunicorn)
- License 许可
- MIT
- 最近更新
- 2026-05-22
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- fastapi-local-dev
- tags
- [ "python", "fastapi" ]
- author
- Claude MPM Team
- license
- MIT
- version
- 1.1.0
- category
- toolchain
- description
- FastAPI dev/prod runbook (Uvicorn reload, Gunicorn)
- progressive_disclosure
- { "entry_point": { "summary": "FastAPI dev: Uvicorn reload; prod: Gunicorn+UvicornWorker" } }
02 资源文件 6
- 参考文档references/dev-server.md1.3 KB
- 参考文档references/docker.md976 B
- 参考文档references/process-management.md949 B
- 参考文档references/production-gunicorn.md1.0 KB
- 参考文档references/templates.md463 B
- 参考文档references/troubleshooting.md1014 B
03 SKILL.md 正文
FastAPI Local Dev
- Dev:
uvicorn app.main:app --reload - Imports: run from repo root; use
python -m uvicorn ...orPYTHONPATH=. - WSL:
WATCHFILES_FORCE_POLLING=trueif reload misses changes - Prod:
gunicorn app.main:app -k uvicorn.workers.UvicornWorker -w <n> --bind :8000
Anti-patterns:
--reload --workers > 1- PM2
watch: truefor Python
References: references/.
04 同仓库更多 Skills
simpy
Process-based discrete-event simulation framework in Python. Use this skill when building simulations of systems with processes, queues, resources, and time-based events such as manufacturing systems, service operations, network traffic, logistics, or any system where entities interact with shared resources over time.
shopify-expert
Builds and debugs Shopify themes (.liquid files, theme.json, sections), develops custom Shopify apps (shopify.app.toml, OAuth, webhooks), and implements Storefront API integrations for headless storefronts. Use when building or customizing Shopify themes, creating Hydrogen or custom React storefronts, developing Shopify apps, implementing checkout UI extensions or Shopify Functions, optimizing performance, or integrating third-party services. Invoke for Liquid templating, Storefront API, app development, checkout customization, Shopify Plus features, App Bridge, Polaris, or Shopify CLI workflows.
shap
Model interpretability and explainability using SHAP (SHapley Additive exPlanations). Use this skill when explaining machine learning model predictions, computing feature importance, generating SHAP plots (waterfall, beeswarm, bar, scatter, force, heatmap), debugging models, analyzing model bias or fairness, comparing models, or implementing explainable AI. Works with tree-based models (XGBoost, LightGBM, Random Forest), deep learning (TensorFlow, PyTorch), linear models, and any black-box model.
shadcn-ui
Deep expertise on shadcn/ui component library including installation, customization, theming, and accessibility patterns. Use when building UI with shadcn/ui components, integrating Radix UI primitives, configuring Tailwind CSS v4 themes, or implementing dark mode. Covers Next.js App Router, Pages Router, and Vite setups.
seoul-subway-arrival
Look up Seoul real-time subway arrival information with the official Seoul Open Data API. Use when the user asks when a train arrives, which trains are approaching a station, or how crowded Seoul subway timing looks right now.
seo-optimization
Comprehensive 7-phase SEO optimization workflow covering technical SEO auditing, keyword research strategy, on-page optimization, content SEO and E-E-A-T, structured data implementation, link building, and AI search optimization. Use when auditing search engine visibility, diagnosing ranking issues, implementing schema markup, conducting keyword research, optimizing content for E-E-A-T signals, or adapting for AI-driven search (AI Overviews, SGE).