TravelOps — Agentic UI Design Workflow

TravelOps
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.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.Orchestrating agents. Figma-to-code validation runs on 5 agents with separate roles; only figma-extractor is allowed to touch Figma.
- 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.Keeping a human in control. Every phase stops at an approval gate; the trail lives in 118 entries of the decision log.
- 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:
| Document | Contents |
|---|---|
| protocol.md | Project config, phase gates, Definition of Done, report formats |
| foundation.md | Phases A–J, from exploration to the handoff package |
| increment.md | Change Requests after handoff: new page (P) and improvement (R) tracks |
| production.md | Optional 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.
| Goal | Metric | Target | Result |
|---|---|---|---|
| Code is faithful to Figma | Page pixel diff against the Figma frame (1440 px) | ≤ 5% | 3.157% |
| Screens are built from DS components | Predicted component coverage | Config minimum | 100% (12 of 12 instances) |
| No styled elements outside the DS | Raw islands in code · styled raw nodes in Figma | 0 | 0 |
| Figma is ready to rebuild from | Figma lint: detached, overrides, default names, groups, no auto layout, unbound values, naming | 0 | 0 on every check |
| Disciplined tokens | Token audit (6 checks) | 6/6 | 6/6 |
| POC review closed out | Findings with a decision | 100% | 28 of 28 (14 fix verified, 5 accept, 9 defer) |
| Debt on record | Token, component, and cross-system gaps resolved | All decided | 93 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.
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.
| Extracted from the reference | Became a token or rule in TravelOps |
|---|---|
| Near-black background, very dark grey panels | background #080808, card #111111 |
| Almost monochrome palette with one red accent for urgency | primary #cc2200, a status palette with red as critical |
| Technical monospace type, widely tracked UPPERCASE labels | Space Mono 400/700, uppercase across the body |
| 1 px outlined panels with no shadow, corner brackets | Translucent white borders, 10 px corner marks, radius 0 |
| Outline buttons and risk-level badges | Outline 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.
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.
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.
Mapping & DS foundation (Phases E–F)
Every token and component was mapped to shadcn/ui with one of three decisions: reuse, extend, or new.
| Reuse | Extend | New | Total | |
|---|---|---|---|---|
| Tokens | 18 | 3 | 43 | 64 |
| Components | 1 | 14 | 14 | 29 |
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.
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.
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.
| CR | Title | Track | Outcome | DS version |
|---|---|---|---|---|
| CR-002 | Waitlist page with Supabase | P (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-001 | Match the Figma focus-ring gap to the docs | R (improvement) | Closed with no change: remeasuring showed Figma, code, and docs already matched (2 px ring, 2 px gap); the audit finding was corrected | v1.0.0 (unchanged) |
Production layers
| Layer | What it does | Active since |
|---|---|---|
| tests | Build, token audit, and Playwright visual tests; a pre-commit hook rejects loose colors | Oct 12, 2026 |
| catalog | Storybook: 30 story files, 56 stories, on the same tokens.css | Oct 12, 2026 |
| preview_deploy | Cloudflare Workers: a preview URL per branch, plus production | Oct 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.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.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.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.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.