Apply when writing or reviewing Next.js + React + Tailwind + shadcn — app router, Server Components by default, deep client boundary, CSS-variable tokens, shadcn base, React Query with structured keys, RHF + Zod, next/image + next/font, no barrel files, no any/as. Auto-invoke on changes under app/, components/, lib/.