app-setup

Installation
SKILL.md

App Setup

Use this skill when the user needs to create a new Litestar app, structure an existing app, or configure core application settings.

Workflow

  1. Define a minimal Litestar(...) app and register route handlers.
  2. Move handlers into routers as complexity grows.
  3. Add app-level configuration (debug, openapi_config, logging_config, dependencies, middleware).
  4. Add lifespan hooks for startup/shutdown needs.

Minimal Pattern

from litestar import Litestar, get

@get("/health")
async def health() -> dict[str, str]:
    return {"status": "ok"}
Related skills

More from alti3/litestar-skills

Installs
1
GitHub Stars
5
First Seen
Mar 2, 2026