nextjs-middleware

Installation
SKILL.md

Quick Reference

Response Type Code Purpose
Continue NextResponse.next() Pass through
Redirect NextResponse.redirect(url) 307/308 redirect
Rewrite NextResponse.rewrite(url) URL rewrite (no redirect)
JSON NextResponse.json(data) Return JSON response
Matcher Pattern Matches
'/about' Exact path
'/dashboard/:path*' Dashboard and all sub-paths
'/((?!api|_next).*) All except api and _next
Installs
48
GitHub Stars
47
First Seen
May 21, 2026
nextjs-middleware — josiahsiegel/claude-plugin-marketplace