What problem does it solve? It prevents inconsistent component structure, hardcoded styling, and design-system violations when writing or modifying React/TypeScript files in a monorepo frontend. ## Core Features & Use Cases - Mandatory file split: Every feature component is divided into .component.tsx, .container.tsx, .style.ts, and .types.ts with strict rules on what each file may contain. - Design-system enforcement: All colors, spacing, typography, and form controls must come from @repo/ui tokens and atoms — no hardcoded hex values, raw HTML elements, or inline styles. - Mobile and validation rules: Requires responsive behavior down to 360px, submit-attempt-based form validation, and consistent loading/empty states. - Use Case: When adding a new settings page or editing a DataTable in apps/web/src, apply these rules so the code passes ESLint and matches the existing UI conventions. ## Quick Start Apply the frontend-rules skill when creating or modifying any .tsx component under apps/web/src or packages/ui to follow the required file structure and design tokens.