Query canonical context
Read the manifest or query CLI before implementation. Never reconstruct props, variants, or tokens from model memory.
Reusable tokens, package exports, presets, icon policy, media requirements, and the source-of-truth map for every consumer.
Consumers can install or download the system without copying values by hand.
Every asset type names its canonical source and update path.
Generated exports fail validation when they drift from source CSS.
The downloadable token artifact is generated from canonical CSS. Code consumers use package exports directly.
Generated DTCG-shaped token data with reference, semantic, layout, radius, motion, and light/dark mode values.
Versioned machine-readable contract for every public export, component, guideline, source, token dependency, and blocking validation command.
Concise operating rules and links for tools that discover llms.txt.
Complete readable component, accessibility, implementation, guideline, template, and validation reference.
Canonical CSS custom properties for product runtimes.
Theme mappings, typography families, radii, semantic colors, and motion utilities.
Six complete production archetypes with loading, empty, error, permission, and completion states.
Query commands, consumer setup, exception policy, CI gates, and MCP adapter guidance.
Public React components, utilities, providers, and motion helpers.
Import tokens once, extend the preset, then import public components from the package root.
// app/globals.css
@import '@ai-created/ui/styles/tokens.css';
// tailwind.config.js
module.exports = {
presets: [require('@ai-created/ui/tailwind-preset')],
content: ['./src/**/*.{ts,tsx}'],
};
// product UI
import { Button, Surface } from '@ai-created/ui';Agents use the same versioned inputs and blocking gates as human contributors, without inferring undocumented design decisions.
Read the manifest or query CLI before implementation. Never reconstruct props, variants, or tokens from model memory.
Use the directory, detail, form, settings, dashboard, or onboarding template when its product shape matches.
Raw colors, reference tokens, internal imports, arbitrary system values, and local primitive copies fail the policy gate.
A necessary departure names one rule, narrow files, a concrete reason, an owner, and a future review date.
Commands return JSON and validate the same contract that ships with the selected package version.
npm run agent:query -- component button
npm run agent:query -- guideline accessibility
npm run agent:query -- template dashboard
npm run agent:checkStart at the overview when introducing the model to a team. Stay in this chapter for the canonical rules.
Each asset has one canonical authoring location and an explicit distribution path.
| Asset | Canonical source | Distribution | Change gate |
|---|---|---|---|
| Reference and semantic tokens | styles/tokens.css | CSS package export and generated JSON | Theme and contrast review |
| Tailwind mappings | tailwind-preset.js | Preset package export | Matches canonical CSS names |
| React components | src/components | Package root exports | API, a11y, unit, interaction and visual review |
| Component specifications | playground/specs | This portal | Registry completeness and parity tests |
| Icons | Lucide dependency | lucide-react | Use standard glyph before custom asset |
| Product imagery | Owning product repository | Product deployment | Theme, crop, rights and accessibility review |
| Visual baselines | e2e/__screenshots__ | Repository test artifact | Intentional reviewed update |
| Agent manifest and context | Runtime, tokens, registries, templates, and AGENTS.md | Package files and portal downloads | Generated parity and freshness checks |
A future design-tool library should mirror this portal without becoming a competing source of truth.
| Page | Contents |
|---|---|
| 00 Cover and release | Version, status, owner, release notes, migration alerts |
| 01 Foundations | Variables, text styles, layout, radius, motion, icon and media rules |
| 02 Components | Published component sets matching public exports |
| 03 Patterns | Approved compositions and complete state flows |
| 04 Accessibility | Annotations, focus order, keyboard and announcement notes |
| 05 QA | Theme, locale, resize, density and exceptional-state comparison frames |
| 99 Deprecated | Migration-only assets with removal version |
Publish design assets with the corresponding package version and changelog.
Consumers select intent. Reference values remain hidden from product authoring.
Providers and utilities receive documentation, not artificial canvas components.
Detachment signals either missing capability or unsupported product drift.
Reusable assets are complete only when their licensing, modes, states, naming, and fallback behavior are documented.