litestar-events

Community

Graceful startup/shutdown for Litestar apps.

Authoralti3
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Coordinating app-wide startup and shutdown tasks is error-prone without a centralized lifecycle mechanism. This skill provides structured hooks to initialize resources on startup and ensure clean release on shutdown, preventing leaks and race conditions.

Core Features & Use Cases

  • Startup hooks orchestration: define on_startup tasks with explicit ordering to guarantee resources are created before use.
  • Shutdown hooks orchestration: ensure resources are released in a safe, deterministic order on app termination.
  • Lifecycle observability: integrates with logs and metrics to verify resource lifecycles across environments.

Quick Start

Configure startup and shutdown hooks in your Litestar app to initialize and release shared resources automatically.

Dependency Matrix

Required Modules

None required

Components

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-events
Download link: https://github.com/alti3/litestar-skills/archive/main.zip#litestar-events

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.