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(197 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.
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
Image processing skill for Claude Code providing guided workflows for image manipulation, resizing, format conversion, and optimization.
A collection of production-ready Claude Code skills covering Tailwind CSS v4, shadcn/ui integration, and modern web development patterns.
Generates favicon files in multiple sizes and formats for web projects, from a collection of 87 production-ready skills for Cloudflare, React, and AI integrations.
A WordPress Elementor skill from a Claude Code skills collection that guides Claude through recipes for building and managing WordPress sites with the Elementor page builder.
Integrates ElevenLabs text-to-speech API for generating natural-sounding voice audio in multiple languages and styles