Next.js adapter for embedding emulators directly in a Next.js app via @emulators/adapter-next. Use when the user needs to embed emulators in Next.js, set up same-origin OAuth for Vercel preview deployments, create an emulate catch-all route handler, configure Auth.js/NextAuth with embedded emulators, add persistence to embedded emulators, or wrap next.config with withEmulate. Triggers include "Next.js emulator", "adapter-next", "embedded emulator", "same-origin OAuth", "Vercel preview", "createEmulateHandler", "withEmulate", or any task requiring emulators inside a Next.js app.
$npx -y skills add vercel-labs/emulate --skill nextInstalls into the current project.
Run `npx skills use "https://github.com/vercel-labs/emulate" --skill "vercel-labs/emulate/next"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/vercel-labs/emulate" that are relevant to the current task. Run `npx skills add "https://github.com/vercel-labs/emulate"` and select the relevant skills, then follow their instructions.