use-proxy

SKILL.md

Use Proxy, not Middleware

  • Default to creating or updating proxy.ts (or src/proxy.ts) with a proxy export.
  • If a request mentions middleware.ts or middleware in Next.js 16, call out that Proxy replaces Middleware and suggest renaming.
  • When migrating, recommend running the codemod: npx @next/codemod@canary middleware-to-proxy .

References:

Weekly Installs
5
First Seen
Feb 18, 2026
Installed on
opencode5
gemini-cli5
github-copilot5
codex5
kimi-cli5
cursor5