What problem does it solve? Intercepting and modifying HTTP requests before they hit the cache or application code is confusing across frameworks, and developers often mix up Vercel Routing Middleware, Next.js proxy.ts, and Edge Functions. This Skill provides authoritative guidance on implementing platform-level request interception correctly. ## Core Features & Use Cases - Request Interception Guidance: Implement middleware.ts with Edge, Node.js, or Bun runtimes for rewrites, redirects, and header injection before the cache layer. - Middleware Disambiguation: Clarifies the differences between Vercel Routing Middleware, Next.js 16 proxy.ts, and Edge Functions, including the middleware-to-proxy migration path. - Routing Configuration: Covers matcher patterns, project-level routes, bulk redirects, and programmatic vercel.ts configuration via @vercel/config. - Use Case: You want to A/B test two homepage variants based on a global config flag. Use this Skill to write middleware that reads the experiment value and rewrites the request path transparently. ## Quick Start Ask the assistant to write a Vercel middleware.ts file that rewrites requests based on the visitor's country using geolocation.