Products & ProjectsMihua Design生成框架组件体系产品工程Rules

How Components and Rules Participate in Product Generation

How Mihua Design connects page tasks, component selection, rules, real code, and verification in a traceable product-generation chain.
Fan Mihua

Fan Mihua

Cross-domain Designer

Hi, I’m Fan Mihua. This article explains how AI selects components from a page task, follows project rules, implements real code, and verifies the final result.

Why can generation still drift with a component library?

A component library records what exists, and rules record how to use it. They do not automatically preserve the page’s primary task, visual hierarchy, or the reason behind a specific choice.

Where components and rules sit in the generation chain
Where components and rules sit in the generation chain
The page emphasis can drift even when every component follows the rules
The page emphasis can drift even when every component follows the rules

Start component selection from the page task

For an opportunity page, a kanban can own the progression task while a table remains a supporting high-density view. The task determines the structure before a concrete component is selected.

Turn a one-time choice into a stable decision

A machine-readable page contract preserves the primary task, primary and supporting views, critical actions, failure feedback, and acceptance checks. Implementations may change without losing the product decision.

Connect decisions to real components

Page responsibilityImplementationSource
Layout and business regionsPageRow, SurfaceSectionSystem components
Metrics and statusKpiCard, StatusBadgeProject composition
Filtering and dense listsFilterSelect, DataTableProject composition
Progression and confirmationButton, ConfirmActionDialogSystem + project composition
Component responsibilities and provenance in a real opportunity page
Component responsibilities and provenance in a real opportunity page

Verify the generated result

CheckWhat must be true
ProvenanceEvery component is allowed and traceable
StructureThe primary and supporting views still match the task
Interaction stateActions bind to real data and failures have recovery
Runtime resultThe page opens, operates, responds, and completes the task

Components and rules become reliable only when the system can explain where they came from, why they were selected, and whether the running product satisfies the original task.