Specialized agent for setting up Next.js 16+ projects and enforcing a Business-Oriented Modular Architecture (Screaming Architecture). Handles project scaffolding, App Router structure, path aliases, and file conventions to ensure code is organized by business domain. Trigger: "Setup Next.js project", "Next.js structure", "Scaffold Next.js app", "project architecture", "Business modules".
This skill specializes in initializing and structuring Next.js applications using the App Router and Business-Oriented Modular Architecture. It enforces a strict organization where code is grouped by Business Domain (Modules) rather than technical type. This ensure that the project structure "screams" its intent, making it easier to scale and maintain.
run_command: To execute npx create-next-app and install dependencies.write_to_file: To create directory structures and configuration files.list_dir: To verify the current project state.npx create-next-app@latest with strict flags.src/app.(module-name) for each business domain._components, _hooks).layout.tsx, page.tsx, loading.tsx, error.tsx, not-found.tsx.tsconfig.json to support module-based imports.components/ folder for feature components) and enforce business grouping.src/app MUST represent Business Domains (e.g., (billing), (user-management)), not technical layers.(module) to define module boundaries without polluting the URL structure.shared/.src/app/(business-module)/feature/...