website-nextjs-dashboard-route-organization

Installation
SKILL.md

Rule

Route groups separate layout trees, not URLs

A folder wrapped in parentheses — app/(app)/, app/(landing)/ — creates a route group: it can have its own layout.tsx, but the group name itself never appears in the URL. Use this to give fundamentally different parts of the same Next.js app (a logged-in product shell vs. a public marketing shell) completely separate layout trees, root-level UI, and data requirements, while still sharing one app/ tree, one globals.css, and one deploy.

Installs
3
First Seen
Sep 25, 2026