fastapi
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
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
More from jezweb/claude-skills
tailwind-v4-shadcn
|
2.7Ktanstack-query
|
2.5Kshadcn-ui
Install and configure shadcn/ui components for React projects. Guides component selection, installation order, dependency management, customisation with semantic tokens, and common UI recipes (forms, data tables, navigation, modals). Use after tailwind-theme-builder has set up the theme infrastructure, when adding components, building forms, creating data tables, or setting up navigation.
2.5Ktailwind-theme-builder
>
2.2Kcolor-palette
>
1.9Ktanstack-start
Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. No template repo — Claude generates every file fresh per project.
1.6K