
Routing Middleware
vercel/vercel-pluginOfficial
Vercel-platform request interception layer for rewrites, redirects, geo routing, and A/B tests across frameworks.
- skills.sh installs
- 338
- GitHub stars
- 345
- last updated
- Jun 3, 2026
What it does
- Covers Routing Middleware that runs before the cache on matched requests across Next.js, SvelteKit, Astro, Nuxt, and other frameworks
- Explains the three "middleware" concepts (Routing Middleware, Next.js 16 Proxy, Vercel Functions) and when each applies
- Includes helpers from
@vercel/functions(next,rewrite,geolocation,ipAddress,waitUntil) and matcher scoping viaconfig.matcher - Designed for developers who need platform-level interception on Node.js, Edge, Bun, or Python runtimes
Install
$ npx -y skills add vercel/vercel-plugin --skill routing-middleware -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Vercel Routing Middleware
You are an expert in Vercel Routing Middleware — the platform-level request interception layer.
What It Is
Routing Middleware runs before the cache on every request matching its config. It is a Vercel platform feature (not framework-specific) that works with Next.js, SvelteKit, Astro, Nuxt, or any deployed framework. Built on Fluid Compute.
Details
- Repository
- github.com/vercel/vercel-plugin
- Categories
- Backend & APIs, Cloud & Infrastructure
- First seen
- Jun 3, 2026
More from vercel/vercel-plugin
All 25- Auth326
- Vercel Storage326
- Vercel Agent317
- Bootstrap315
- Chat Sdk315
- Verification315
- Workflow313
- Runtime Cache312
- Vercel Sandbox308
- Knowledge Update301
- Marketplace300
- Next Forge191
- Nextjs629
- Ai Sdk544
- React Best Practices491
- Deployments Cicd484
- Shadcn458
- Vercel Cli432
- Turbopack429
- Ai Gateway423
- Env Vars422
- Vercel Functions410
- Next Cache Components385
- Next Upgrade368
Similar to Routing Middleware
More Backend & APIs
netlify-edge-functionsnetlify/context-and-tools3.5K installsEdge-runtime handlers for Deno, with routing, rewrites, middleware, caching, and geolocation guidance.
vercel-networking-domainsbobmatnyc/claude-mpm-skills358 installsVercel networking reference for domains, DNS, redirects, rewrites, headers, CDN, edge cache, and regions.
cors-configurationpatricio0312rev/skills294 installsConfigures CORS for APIs and web apps with origin allowlists, preflight handling, and credential rules.
nextjsjezweb/claude-skills1K installsProduction-ready Next.js 16 App Router patterns covering Server Components, Server Actions, and Cache Components with async route params.
hono-middlewarebobmatnyc/claude-mpm-skills454 installsReusable Hono middleware patterns covering creation, context variables, execution order, and 20+ built-in middleware for web applications.
nextjs-app-routergiuseppe-trisciuoglio/developer-kit4.1K installsModern App Router guide for Next.js 16+ covering Server Components, Server Actions, caching, and routing conventions.