litestar-requests
Installation
SKILL.md
Requests
Execution Workflow
- Choose the narrowest input mechanism that matches the contract: typed parameters, structured body data, or raw
Requestaccess. - Type every path, query, header, and cookie input explicitly.
- Use
Parameter(...)andBody(...)metadata when aliases, constraints, content type, or documentation need to be explicit. - Reach for
Requestonly when you need raw body access, connection metadata, auth context, or request-scoped state. - Handle forms, multipart, and uploads with explicit media type and size/security expectations.
- Keep transport validation separate from business-domain validation.