Litestar Middleware

Design and apply Litestar middleware for cross-cutting concerns such as CORS, CSRF, allowed-host checks, compression, rate limiting, logging, sessions, request enrichment, policy enforcement, and custom ASGI pipeline control. Use when behavior must wrap broad route sets consistently across the ASGI stack. Do not use for route-specific business rules, simple response mutation better handled by lifecycle hooks, or auth/guard policy work that belongs in security-focused skills.

alti3 Updated 7 repo stars

File contents

alti3/litestar-skills commit a5e49b7f74

Frequently asked questions

npx get-skill add alti3/litestar-middleware