litestar-stores

Installation
SKILL.md

Stores

Use this skill when the problem is Litestar's interchangeable key-value store layer, not relational data modeling.

Execution Workflow

  1. Decide whether the feature really belongs in a Litestar store: cache, session, rate limit, or other ephemeral/shared key-value state.
  2. Choose the backend based on process model, durability, latency, and cleanup needs.
  3. Decide whether stores should be wired explicitly by name, created lazily through StoreRegistry, or derived from a namespaced default factory.
  4. Define key naming, namespacing boundaries, TTL policy, and any renewal-on-read behavior.
  5. Wire integrations such as response caching, sessions, or rate limiting to named stores intentionally.
  6. Plan cleanup and shutdown behavior, especially for FileStore expiry cleanup and Redis client ownership.
  7. Verify expiry, isolation, and multi-worker behavior before relying on the store in production.

Core Rules

Installs
37
GitHub Stars
7
First Seen
Mar 2, 2026
litestar-stores — alti3/litestar-skills