advanced-alchemy
Auto-activate for advanced_alchemy imports, alembic/, SQLAlchemyAsyncRepositoryService, SQLAlchemyAsyncConfig, repository_type, service_class, filters, or…
Auto-activate for exception_handlers, HTTPException, ApplicationError, NotFoundException, ValidationException, PermissionDeniedException, RFC 9457, or domain error mapping. Not for client-side errors.
$ npx -y skills add litestar-org/litestar-skills --skill litestar-exceptions --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/litestar-exceptionsContext preview
The summary Claude sees to decide when to auto-load this skill.
Auto-activate for exception_handlers, HTTPException, ApplicationError, NotFoundException, ValidationException, PermissionDeniedException, RFC 9457, or domain error mapping. Not for client-side errors.
name: litestar-exceptions description: "Auto-activate for exception_handlers, HTTPException, ApplicationError, NotFoundException, ValidationException, PermissionDeniedException, RFC 9457, or domain error mapping. Not for client-side errors."
Use this skill for domain exception hierarchies, handler registration, and HTTP error response shape.
9457. Native `HTTPException` responses are Litestar's JSON error envelope.
<workflow>
1. Define a small domain exception hierarchy. 2. Register handlers at app config. 3. Raise domain exceptions from services or Litestar exceptions from framework boundaries. 4. Test response status and payload shape.
</workflow>
<guardrails>
`ProblemDetailsPlugin` is configured for them.
</guardrails>
<validation>
</validation>
<example>
class ApplicationError(HTTPException):
status_code = 500
class ConflictError(ApplicationError):
status_code = 409</example>
Opinionated, first-party agent skills, plugins, subagents, slash commands, and MCP servers for the Litestar framework and its ecosystem — publishable to every major AI agent and IDE from a single repo.
Repo: litestar-org/litestar-skills
Auto-activate for advanced_alchemy imports, alembic/, SQLAlchemyAsyncRepositoryService, SQLAlchemyAsyncConfig, repository_type, service_class, filters, or…
Auto-activate for Google ADK, LlmAgent, Runner, SQLSpecSessionService, Vertex AI, SSE agent chats, tool calls, or Litestar model workflows. Not for offline ML…
Auto-activate for guards=, Guard, ASGIConnection, JWTAuth, JWTCookieAuth, SessionAuth, role or tenant checks, or WebSocket auth. Not for frontend route…
Auto-activate for litestar_autowire, AutowirePlugin, AutowireConfig, domain_packages, AutowireIntegration, AutowireLoader, or clear_autowire_cache. Not for…
Auto-activate for uv build, hatch build, PyApp, PYAPP_*, wheel assets, GitHub release matrices, cargo-zigbuild, or python-build-standalone. Not for runtime…
Auto-activate for SQLAlchemyAsyncRepositoryService, SQLSpecAsyncService, create_filter_dependencies, LimitOffsetFilter, OffsetPagination, filters, or CRUD…