NextArch - use for Next.js App Router work that changes architecture, data ownership, server/client boundaries, or domain/module structure: moving server-loadable data out of client components, adding or refactoring feature or module slices, wiring Server Actions, or choosing Prisma/Drizzle, REST, or Connect/gRPC boundaries. Trigger when the user says NextArch. Prefer existing project structure; enforce strict boundaries with adaptable folders. Do not use for styling/copy, isolated component work, one-file fetch/useEffect bug fixes with no App Router boundary change, middleware-only work, net-new Pages Router apps, backend-only APIs, or tRPC/GraphQL procedure-only tasks.
2026-06-03