routing-middleware

Intercept platform-level requests for rewrites, redirects, and personalization.

Updated May 31, 2026
One-click install
npx skills add https://github.com/vinhnguyenn020325-cmd/dinzkorea --skill routing-middleware-vinhnguyenn020325-cmd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: routing-middleware
Source: https://github.com/vinhnguyenn020325-cmd/dinzkorea/tree/main/.test-vercel-plugin/skills/routing-middleware
Command: npx skills add https://github.com/vinhnguyenn020325-cmd/dinzkorea --skill routing-middleware-vinhnguyenn020325-cmd

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a platform-level solution for intercepting requests before they are cached, allowing for rewrites, redirects, and personalization. It is designed to work seamlessly with any framework and supports Edge, Node.js, and Bun runtimes.

Core Features & Use Cases

  • Request Interception: Intercept requests at the platform level for rewrites, redirects, and personalization.
  • Framework Compatibility: Works with Next.js, SvelteKit, Astro, Nuxt, or any deployed framework.
  • Runtime Support: Supports Edge, Node.js, and Bun runtimes.
  • Use Case: Use this Skill to manage complex routing logic, personalize user experiences, or implement A/B testing without modifying the framework-specific code.

Quick Start

Activate the routing-middleware skill to intercept requests and apply rewrites or redirects.

Frequently Asked Questions about routing-middleware

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I intercept requests for redirects and rewrites before they are cached on Vercel?

Platform-level routing middleware intercepts requests before caching to apply rewrites, redirects, and personalization. You configure path patterns and runtime settings to manage request flow without modifying framework-specific code.

Does Vercel routing middleware work with Next.js, SvelteKit, Astro, and Nuxt?

Yes, this routing middleware is compatible with Next.js, SvelteKit, Astro, Nuxt, or any deployed framework. It operates at the platform level, ensuring framework compatibility for request interception and routing management.

Can I use Vercel middleware for A/B testing and personalization across different runtimes?

Yes, you can use Vercel middleware for A/B testing and personalization across Edge, Node.js, and Bun runtimes. It intercepts requests at the platform level to personalize user experiences without altering framework-specific application code.

How to configure path patterns and runtime settings for Vercel request interception?

Configuring Vercel request interception requires defining specific path patterns and selecting your target runtime settings. This setup allows the platform-level middleware to successfully intercept, rewrite, or redirect incoming requests.

What is the best way to manage complex routing logic without modifying framework code?

Using platform-level routing middleware is the best way to manage complex routing logic without modifying framework code. It handles request interception, rewrites, and redirects directly at the platform level before caching occurs.