CtrlK
BlogDocsLog inGet started
Tessl Logo

python-fastapi-patterns

FastAPI web framework patterns. Triggers on: fastapi, api endpoint, dependency injection, pydantic model, openapi, swagger, starlette, async api, rest api, uvicorn.

81

1.53x
Quality

75%

Does it follow best practices?

Impact

92%

1.53x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No known issues

Optimize this skill with Tessl

npx tessl skill review --optimize ./data/skills-md/0xdarkmatter/claude-mods/python-fastapi-patterns/SKILL.md
SKILL.md
Quality
Evals
Security

Evaluation results

100%

38%

Member Registration API

Pydantic request/response models with validation

Criteria
Without context
With context

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%

88%

50%

Inventory Search API

Annotated path/query params and dependency injection

Criteria
Without context
With context

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%

90%

10%

Logistics Platform API

Router organisation, lifespan, and exception handling

Criteria
Without context
With context

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%

Repository
NeverSight/skills_feed
Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Table of Contents

Is this your skill?

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.