Agent Skills: opinionated-nextjs-patterns

Opinionated, backend-agnostic Next.js 16 (App Router) architecture — authorization at the data layer, server-side loading with cache()+Promise.all, mutations through next-safe-action + typed route handlers, client/server boundaries ('use client' at leaves + TanStack Query), forms with RHF + Zod, UI via shadcn/ui + Tailwind + Base UI + next-intl, request handling in proxy.ts (Next.js 16's renamed middleware), and a Turbo monorepo of @app/* packages confining the backend behind one data-access package. Examples use Supabase but every rule states the transferable principle. Use when writing, reviewing, or refactoring Next.js 16 code. Trigger on server actions, route handlers, RSC vs 'use client' placement, TanStack Query, RHF/Zod, proxy.ts, or monorepo package layout — even when the user doesn't say 'patterns' or 'best practices'.

UncategorizedID: pproenca/dot-skills/opinionated-nextjs-patterns

Install this agent skill to your local

pnpm dlx add-skill https://github.com/pproenca/dot-skills/opinionated-nextjs-patterns

Skill Files

Browse the full folder contents for opinionated-nextjs-patterns.

Download Skill

Loading file tree…

Select a file to preview its contents.