routing-middleware

Official

Control Vercel requests before cache.

Authorvercel-labs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you manage and intercept incoming requests at the Vercel platform level, allowing for dynamic routing, personalization, and security checks before content is served from the cache.

Core Features & Use Cases

  • Request Interception: Run code before the cache to modify requests or responses.
  • Dynamic Routing: Implement rewrites, redirects, and header injections based on request properties like geolocation or cookies.
  • Personalization & A/B Testing: Serve different content variations to users based on custom logic.
  • Use Case: Automatically redirect users from specific countries to localized landing pages or inject security headers like Content-Security-Policy on all incoming requests.

Quick Start

Use the routing-middleware skill to configure a rewrite rule for '/old-page' to '/new-page'.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: routing-middleware
Download link: https://github.com/vercel-labs/vercel-plugin/archive/main.zip#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.