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
- The component library. Every component with a live example, its exact markup, when to use it, and do's and don'ts.
- The sample pages. Real pages composed from the library. Copy their structure.
- 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
- Start from the closest sample page. Keep its structure: cream header band, white content, ink footer.
- 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.
- Use the documented variant for your meaning. A declined session is
.chip-redeverywhere; live is.chip-liveand nothing else. - Use tokens for every value:
var(--orange),var(--r-card),var(--shadow-card). See Foundations. - 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.
- Check the result against the rules below at desktop and mobile widths.
Rules that are never negotiable
- One accent. Orange marks the one primary action, one highlight and one active state per screen. Small text and links use
--orange-deep. - Page model. Cream header, white content, ink footer. Content is never cream. Never two cream or two dark sections next to each other.
- Hover changes colour, never position. Borders warm to orange, rows tint cream, buttons darken. No lifts, zooms or growing shadows.
- Shadows.
--shadow-cardinside the page;--shadow-overlayand--shadow-floatonly for things that float above it. - Shapes. Pills for buttons and chips, 26px cards, 18px images, 14px inputs. No sharp corners, rotated badges or hard shadows.
- Type. Space Grotesk for headings, eyebrows and numbers; Instrument Sans for everything else. Sections open with an eyebrow.
- Retired. Bootstrap, Montserrat, Open Sans, deep blue
#1e224e, pure black. - Images. Real community photos only. Never stock or AI-generated imagery.
- Code. No inline styles, no
<style>blocks, no inline scripts oronclickhandlers. - Copy. Friendly and direct, sentence case, verb-first buttons, "events" not "meetups", "chapters" not "groups", and never an em dash.
Working in the gaic-website repository
Agents in the repository load these instructions automatically as skills:
.github/skills/design-guidelines/SKILL.md: this workflow, the component map and how to keep the design system in sync..github/skills/frontend-conventions/SKILL.md: HTML, CSS, JavaScript and Razor rules..github/skills/content-writing/SKILL.md: voice, vocabulary and punctuation.
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.