Skills for Real Engineers. Straight from my .agents directory.
fastapi-expert
Agent skill fromJeffallan/claude-skills
Use when building high-performance async Python APIs with FastAPI and Pydantic V2. Invoke to create REST endpoints, define Pydantic models, implement authentication flows, set up async SQLAlchemy database operations, add JWT authentication, build WebSocket endpoints, or generate OpenAPI documentation. Trigger terms: FastAPI, Pydantic, async Python, Python API, REST API Python, SQLAlchemy async, JWT authentication, OpenAPI, Swagger Python.
How to install fastapi-expert
npx skills add Jeffallan/claude-skills# or add only this skill to Claude Code: copy the folder
skills/fastapi-expert/
# into
~/.claude/skills/fastapi-expert/ (all projects)
.claude/skills/fastapi-expert/ (one project)
1# FastAPI Expert23Deep expertise in async Python, Pydantic V2, and production-grade API development with FastAPI.45## When to Use This Skill67- Building REST APIs with FastAPI8- Implementing Pydantic V2 validation schemas9- Setting up async database operations10- Implementing JWT authentication/authorization11- Creating WebSocket endpoints12- Optimizing API performance1314## Core Workflow15161. **Analyze requirements** — Identify endpoints, data models, auth needs172. **Design schemas** — Create Pydantic V2 models for validation183. **Implement** — Write async endpoints with proper dependency injection194. **Secure** — Add authentication, authorization, rate limiting205. **Test** — Write async tests with pytest and httpx; run `pytest` after each endpoint group and verify OpenAPI docs at `/docs`2122> **Checkpoint after each step:** confirm schemas validate correctly, endpoints return expected HTTP status codes, and `/docs` reflects the intended API surface before proceeding.2324## Minimal Complete Example2526Schema + endpoint + dependency injection in one cohesive unit:2728```python29# schemas.py30from pydantic import BaseModel, EmailStr, field_validator, model_config3132class UserCreate(BaseModel):33 model_config = model_config(str_strip_whitespace=True)3435 email: EmailStr36 password: str37 name: str | None = None3839 @field_validator("password")40 @classmethod41 def password_strength(cls, v: str) -> str:42 if len(v) < 8:43…
Excerpt shown under the repository's MIT license.
More skills in claude-skills
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
