TravelOps — Agentic UI Design Workflow

Cover: TravelOps — Agentic UI Design Workflow

TravelOps

TravelOps — Agentic UI Design Workflow

Cover: TravelOps — Agentic UI Design Workflow

TravelOps

Role
AI-Native Product Designer · designer of the agentic playbook, orchestrator of Claude Code and 5 agents, decision owner at every phase gate
Tools
Figma, Paper, Vite + React + TypeScript, Tailwind v4, shadcn/ui, Storybook, Playwright, Supabase, Cloudflare Workers
Team Partner
Claude Code as orchestrator, plus 5 validation agents (figma-extractor, component-builder, page-assembler, visual-qa, structure-auditor)
Duration
Oct 10–12, 2026 (foundation) · Oct 12–15, 2026 (maintenance)
AI tools
Claude Code, Figma MCP, multi-agent /figma-validate, design-critique and accessibility-review skills

Handed off v1.0.0 · maintenance v1.1.0 · live on Cloudflare

TravelOps took one dashboard screen from an HTML POC to a production design system in 3 days, then two Change Requests brought it to v1.1.0.

How I worked AI-natively

On this project the designer does not push every pixel; the designer builds the working system that makes AI produce design and code that can be held to account.

  1. 1.Designing the process, not just the output. A four-document playbook defines the phases, the Definition of Done, the report formats, and the stop rules the AI must follow.
  2. 2.Orchestrating agents. Figma-to-code validation runs on 5 agents with separate roles; only figma-extractor is allowed to touch Figma.
  3. 3.Wiring tools through MCP and skills. Figma MCP reads and writes variables and components, Paper handles canvas export, and the design-critique and accessibility-review skills drive reviews.
  4. 4.Keeping a human in control. Every phase stops at an approval gate; the trail lives in 118 entries of the decision log.
  5. 5.Demanding evidence, not claims. Figma lint, token audit, pixel diff, and visual tests are pass conditions, so a wrong AI claim (as in CR-001) gets caught.

TravelOps

TravelOps is a corporate travel management platform with a tactical HUD look: dark mode, monospace (Space Mono), and a command-center feel for enterprise users. The reference screen is Global Command, a 1440 px dashboard with metrics, a disruption feed, an approval queue, spend by department, duty of care, and an audit log.

The project is the end-to-end test of the Agentic UI Design Workflow, a four-document playbook for designing with AI:

DocumentContents
protocol.mdProject config, phase gates, Definition of Done, report formats
foundation.mdPhases A–J, from exploration to the handoff package
increment.mdChange Requests after handoff: new page (P) and improvement (R) tracks
production.mdOptional layers: tests, catalog, preview_deploy

Background

Before the playbook ran, TravelOps already had a mature visual language. There was a system of record, STRATOS_TravelOps.md (23 sections), a live canvas of 18 artboards (5 pages × desktop, tablet, mobile, plus 3 design-system artboards), and an export to Paper. All of it was still HTML prototype and documentation: no Figma ready to rebuild from, no production code, and no guarantee the three would stay in sync.

Problem

Moving a design from prototype to production usually lets values drift at every hand-off: colors get retyped, spacing gets eyeballed, and components get detached. With AI in the loop, a second risk appears: the AI skips steps or declares something done without proof.

HMW

How might we take one screen from POC to a production design system with AI, keeping every value traceable from Figma to code and letting each phase advance only on the designer's approval?

Metric

Every target was met at the v1.0.0 release; five requirements were closed through recorded waivers.

GoalMetricTargetResult
Code is faithful to FigmaPage pixel diff against the Figma frame (1440 px)≤ 5%3.157%
Screens are built from DS componentsPredicted component coverageConfig minimum100% (12 of 12 instances)
No styled elements outside the DSRaw islands in code · styled raw nodes in Figma00
Figma is ready to rebuild fromFigma lint: detached, overrides, default names, groups, no auto layout, unbound values, naming00 on every check
Disciplined tokensToken audit (6 checks)6/66/6
POC review closed outFindings with a decision100%28 of 28 (14 fix verified, 5 accept, 9 defer)
Debt on recordToken, component, and cross-system gaps resolvedAll decided93 of 94 done, 1 open with a decision

Design Process

Every phase has a Definition of Done; the next phase starts only when every requirement is met or waived and the designer approves.

reopened: 4 px grid
AExploreskipped (POC already existed)
BPOC review28 findings
CFigma29 components
DValidate3.157% diff
EMappingto shadcn/ui
JHandoffv1.0.0
IAudit15 UI findings
Hdesign.mdgenerated
GPageGlobal Command
FDS basetokens.css
Maintenance · Change RequestsCR-001 (R) closed with no change · CR-002 (P) waitlist page → v1.1.0
Production layerstests · catalog (Storybook) · preview_deploy (Cloudflare)

Phase A was skipped because the POC already existed. The dashed line marks the only rework loop: the 4 px grid rule from Phase E reopened Phases C and D.

Visual identity extraction (Exploration)

The TravelOps design system was born from extracting the visual identity of a single reference image: an intelligence dashboard with a tactical HUD look. The image was broken down into a visual-language document (concept, palette, typography, layout, components, iconography), carried into the STRATOS design document, and finally merged into the system of record that the POC used.

