8000 GitHub - jangtrinh/cx-driven-design: CX-Driven UI/UX Framework, Workflow, Agent Skill & Live Spatial Booking Demo (SORA Rooftop) · GitHub
[go: up one dir, main page]

Skip to content

About

CX-Driven UI/UX Framework, Workflow, Agent Skill & Live Spatial Booking Demo (SORA Rooftop)

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

CX-Driven Design

English | Tiếng Việt

Live Reference Prototype: SORA Rooftop Spatial & Ergonomic Booking
Companion Playbook: CX-Driven Design Framework

CX-Driven Design is an engineering methodology and open-source knowledge base for translating physical Customer Experience (CX) friction into deterministic UI architecture. Instead of treating booking and spatial selection interfaces as abstract CRUD forms wrapped in a clean component library, this framework derives every viewport, interaction, geometric constraint, and confirmation artifact from the physical anxieties a real guest experiences before, during, and after arrival. Grounded in First Principles & Way of Thinking (Tiếng Việt), it pairs a 5-layer architecture with normative spatial, ergonomic, interaction, and QA specifications.


Live Prototype Evidence (SORA Rooftop v5)

The reference implementation in docs/index.html models a 28th-floor rooftop restaurant across 19 tables, 5 acoustic/view zones, 5 times of day, and individual guest anthropometry.

Hall Floorplan & Spatial Wayfinding Ergonomic Clash Detection (M1 Booth)
SORA Rooftop Hall Floorplan Booth Legroom Clash Detection
19-table Hairline isometric floorplan anchored directly beneath the living Manhattan skyline horizon, showing Entrance, Host Desk, and WC wayfinding. Guest anthropometric fit (192 cm / 118 kg) triggers a red Booth Clash warning against the 44 cm banquette depth limit, with a one-click Move to open ends fix.
Round Table Radial Fit (W4) Zone-Switched Interior POV (Wine Lounge)
Round Table Radial Seating Wine Lounge Interior POV
Radial slot allocation (120 × 120 cm) checks circumference clearance across seated guests and suppresses filler status badges when fit is clean. Selecting L1 or L2 swaps the horizon layer to the backlit walnut cellar interior (52 dB acoustic chip) and keeps quick table switching in a compact mini-HUD.

The 5-Layer CX-to-UI Framework

Every spatial or high-stakes physical service UI is structured across five testable layers:

  1. Layer 1 — Anxiety & Expectation Audit: Identify irreversible choices, sensory sensitivities, physical fit variance, and wayfinding unknowns before drawing a single wireframe.
  2. Layer 2 — Sensory & Temporal Proof: Replace static carousel galleries with a persistent Living Horizon calibrated to the selected time of day (08:30 to 21:00), viewing angle (panOffset), mullions, and acoustic decibel tags (50 dB to 68 dB).
  3. Layer 3 — Direct On-Object Manipulation: Consolidate scattered chrome into a single Bottom Command Dock and allow pointer interaction directly on isometric tables, chairs, and open floor slots rendered via 3D AABB topological depth sorting (topoSortSolids).
  4. Layer 4 — Physical & Ergonomic Constraints: Compute real spatial clearance (widthCm, legroomCm, boothSide, table merge geometry) from guest height, weight, or wheelchair bay requirements. Surface status badges only when a violation exists; never render green filler badges like "Comfortable".
  5. Layer 5 — Operations Handoff Brief: Compile every user layout decision into an actionable operational specification (exact chair count, merged dimensions, aisle/end assignments) delivered to the front-of-house or service team at confirmation.

Read the full specification in framework/cx-to-ui-framework.md and check when to apply it in framework/decision-matrix.md.


Repository Structure

