Skip to main content

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'.

Jump to install

Source facts

Repository
pproenca/dot-skills
Last source activity
July 5, 2026 at 07:23
Detected SKILL.md language
English
Stars
194
Forks
17

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.