Global AI ยท Design System
For agents

Apply the design system, step by step.

Instructions for coding agents (and the developers who brief them) building anything that should look like globalai.community. Machine-readable index: llms.txt.

Where the truth lives

  1. The component library. Every component with a live example, its exact markup, when to use it, and do's and don'ts.
  2. The sample pages. Real pages composed from the library. Copy their structure.
  3. The brand guidelines. Logo, colour, type, imagery, motion and voice.

The CSS and JavaScript here are exact copies of what globalai.community ships, so an example that looks right here looks right on the site. If the two ever disagree, the live site wins.

The workflow

  1. Start from the closest sample page. Keep its structure: cream header band, white content, ink footer.
  2. Find each component by intent ("a status label", "a destructive confirmation"), not by look. Read "when to use", then copy the markup from the Markup panel and put in real content.
  3. Use the documented variant for your meaning. A declined session is .chip-red everywhere; live is .chip-live and nothing else.
  4. Use tokens for every value: var(--orange), var(--r-card), var(--shadow-card). See Foundations.
  5. Only extend when nothing fits. Add a modifier to the framework file that owns the component, never a one-off class or inline style, and document it in the library.
  6. Check the result against the rules below at desktop and mobile widths.

Rules that are never negotiable

Working in the gaic-website repository

Agents in the repository load these instructions automatically as skills:

The tests in DesignSystemRulesTests and StyleguideSyncTests fail the build on raw hex colours, hover lifts and zooms, em dashes in views, and framework files that drift from this site.

Briefing an agent

Paste this into the task when an agent works outside the repository:

Follow the Global AI design system. Read https://salmon-cliff-06ec72a03.7.azurestaticapps.net/llms.txt
and the "For agents" page first. Build from the component library's markup and the sample pages'
structure, use the CSS custom properties in css/framework/tokens.css for every value, and follow
the brand guidelines for logo, imagery and voice. Do not invent new components or colours.