create-middleware

Community

Scaffold Hono middleware (auth, validation)

Authormadooei
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps developers scaffold reusable Hono middlewares quickly, enabling consistent patterns for authentication, validation, and error handling across API services.

Core Features & Use Cases

  • Factory-based middleware creation with dependency injection for configurable components.
  • Default, shareable middleware instances that can be plugged into multiple routes with minimal boilerplate.
  • Clear patterns for setting context data (e.g., c.set) and integrating with a global error handler.

Quick Start

Create a new middleware by implementing a factory with dependencies and export a default ready-to-use instance.

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: create-middleware
Download link: https://github.com/madooei/backend-template/archive/main.zip#create-middleware

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.