fastapi

Installation
Summary

Production-ready FastAPI patterns with Pydantic v2, SQLAlchemy 2.0 async, and JWT authentication.

  • Domain-based project structure, async database setup with SQLAlchemy 2.0, and dependency injection patterns for maintainable APIs
  • Comprehensive JWT authentication with password hashing, token generation, and protected routes using OAuth2
  • Prevents 7 documented issues including form data validation bugs, background task overwrites, Pydantic v2 migration breaking changes, and async event loop blocking
  • Built-in guidance on CORS configuration, error handling, testing with AsyncClient, and deployment via Uvicorn or Gunicorn
SKILL.md

FastAPI Skill

Production-tested patterns for FastAPI with Pydantic v2, SQLAlchemy 2.0 async, and JWT authentication.

Latest Versions (verified January 2026):

  • FastAPI: 0.128.0
  • Pydantic: 2.11.7
  • SQLAlchemy: 2.0.30
  • Uvicorn: 0.35.0
  • python-jose: 3.3.0

Requirements:

  • Python 3.9+ (Python 3.8 support dropped in FastAPI 0.125.0)
  • Pydantic v2.7.0+ (Pydantic v1 support completely removed in FastAPI 0.128.0)

Quick Start

Related skills
Installs
2.0K
GitHub Stars
776
First Seen
Jan 20, 2026