What problem does it solve? Frontend codebases often grow into tangled structures where nobody knows where code belongs, what may import what, or whether data is server state or UI state. This Skill provides a portable, framework-agnostic architecture that makes those answers obvious for any React or React Native project. ## Core Features & Use Cases - Feature Module Structure: Organizes apps into self-contained modules/{feature}/ directories with pages, hooks, stores, services, and a single public barrel export. - State Split Enforcement: Separates server state (query/cache layer like TanStack Query or RTK Query) from UI state (Zustand, Redux Toolkit, MobX, or Jotai) with hard rules against mixing them. - Framework Adapters: Maps the same module model onto Next.js App Router, React + Vite, Remix, and Expo/React Native with thin routing layers. - Use Case: When scaffolding a new React + Vite SPA, apply this Skill to create the src/modules/ and src/shared/ layout, wire a typed API client, and build the first feature as a page directory with co-located styles. ## Quick Start Ask the AI to scaffold a new feature module for invoice management following the frontend-architecture structure with a page directory, store, and barrel export.