The reference image, the only source of visual inspiration for TravelOps.
Extracted from the referenceBecame a token or rule in TravelOps
Near-black background, very dark grey panelsbackground #080808, card #111111
Almost monochrome palette with one red accent for urgencyprimary #cc2200, a status palette with red as critical
Technical monospace type, widely tracked UPPERCASE labelsSpace Mono 400/700, uppercase across the body
1 px outlined panels with no shadow, corner bracketsTranslucent white borders, 10 px corner marks, radius 0
Outline buttons and risk-level badgesOutline Button and a Badge with 6 status variants

This extraction happened before the playbook ran, which is why Phase A was skipped.

Design Review (Phase B)

Phase B reviewed the POC with five methods: critique, heuristic evaluation (17 findings), cognitive walkthrough (5 tasks, 19 steps), an a11y review (20 contrast pairs with numeric ratios), and visual QA. The result was 28 deduplicated findings (severity 3: 9 · 2: 15 · 1: 4). Fixes were first built as a separate "Global Command — Review" artboard and applied to the POC only after approval.

The Global Command POC (HTML, desktop 1440) before the Phase B review.

Code-ready Figma (Phase C)

A plan for 29 components (13 atoms, 10 molecules, 6 organisms) was approved before anything was built. Figma holds 98 variables with Semantic aliased to Primitives, 11 text styles, 121 variants, and a GlobalCommand frame assembled from 12 instances. During mapping a new rule arrived: all spacing must be a multiple of 4 px. Phase C was reopened for spacing only: 203 bindings moved, 10 variables removed, and lint rerun until every check read 0.

The DutyOfCare component set in Figma: default and loading variants, every value bound to a variable.

Figma-to-code validation (Phase D)

Round 1 ran multi-agent: five agents extracted Figma, built components, assembled the page, compared pixels, and audited structure. It landed at 3.217%, with 7 conversion findings fixed in 1 automatic round. Round 2, after the spacing revision, ran single-agent by the designer's choice: 3.157%, 0 new findings.

Left: the Figma frame. Right: the React build rendered in Chromium. Pixel diff 3.157% against a 5% threshold.

Mapping & DS foundation (Phases E–F)

Every token and component was mapped to shadcn/ui with one of three decisions: reuse, extend, or new.

ReuseExtendNewTotal
Tokens1834364
Components1141429

Token names follow shadcn for the same meaning (primary = red CTA, accent = hover surface), and the Figma variables were renamed to match the code. tokens.css became the single source of truth.

The /design-system page reads tokens.css at build time: the 6 × 4 status palette, shadcn aliases, and 11 text styles.

Page, audit & handoff (Phases G–J)

The Global Command page was built from DS components, and design.md was generated from code rather than written by hand. The Phase I audit: token audit 6/6 and 15 UI findings (6 fix verified, 6 accept, 3 defer). The handoff package holds /design-system, a developer README, CHANGELOG v1.0.0, and the final gap list.

Left: an Approval Queue row in the HTML POC, with hex and px written inline. Right: the production ApprovalRow component, using DS tokens only.

Maintenance & Change Requests

After handoff the project moved to maintenance mode: no change to code or Figma without a Change Request, and new elements may be used only after the designer approves their registration in the DS.

CRTitleTrackOutcomeDS version
CR-002Waitlist page with SupabaseP (new page)A /waitlist page wired to a Supabase table with insert-only RLS; 3 new components (TextField, FormMessage, WaitlistForm) and 1 text style; 2.220% from Figma; Global Command unchanged (0 pixels)v1.0.0 → v1.1.0
CR-001Match the Figma focus-ring gap to the docsR (improvement)Closed with no change: remeasuring showed Figma, code, and docs already matched (2 px ring, 2 px gap); the audit finding was correctedv1.0.0 (unchanged)
CR-002: the six WaitlistForm states: idle, keyboard focus, validation, sending, success, and failure.

Production layers

LayerWhat it doesActive since
testsBuild, token audit, and Playwright visual tests; a pre-commit hook rejects loose colorsOct 12, 2026
catalogStorybook: 30 story files, 56 stories, on the same tokens.cssOct 12, 2026
preview_deployCloudflare Workers: a preview URL per branch, plus productionOct 14, 2026

The tests alarm was proven on purpose: inserting a loose color into the Button component failed the audit at the exact line, the commit was rejected, and the visual test pointed at the changed button area.

Result

The playbook took one screen from POC to a production design system in 3 days, with all 10 phases explicitly approved and every requirement backed by evidence. The end result is a React + Tailwind design system at v1.1.0 (64 tokens, 32 components), in sync with Figma, documented in Storybook, guarded by visual tests, and live on Cloudflare.

What I learned

  1. 1.Phase gates absorb late changes of direction. The 4 px grid rule arrived in Phase E, but because every phase was on record, Phases C and D could be reopened narrowly instead of redone.
  2. 2.Tools don't always behave as documented. The Figma variable tool returned only 72 of 107 variables, so reading moved to a read-only script. Screenshots could not render at 2×, so that requirement was waived.
  3. 3.AI claims need re-verification. CR-001 came from an audit finding that measured the wrong thing (the 4 px outer edge instead of the 2 px gap), and was disproved only by measuring three sources.
  4. 4.System permissions shape the division of labor. Builds and installs were sometimes blocked for agents, so the designer ran them and pasted the output back as evidence.

Not done yet

  • One screen at one width (1440 px), with no tablet or mobile breakpoints.
  • The handoff path diverges from the original system of record, the live canvas, and Paper.
  • Seven review findings were accepted without being fixed because the screen still uses sample data.
  • Code Connect is not installed yet, although the repository now exists.

● let's untangle something

whatsapp ↗

thought slowly. shipped quickly. '26