salvo-middleware
OfficialStreamline Salvo apps with robust middleware.
Authorsalvo-rs
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Middleware pattern in Salvo enables applying cross-cutting concerns across routes and handlers. This skill provides a structured approach to implementing, attaching, and composing middleware to reduce duplication and improve consistency.
Core Features & Use Cases
- Attach global or route-scoped middleware using hoop() to apply authentication, logging, and CORS across routes
- Demonstrate the onion-model execution order and declarative control via FlowCtrl
- Use cases include adding authentication, request logging, timing, and custom headers across API routers
Quick Start
Attach a logger and auth middleware to a router and observe the request/response flow.
Dependency Matrix
Required Modules
None requiredComponents
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: salvo-middleware Download link: https://github.com/salvo-rs/salvo-skills/archive/main.zip#salvo-middleware Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.