rwsdk-routing-middleware

Community

Route, guard, and render with rwsdk middleware.

Authorkcc989
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a ready-to-use routing and middleware framework for rwsdk-based Cloudflare Workers apps, enabling structured route handling, authentication guards, shared context, and type-safe link generation without boilerplate.

Core Features & Use Cases

  • DefineApp-based routing: create an ordered array of middleware and route handlers to manage requests.
  • Interrupters for guards: add per-route or per-method checks to short-circuit unauthorized access.
  • Context sharing & Document rendering: populate a per-request ctx and wrap responses in Document for consistent HTML or React Server Components rendering.
  • Type-safe linking: generate links with compile-time validation of routes and parameters.

Quick Start

Create a small rwsdk app by importing defineApp, route, and render, then export default defineApp([...]) with a simple middleware and a couple of routes.

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: rwsdk-routing-middleware
Download link: https://github.com/kcc989/logoer/archive/main.zip#rwsdk-routing-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.