--- name: ape-design description: >- Enforces the Array UI (array-ui) editorial systems design system for any frontend, UI, website, blog, personal site, SaaS dashboard, or documentation development task. Trigger on "ape design", "Array UI", or whenever building, styling, or scaffolding UI to guarantee high information density, mathematical precision, editorial typography, and 0% custom CSS without prompt loops. --- # `ape-design`: Editorial Systems Design Skill (Array UI) This skill enforces strict adherence to **Array UI (`array-ui`)**—the editorial, systems-engineering design system inspired by [arpitbhayani.me](https://arpitbhayani.me) and distributed at [ui.arpitbhayani.me](https://ui.arpitbhayani.me). When building or modifying any website (personal portfolio, engineering blog, SaaS dashboard, technical documentation, or systems explainer), the agent **MUST** follow this workflow and rules without requiring prompt corrections. --- ## 1. The 6 Non-Negotiable Prime Invariants ### Invariant 1: Mandatory Font Enforcement (DO THIS FIRST) > [!IMPORTANT] > **Before creating or editing any components, the agent MUST verify that Google Fonts are loaded and applied to `body`.** > If fonts are missing, the UI will fall back to system sans-serif (Arial/Inter), completely breaking the editorial authority. > > 1. **Google Fonts URL**: > `https://fonts.googleapis.com/css2?family=Assistant:wght@400;500;600;700;800&family=IBM+Plex+Mono:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Lora:ital,wght@0,400..700;1,400..700&display=swap` > 2. **In `globals.css`** (or main CSS): > ```css > @import url("https://fonts.googleapis.com/css2?family=Assistant:wght@400;500;600;700;800&family=IBM+Plex+Mono:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Lora:ital,wght@0,400..700;1,400..700&display=swap"); > > body { > font-family: var(--font-sans, "Assistant", -apple-system, sans-serif); > -webkit-font-smoothing: antialiased; > } > ``` > 3. **Or in root layout `
`**: Include `