FastAPI — разработка асинхронных REST API на Python
web-development
Fastapi expert is a Claude Code skill that designs and implements high-performance async Python APIs using FastAPI, Pydantic V2, async SQLAlchemy, and JWT authentication. Reach for it when you need to spin up a REST API in Python with proper input validation, when you're migrating from Django/DRF to FastAPI and aren't sure where to start, when you need OAuth2 + JWT auth wired up correctly, or when you want WebSocket endpoints and auto-generated OpenAPI/Swagger docs without writing the spec by hand. The skill covers the full stack: Pydantic V2 schemas (field_validator, model_config, from_attributes), async SQLAlchemy CRUD, Annotated dependency injection, OAuth2PasswordBearer, jose for token handling, and async testing with pytest-asyncio and httpx. All generated code uses strict type hints, async/await on every I/O call, and checkpoint verifications after each step — schemas, HTTP status codes, /docs surface. Direction is Python backend code generation, not Node.js or Go (for Django projects use django-expert from the same catalog). Works well for greenfield services and DRF migrations; does not replace a security review before production — SECRET_KEY and environment settings are the developer's responsibility.
- #fastapi
- #python
- #rest-api
- #pydantic
- #async
- #sqlalchemy
- #jwt-authentication