FastAPI web framework patterns. Triggers on: fastapi, api endpoint, dependency injection, pydantic model, openapi, swagger, starlette, async api, rest api, uvicorn.
81
75%
Does it follow best practices?
Impact
92%
1.53xAverage score across 3 eval scenarios
Passed
No known issues
Optimize this skill with Tessl
npx tessl skill review --optimize ./data/skills-md/0xdarkmatter/claude-mods/python-fastapi-patterns/SKILL.mdPydantic request/response models with validation
Field validation constraints
0%
100%
EmailStr usage
0%
100%
ORM mode config
100%
100%
response_model decorator param
100%
100%
status_code 201
100%
100%
async def endpoints
0%
100%
FastAPI app metadata
100%
100%
Separate request/response models
100%
100%
Required Field marker
0%
100%
BaseModel inheritance
100%
100%
Annotated path/query params and dependency injection
Annotated path param
0%
100%
Path ge=1 constraint
0%
100%
Query skip ge=0
100%
100%
Query limit le=100
100%
100%
yield in dependency
0%
100%
Depends injection
100%
100%
Annotated type alias
0%
100%
async def endpoints
0%
100%
Optional query param
100%
100%
async dependency function
0%
0%
Router organisation, lifespan, and exception handling
asynccontextmanager lifespan
100%
100%
app.state resource storage
0%
100%
lifespan in FastAPI constructor
100%
100%
APIRouter prefix
100%
100%
APIRouter tags
100%
100%
include_router calls
100%
100%
HTTPException raised
0%
0%
Custom exception class
100%
100%
exception_handler decorator
100%
100%
JSONResponse from handler
100%
100%
c50d4b5
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.