litestar-static-files

Installation
SKILL.md

Static Files

Execution Workflow

  1. Decide whether the app needs normal asset serving, downloadable files, or static HTML mode.
  2. Mount assets with create_static_files_router() under an explicit path and controlled directories.
  3. Set delivery behavior intentionally: inline vs attachment, HTML mode, name, schema visibility, and router metadata.
  4. Choose cache behavior that matches asset mutability and deployment strategy.
  5. Lock down file system boundaries, especially symlink behavior and any remote/custom file system integration.
  6. Verify URL reversal, 404 behavior, and template references before treating the mount as stable.

Core Rules

Installs
23
GitHub Stars
6
First Seen
Mar 2, 2026
litestar-static-files — alti3/litestar-skills