fastapi
π―Skillfrom jezweb/claude-skills
Provides FastAPI development patterns including async endpoints, dependency injection, Pydantic models, authentication, and API documentation best practices
Overview
A Claude Code skill that provides production-tested patterns for building Python APIs with FastAPI, Pydantic v2, SQLAlchemy 2.0 async, and JWT authentication. It covers project structure, validation, database integration with the uv package manager, and documents prevention strategies for 7 common errors including 422 validation, CORS, async blocking, and OpenAPI schema issues.
Key Features
- Domain-Based Project Structure - Provides an organized layout with separate domains (auth, items, shared) for maintainable FastAPI projects
- Pydantic v2 Integration - Covers schema validation patterns, ConfigDict usage, and proper model separation for create/update/response flows
- SQLAlchemy 2.0 Async - Includes async database setup with aiosqlite and modern SQLAlchemy patterns
- JWT Authentication - Built-in patterns for implementing JWT auth with python-jose and passlib
- Error Prevention - Documents 7 specific common errors (422 validation, CORS, async blocking, form data, background tasks, OpenAPI schema) with solutions
Who is this for?
This skill is designed for Python developers building REST APIs with FastAPI who want to follow production-tested patterns and avoid common pitfalls. It is particularly valuable for developers creating APIs that need JWT authentication, Pydantic v2 validation, or async database access, and who want to use the uv package manager for modern Python project management.
Same repository
jezweb/claude-skills(161 items)
Installation
npx vibeindex add jezweb/claude-skills --skill fastapinpx skills add jezweb/claude-skills --skill fastapi~/.claude/skills/fastapi/SKILL.mdSKILL.md
More from this repository10
A collection of production-ready Claude Code skills covering Tailwind CSS v4, shadcn/ui integration, and modern web development patterns.
A collection of production-ready Claude Code skills covering Tailwind CSS v4, shadcn/ui integration, and modern web development patterns.
Provides Zustand state management patterns for React including store creation, selectors, middleware, and best practices for scalable client-side state
Provides React Hook Form integration patterns with Zod schema validation for type-safe, performant form handling
A collection of production-ready Claude Code skills covering Tailwind CSS v4, shadcn/ui integration, and modern web development patterns.
A collection of production-ready Claude Code skills covering Tailwind CSS v4, shadcn/ui integration, and modern web development patterns.
A collection of production-ready Claude Code skills covering Tailwind CSS v4, shadcn/ui integration, and modern web development patterns.
Skill for generating complete, accessible color palettes from a single brand hex, creating 11-shade scales, semantic tokens, dark mode variants, and WCAG contrast checking for Tailwind v4
A collection of production-ready Claude Code skills covering Tailwind CSS v4, shadcn/ui integration, and modern web development patterns.
Skill for building React animations with Motion (formerly Framer Motion), covering gestures, scroll effects, spring physics, layout animations, and SVG with bundle sizes from 2.3KB to 34KB