skills/nextjs/SKILL.md
--- name: nextjs description: Scaffold and work on a Next.js (App Router) app on the Vercel-aligned stack — Next + Tailwind + shadcn/ui + Vercel deploy, pairing with Supabase (Postgres + Auth + RLS) and Drizzle. Use when the target stack is Next.js (a client project, or HousApp-style Next + Supabase + Vercel), NOT the golden TanStack + Cloudflare default. Covers create-next-app, Tailwind + shadcn setup, server/client component + server-action conventions, Supabase + Drizzle wiring, and Vercel de
npx skillsauth add RonanCodes/ronan-skills skills/nextjsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Scaffold and build on the Next.js + Tailwind + shadcn/ui + Vercel stack, the Vercel-aligned alternative to the golden TanStack Start + Cloudflare default. Reach for this when the target is explicitly Next (a client on Next, or the HousApp stack: Next + Supabase + Vercel). For the canonical personal stack, use [/ro:new-tanstack-app] instead.
/ro:nextjs new <name> # create-next-app (App Router, TS, Tailwind) + shadcn init
/ro:nextjs shadcn add button card table badge dialog # add shadcn components
/ro:nextjs supabase # wire Supabase + Drizzle into the app (defers to /ro:supabase)
/ro:nextjs deploy # deploy to Vercel (uses VERCEL_TOKEN from ~/.claude/.env)
/ro:nextjs env # set up .env.local with the expected keys
Prompt the user (AskUserQuestion) before: create-next-app/pnpm add, shadcn init, creating a Vercel project, or the first deploy. They never invoke the skill internals directly.
pnpm create next-app@latest <name> --ts --app --tailwind --eslint --src-dir --use-pnpm
cd <name>
pnpm dlx shadcn@latest init # pick base colour / style; writes components.json
pnpm dlx shadcn@latest add button card table badge dialog input form sonner
Conventions to follow:
src/app/. Server Components by default; add "use client" only where you need interactivity."use server"), Route Handlers (app/api/.../route.ts) for webhooks/APIs.globals.css) so a brand palette (e.g. extracted client tokens) drops in cleanly.NEXT_PUBLIC_* reaches the browser.Next + Supabase is the common pairing. Defer DB ops to [/ro:supabase]; the split that works:
drizzle-kit for table migrations).@supabase/ssr) for RLS-aware, role-scoped reads (forwards the user JWT so policies apply).pnpm add drizzle-orm postgres @supabase/supabase-js @supabase/ssr
pnpm add -D drizzle-kit
export VERCEL_TOKEN=$(grep -E '^VERCEL_TOKEN=' ~/.claude/.env | cut -d= -f2-)
pnpm dlx vercel@latest --token "$VERCEL_TOKEN" # first run: link/create project
pnpm dlx vercel@latest --prod --token "$VERCEL_TOKEN" # production deploy
# env vars:
pnpm dlx vercel@latest env add NEXT_PUBLIC_SUPABASE_URL production --token "$VERCEL_TOKEN"
Custom domain (e.g. a subdomain on ronanconnolly.dev): add it in Vercel, point DNS (unproxied) at Vercel per the project's DNS skill.
testing
--- name: linear-pipeline description: The Fable orchestrator for a single dispatched Linear ticket. Holds almost no context itself; it receives `--issue <ID> --detached`, decides the stage sequence, and fans out a sub-agent per stage, passing forward only each stage's artifact (never re-derived, never inlined into its own context). Step zero, before any planning or stage routing, is a boundary triage against `canon/security-boundary.md` (#199): a match tags Ronan Connolly and stops the run, no
development
--- name: in-your-face description: Capture a chat-only answer into a durable artifact (markdown + HTML, PDF when cheap) and launch it automatically so the user cannot miss it. Use when user says "in your face", "don't let me lose this", "save that answer", "make that durable", or right after answering a substantive side question (a recipe, comparison, how-to, or generated prompt) that would otherwise die with the context. category: workflow argument-hint: [--no-open] [--vault <short>] [hint of
tools
One-shot headless OpenAI Codex CLI calls for background/admin AI tasks — summaries, classification, extraction, admin glue. The default engine for anything that runs AI constantly in the background (daemon-driven, per-event), because it bills the flat ChatGPT subscription instead of Claude usage or per-token API spend, and it keeps working while Claude is rate-limited. NEVER for coding — coding stays Claude. Use when a skill or daemon needs a cheap always-on AI call, when the user says "use codex", "ask codex", "codex as backup", or when building a background summarizer/classifier into a listener or loop. Reads auth from ~/.codex/auth.json (ChatGPT account, no API key).
research
Turn a warranty rejection, repair quote, or RMA email into a cited decision brief — legal read (NL/EU consumer law), is the part user-serviceable, live part and new-unit prices, repair-vs-DIY-vs-new economics, before-you-send-it checklist, deadlines. Use when the user pastes or screenshots a repair quote, warranty rejection, "not covered" email, onderzoekskosten fee, or asks "should I repair or replace this".