/nextjs-stack:nextjs-supabase-vercelfrom nextjs-stack
How Next.js, Supabase and Vercel fit together in one project, and where each one's own guidance lives. Use when a project uses Next.js with Supabase and Vercel (the stack detector reports `nextjs`, `supabase` or `vercel`), when wiring Supabase keys or environment variables into a Next.js app, when generating database types for the app, or when deciding which official plugin to install. Platform knowledge is NOT here; it is in Vercel's plugin, the Next.js skills and supabase/agent-skills, and this skill points to them.
Ships in nextjs-stack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This skill is the seam between three platforms. It holds only how they fit together. Each platform's own knowledge belongs to its vendor, and this skill points there instead of copying it, so it never goes stale against the source.
Every fact below was checked against the vendor's documentation on 2026-10-20, with the page cited beside it. Re-check the source before relying on it after a vendor release.
| For | Install | Source |
|---|---|---|
| Vercel (deploys, the CLI, the platform) | npx plugins add vercel/vercel-plugin | Vercel plugin docs |
| Next.js (the framework) | npx skills add vercel/next.js (Vercel's plugin "doesn't ship Next.js skills") | Vercel plugin docs |
| Supabase (database, auth, RLS) | claude plugin marketplace add supabase/agent-skills, then claude plugin install supabase@supabase-agent-skills (and postgres-best-practices@supabase-agent-skills) | supabase/agent-skills |
When one of those plugins answers a question, follow it. This skill only covers what falls between them.
The failure this stack invites is a server-only Supabase key reaching the browser bundle, because Next.js decides what reaches the browser by name:
NEXT_PUBLIC_, and inlines them at next build (Next.js environment variables).So the rule for this stack: the publishable key may carry NEXT_PUBLIC_; the secret key never does, and it is read only in server code. A secret key under a NEXT_PUBLIC_ name is a leak, whatever the code around it does.
The CLI steps are not copied here: each vendor ships them, kept current against its own releases. The flows do not drive them yet.
supabase skill (supabase/agent-skills, installed in section 1); its "Supabase CLI" section owns the commands./vercel:bootstrap, /vercel:env, /vercel:deploy and /vercel:status (vercel/vercel-plugin, installed in section 1).Generated types are the contract between the database and the app: regenerate them with each migration, so the TypeScript build catches a schema change the code has not followed.
Routing, caching, rendering, auth flows, RLS policy design, deploy configuration and pricing. Each belongs to the official guidance in section 1. A rule that only restates a vendor's documentation does not belong in this skill.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub fmanimashaun/claude-skills --plugin nextjs-stack2 skills in this plugin
Other plugins' skills for the same job