FastAPI и Celery — паттерны серверной разработки

engineering

server-skills is a Claude Code skill that provides framework-specific patterns and code-review checklists for the LlamaFarm server component built on FastAPI 0.116+, Celery 5.5+, and Pydantic 2.x. It is non-user-invocable and extends python-skills with four focused topic files — fastapi.md, celery.md, pydantic.md, and performance.md — covering route definitions, Celery task signatures with retry logic, Pydantic v2 model patterns, and async performance practices such as connection pooling and caching. The skill documents the full server/ directory layout, a classmethod-based service layer pattern, a typed exception hierarchy with registered FastAPI handlers, and structured logging via FastAPIStructLogger built on structlog. Teams building a Python async backend with a distributed task queue and strict typing will find it most useful for maintaining consistency across code reviews and onboarding.