Path Purpose
knowledge/00-first-principles.md 7 First Principles and 5-Question Mental Model for physical-service UIs (Tiếng Việt)
knowledge/01-why-cx-drives-uiux.md Why clean component libraries fail physical-service users (Tiếng Việt)
knowledge/02-cx-failure-patterns.md 6 recurring CX anti-patterns and their deterministic UI remedies (Tiếng Việt)
framework/cx-to-ui-framework.md Full 5-layer architecture contracts and verification rules (Tiếng Việt)
framework/decision-matrix.md Bilingual matrix for choosing Spatial/Sensory UI vs. standard form flows
specs/01-spatial-data-schema.md Normative TypeScript/JSON schema for zones, tables, lighting, and handoff briefs
specs/02-ergonomic-and-constraint-engine.md Normative anthropometric math, clearance rules, clash detection, and table-merge geometry
specs/03-interaction-and-ia-spec.md Normative IA shell, Living Horizon, Bottom Command Dock, topoSortSolids, and pointer hit-testing
specs/04-verification-and-qa-spec.md Normative deterministic QA gates, layout probes, link checks, and 5-state visual proof matrix
workflows/cx-discovery-to-prototype.md 6-phase workflow traced from field friction through SORA v1 to v5 (Tiếng Việt)
skills/cx-driven-ui/SKILL.md Domain-agnostic 2-Mode Core Skill (Brainstorm Mode + Build Mode with 5 Universal CX Invariants and visual-proof gate)
skills/cx-driven-ui/references/brainstorm-protocol.md Mode 1 interactive CX brainstorm protocol across any industry: 4 Anxiety Archetypes and 3-Tier Solution Matrix
skills/cx-driven-ui/references/patterns/spatial-and-booking.md Pattern Pack for Living Horizon, 3D AABB topoSortSolids, anthropometric fit, and seating/room booking
skills/cx-driven-ui/references/patterns/financial-and-risk.md Pattern Pack for Fintech, checkout, billing, irreversible commitment guards, and transparent receipts
skills/cx-driven-ui/references/patterns/temporal-and-service.md Pattern Pack for healthcare, logistics, SLA timelines, wait-load cues, and arrival prep briefs
skills/cx-driven-ui/references/patterns/ecommerce-and-config.md Pattern Pack for custom configurators, compatibility checks, variant trade-off proof, and fulfillment specs
skills/cx-driven-ui/references/cx-anxiety-checklist.md Universal 20-point pre-build CX audit across expectation, physical fit, temporal honesty, financial/cognitive risk, and handoff
skills/cx-driven-ui/references/industry-blueprints.md Universal domain-to-Pattern-Pack matrix mapping Fintech, SaaS, E-commerce, Logistics, Healthcare, and 6 physical-service verticals
demos/01-fnb-sora-rooftop.md Engineering case study of docs/index.html (SORA Rooftop v5)
demos/02-hotel-room-preview.md Blueprint for hotel room solar exposure, dB heatmaps, and desk/bed ergonomics
demos/03-aviation-seat-experience.md Blueprint for flight seat knee clearance, window alignment, glare, and galley noise
demos/04-healthcare-clinic-journey.md Blueprint for clinic parking-to-exam accessibility, sensory wait load, and intake prep
demos/05-theater-and-events.md Blueprint for stage sightline cones, acoustic dispersion, and accessible companion seating
demos/06-heritage-train-hue-danang.md Community case study by Tùng Đường for the Hue–Da Nang Heritage Train: travel direction, Sea/Mountain sides, 1-tap reverse-seat fix, and 3D "Ngồi thử" preview
docs/ Self-contained live HTML prototype, Hairline SVG kernel, and verified screenshots

Community Demo: Hue–Da Nang Heritage Train (Tùng Đường)

Inspired by the theater-seat CX teardown in demos/05-theater-and-events.md and built from real booking frustration, Tùng Đường created an interactive booking prototype for the Hue–Da Nang Heritage Train solving fixed opposing-half carriage seating with live travel-direction arrows, Sea vs. Mountain side labels, instant reverse-seat warnings with a 1-tap forward switch, and a 3D "Ngồi thử" (Try Sitting) carriage camera. Read the full breakdown in demos/06-heritage-train-hue-danang.md or watch the demo reel.


Quickstart & Agent Skill Installation

1. Run the Live Prototype Locally

Serve docs/ over any static HTTP server to inspect SORA Rooftop v5 locally:

git clone https://github.com/jangtrinh/cx-driven-design.git
cd cx-driven-design
python3 -m http.server 4173 --directory docs

Open http://localhost:4173 in a browser. Supported inspection query parameters include ?mode=arrange&preset=broad4, ?mode=arrange&preset=overflow7, ?table=L1&mode=preview, and ?static=1.

2. Install the Portable 2-Mode Agent Skill

Copy skills/cx-driven-ui into your agent runtime's skills directory (for example, .agents/skills/ inside a project or your global skill catalog):

mkdir -p .agents/skills
cp -R skills/cx-driven-ui .agents/skills/cx-driven-ui

skills/cx-driven-ui/SKILL.md operates as a domain-agnostic 2-Mode Core Skill:

  • Mode 1 — Brainstorm Mode (brainstorm-protocol.md): Guides interactive CX discovery across any domain (SaaS, Fintech, E-commerce, Logistics, Healthcare, Travel, F&B) by mapping friction across 4 Anxiety Archetypes, scoring irreversibility, and proposing a 3-Tier CX-Driven Solution Matrix before coding.
  • Mode 2 — Build Mode (SKILL.md): Enforces 5 Universal CX Invariants (Silent-When-Clean warning discipline, One Surface of Truth, real constraint checks, single consistent font family, deterministic operations handoff + mandatory screenshot verification) and loads only the matching Contextual Pattern Packs on demand:

Example Brainstorm Mode Prompt:

Use skills/cx-driven-ui/SKILL.md in Brainstorm Mode to diagnose customer anxieties in our [checkout / onboarding / booking] flow across the 4 archetypes and propose a 3-tier CX-driven solution matrix before coding.

License

Released under the MIT License. Copyright (c) 2026 Jang Trinh.

About

CX-Driven UI/UX Framework, Workflow, Agent Skill & Live Spatial Booking Demo (SORA Rooftop)

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

0