litestar-lifecycle-hooks
CommunityLitestar lifecycle hooks for requests.
Software Engineering#hooks#middleware#observability#instrumentation#lifecycle#request-interception#litestar
Authoralti3
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Lifecycle hooks provide deterministic interception of Litestar request/response processing, enabling cross-cutting behavior without bootstrapping startup/shutdown events.
Core Features & Use Cases
- Choose exact lifecycle stages (before_send, after_exception, etc.) to inject behavior around handler execution.
- Compose hook logic with middleware order, exception handling, and observable side effects for testing.
- Cross-skill handoffs with litestar-events for startup/shutdown concerns and litestar-middleware for global policies.
Quick Start
Add lifecycle hooks to a Litestar application to intercept requests and responses at selected stages.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: litestar-lifecycle-hooks Download link: https://github.com/alti3/litestar-skills/archive/main.zip#litestar-lifecycle-hooks Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.