What problem does it solve?
This Skill provides authoritative guidance for intercepting and controlling incoming HTTP requests at the platform level so you can implement rewrites, redirects, header injection, geo-personalization and A/B routing before the CDN cache.
Core Features & Use Cases
- Platform-level interception: Explains Vercel routing middleware semantics and how it runs before the cache for any framework.
- Multi-runtime support: Covers Edge, Node.js, and Bun runtimes and when to prefer proxy.ts (Next.js 16) versus middleware.ts.
- Routing controls & safety: Matcher configuration, request limits, project-level routes, migration tips, and patterns for safe auth delegation and background processing.
- Use Cases: Geo-based rewrites, A/B testing with Edge Config, header injection for proxies, instant project-level route updates without redeploy.
Quick Start
Create a platform-level middleware that rewrites requests by geolocation and injects headers before the cache.