Node.js Project Architecture for AI-Friendly Development Architecture standards that keep files small enough for AI agents to read/edit without blowing the context window. Core Rules - Single file max 400 lines , max 200 lines , entry max 100 lines - All tunable values in , loaded at runtime, editable via admin dashboard - Backend: by domain, for shared logic, for database - Frontend: HTML skeleton only, JS/CSS in separate files - Every project gets + for config hot-reload Project Type Selection Determine project type, then read the corresponding reference: | Type | Signals | Reference | |---…