© 2026 Keke LE Design
2025
Alibaba Group
GenAI Research
Tmall Design is a design system developed specifically for the Tmall shopping app, one of the largest B2C e-commerce platforms in China.
Unlike previous iterations, the version presented on this site is intended not only for human designers and developers, but more importantly for AI models. Its content structure, textual format, and communication logic have been translated to enable AI models to read and apply the specification. With AI assistance, users can reference this knowledge base to generate user interfaces that comply with Tmall's design specification (1), as well as conduct design evaluation and Q&A (2).
By enabling a more efficient and advanced mode of human-AI collaborative design, the system supports scenarios such as recomposing existing designs, making incremental adjustments, and creating new interfaces step by step.
In the daily workflow of design teams, output targets generally fall into three categories: modules, single pages, and multi-page flows. Correspondingly, design approaches can be grouped into three modes: assembling existing components, modifying existing components, and creating new components. Among these, modifications to existing components can be further broken down into information adjustments, layout adjustments, and style adjustments.
When mapped to the five major demand scenarios—core user journeys, content discovery channels, interactive products, marketing events, and B-end experience—a year-round analysis reveals a consistent pattern: within core journeys, discovery channels, and B-end experience, design tasks involving assembling or modifying existing components at the module or single-page level account for nearly 48% of all requests.
This substantial volume of repetitive and structurally similar design work urgently calls for automated, AI-driven design-generation methods to significantly improve both efficiency and output quality. For enterprise design teams, the primary goal is to generate product interfaces that faithfully adhere to internal design standards, and this requires the same essential task: clarifying and constructing an AI-friendly design-knowledge system that can be connected to design tools or large models.
The VersionAI Tmall solution presentation for GenUI ↑
By constructing the Design System Specification Knowledge Base and the Interface Generation Multi-Agents Workflow, an integrated, AI-friendly enterprise design system is formed. The system can be flexibly applied in IDE-based environments and agent-mode design tools via MCP or context injection. This comprehensive set of theory and practice offers broad applicability and can be adopted by enterprise teams across industries. VersionAI Tmall has already been implemented in real-world projects, resulting in significant improvements in interface design efficiency.
Generative UI Agent Structure ↑
Interface generation is essentially a domain-specific intelligent system composed of multiple task-specific agents, operating within an enterprise-aligned design workflow, and driven by contextual reasoning and retrieval over Design System Specification Knowledge. These agents are organized into four primary task agents: intent recognition, knowledge retrieval, design synthesis and code generation.
Design System Specification Knowledge acts as externally retrieved factual knowledge: through a Design-to-Code (D2C) transformation, design assets are converted into rule-based semantic facts, code-level symbolic facts, and the structured mappings between them, forming a structured Design Knowledge Base that the model can read, retrieve, and extract from.
Structural translation of design system specification knowledge ↑
Design System Specification Knowledge is composed of two categories of knowledge objects and three file types. The two categories of knowledge objects are Styles and Cases, where styles are further subdivided into four types: Elements, Layouts, Components, and Assets. Each category of knowledge object is associated with three file types: Semantic rules, Mapping schemas, and Code implementations.
Semantic rules consist of textual descriptions covering an object's definition, styles, variables, usage, and constraints. They represent the foundational intellectual property that gives rise to experiential differentiation and are authored in Markdown format. Code implementations translate objects into executable and deployable symbolic facts, using the appropriate programming language as the representation format.
Mapping schemas act as the central connective layer between semantic rules and code implementations. Rather than duplicating either, they provide object ID anchoring, constraint definitions, and precise code references. Within the workflow, they guide knowledge retrieval, solution construction, and code generation, enabling large language models to avoid traversing the entire knowledge corpus and reducing computational overhead.
Element interpertation example: Color ↑
Component interpertation example: Price ↑
Asset interpertation example: Icon ↑
Page interpertation example: Shopping Feed Page ↑
Node orchestration ↑
Next, the workflow for interface design and generation is engineeried. A multi-agent, upstream-to-downstream collaborative process is, in essence, the definition and configuration of each sub-agent and its chaining logic.
In this project, the workflow and agents are built within an IDE-based tool. The base model and memory use default settings; tools are either defaulted or require no configuration; the remaining items are defined explicitly. The prompt Markdown files include (but are not limited to) role definitions, task definitions, built-in workflow steps, input/output requirements, access and routing, and constraints.
Agent configuration (excerpt) ↑
Agent configuration (excerpt) ↑
VersionAI Tmall official website ↑
VersionAI Tmall is an AI-oriented design specification website. It contains all the design knowledge described above and helps users generate user interfaces that conform to the Tmall design specification, conduct design reviews, and resolve Q&A. The site’s page structure is consistent with the design system knowledge structure, organized as a tree navigation of styles, cases, and their sub-unit knowledge modules.
Each knowledge module page can switch between rules for humans and rules for AI, and supports copying or downloading knowledge snippets. A deployment page guides users on how to invoke the specification for interface generation.
How it works ↑
This website provides two ways for users to invoke the Tmall design specification within AI tools: an MCP Server and context injection. By one-click configuring the MCP server in an IDE tool, the system automatically depends on the Tmall design knowledge base. The MCP-wrapped APIs perform automated processing and return results based on the user’s natural-language instructions; supported capabilities include (but are not limited to) Search and running workflows (runWorkflow).
Alternatively, users can click Copy or Download on a specific knowledge module page to obtain a snippet package containing semantic rules, mapping schema, and code implementations, and paste it directly into the instruction input box for local edits and generation.
Project planning roadmap ↑
This project also marked our first deep adoption of AI coding tools to realize the translation of Tmall's design knowledge, the packaging of MCP services, and the creation of a brand-new AI-friendly design guideline website. In practice, the work was divided into three separate engineering packages:
Website design ↑
In the age of AI, open access has become more valuable than ever before. If data and knowledge cannot be retrieved, invoked, or learned by AI systems, it is almost like remaining isolated in an era of globalization. Since Tmall has never had an official design guideline website like many of the world’s leading products and platforms, it has now become essential to create one. More importantly, this should be among the first generation of design websites built specifically for AI consumption.
The official website design of the Tmall app also follows its own design philosophy, “White Paper.” The system is shaped by the “White Paper” design philosophy, which emphasizes presenting content as if it leaps forth from a blank canvas, removing any elements that may cause distraction or confusion.
Responsive layouts ↑
The website structure consists of Home, Deploy, Style, Case, Blog, and About. Each subpage is composed of a sidebar navigation system, a specification operation panel (including rule and prompt switching, as well as copy and download controls for specifications), the main content area, and an index panel. Responsive layouts were also designed and implemented for different device screen sizes.
AI-collaborative intro-video design ↑
From human design to machine generation, from a single subject to dual subjects: the computer screen serves both as the medium for interface design operations and as the surface of presentation — one screen, two sides. Inside the screen is the machine, outside the screen is the human. The machine draws, the human observes. The black-box process of AI-generated interfaces and the human-machine relationship are visualized across the thin boundary of the screen.
UI drawing trajectory capture ↑
Compositing and post-production ↑
Keke LE
MPID Multi-platform Innovation Design
Taobao Design Sub-unit
Alibaba Group © All rights reserved.