@ai-created/ui
All guidelines
Guideline 07Evolving

Assets and distribution

Reusable tokens, package exports, presets, icon policy, media requirements, and the source-of-truth map for every consumer.

Owner
Design Systems and Frontend Platform
Last reviewed
August 2026
Review cadence
Every package and token release
Source of truth
Repository package exports and generated token artifact

Required outcomes

01

Consumers can install or download the system without copying values by hand.

02

Every asset type names its canonical source and update path.

03

Generated exports fail validation when they drift from source CSS.

01

Reusable downloads

The downloadable token artifact is generated from canonical CSS. Code consumers use package exports directly.

02

AI agent contract

Agents use the same versioned inputs and blocking gates as human contributors, without inferring undocumented design decisions.

Agent operating model

01

Query canonical context

Read the manifest or query CLI before implementation. Never reconstruct props, variants, or tokens from model memory.

02

Start from an approved archetype

Use the directory, detail, form, settings, dashboard, or onboarding template when its product shape matches.

03

Reject silent drift

Raw colors, reference tokens, internal imports, arbitrary system values, and local primitive copies fail the policy gate.

04

Make exceptions accountable

A necessary departure names one rule, narrow files, a concrete reason, an owner, and a future review date.

Agent query and validation

Commands return JSON and validate the same contract that ships with the selected package version.

bash
npm run agent:query -- component button
npm run agent:query -- guideline accessibility
npm run agent:query -- template dashboard
npm run agent:check
03

Source-of-truth map

Each asset has one canonical authoring location and an explicit distribution path.

Asset ownership

AssetCanonical sourceDistributionChange gate
Reference and semantic tokensstyles/tokens.cssCSS package export and generated JSONTheme and contrast review
Tailwind mappingstailwind-preset.jsPreset package exportMatches canonical CSS names
React componentssrc/componentsPackage root exportsAPI, a11y, unit, interaction and visual review
Component specificationsplayground/specsThis portalRegistry completeness and parity tests
IconsLucide dependencylucide-reactUse standard glyph before custom asset
Product imageryOwning product repositoryProduct deploymentTheme, crop, rights and accessibility review
Visual baselinese2e/__screenshots__Repository test artifactIntentional reviewed update
Agent manifest and contextRuntime, tokens, registries, templates, and AGENTS.mdPackage files and portal downloadsGenerated parity and freshness checks
04

Design library model

A future design-tool library should mirror this portal without becoming a competing source of truth.

Recommended library pages

PageContents
00 Cover and releaseVersion, status, owner, release notes, migration alerts
01 FoundationsVariables, text styles, layout, radius, motion, icon and media rules
02 ComponentsPublished component sets matching public exports
03 PatternsApproved compositions and complete state flows
04 AccessibilityAnnotations, focus order, keyboard and announcement notes
05 QATheme, locale, resize, density and exceptional-state comparison frames
99 DeprecatedMigration-only assets with removal version

Publishing policy

01

Version the release

Publish design assets with the corresponding package version and changelog.

02

Expose semantic variables

Consumers select intent. Reference values remain hidden from product authoring.

03

Keep code-only exports honest

Providers and utilities receive documentation, not artificial canvas components.

04

Audit detached instances

Detachment signals either missing capability or unsupported product drift.

05

Asset quality gates

Reusable assets are complete only when their licensing, modes, states, naming, and fallback behavior are documented.

Release checklist by asset type

Tokens

  • Generated artifact matches CSS.
  • Aliases resolve without cycles.
  • Light and dark modes are complete.
  • Names and types remain stable or include migration.

Icons

  • Optical size matches 16, 20, or 32px role.
  • Accessible name comes from the control or nearby text.
  • Directionality is documented.
  • Custom icons include source and license.

Media

  • Usage rights and source are recorded.
  • Light/dark variants and crops are paired.
  • Fallback and alt behavior is defined.
  • Files meet product performance budgets.