litestar-static-files

Community

Secure static delivery for immutable assets.

Authoralti3
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enables secure, scalable serving of static assets (JS/CSS/images) by mounting safe directories, applying cache-control strategies, and preventing exposure of sensitive paths.

Core Features & Use Cases

  • Secure static mounts: isolate assets from writable areas.
  • Cache-first delivery: use long-lived, versioned headers for immutable assets.
  • Production-ready behavior: clean 404s for missing assets and safe MIME handling.

Quick Start

Mount static directories using StaticFilesConfig and attach to the Litestar app.

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

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.