From litestar
Provides guard patterns, middleware user loading, and validation for Litestar authentication and authorization (JWTAuth, SessionAuth, role/tenant checks, WebSocket auth).
How this skill is triggered — by the user, by Claude, or both
Slash command
/litestar:litestar-auth-guardsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill for authentication boundaries, authorization checks, guard composition, and user context.
Use this skill for authentication boundaries, authorization checks, guard composition, and user context.
from litestar.connection import ASGIConnection
from litestar.exceptions import PermissionDeniedException
from litestar.handlers import BaseRouteHandler
async def requires_active_user(connection: ASGIConnection, _: BaseRouteHandler) -> None:
if not connection.user or not connection.user.is_active:
raise PermissionDeniedException("Authentication required")
npx claudepluginhub litestar-org/litestar-skills --plugin litestarMines projects and conversations into a searchable memory palace. Activates on queries about MemPalace, memory palace, mining, searching, palace setup, wings, rooms, drawers, or recalling past work.
Whole-repo audit for over-engineering: finds dead code, unnecessary abstractions, stdlib-replaceable dependencies. Outputs ranked findings and net line/dep savings.