跳到正文
GitHub·· 7 天前AI 评分18

Yami 设计系统:AI 驱动的原型制作平台

divikw/yami-design-system

AI 导读

Yami 设计系统是一个 AI 驱动的原型制作平台,运行时并不调用模型,而是由用户在 Codex 或 Kiro 中生成 DirectionManifestV1 JSON 文件,再从 Canvas 控制面板导入,浏览器在保存到本地存储前校验 schema,无需 API key、登录或数据库。

正文

由 AI 驱动的 Yami 设计系统与原型制作平台。

Local development

corepack pnpm install
pnpm generate
pnpm dev
pnpm dev:storybook
pnpm dev:docsite

TypeScript 7 provides tsc through the @typescript/native alias. The root typescript alias uses @typescript/typescript6 for ESLint and the design-system validators that require the compiler API. Keep both aliases when updating dependencies (TypeScript migration guidance).

AI workflow

Yami Design System does not call a model at runtime. Generate a DirectionManifestV1 JSON file in Codex or Kiro, then import it from the Canvas control panel. The browser validates the schema before saving the direction to local storage.

No API key, login, or database is required.

See docs/ai-workflow.md for the reusable agent prompt and import contract.

Hosted environments

Docsite is a separate Vercel target at apps/docsite. Pull requests create Preview deployments and updates to main create Production deployments.

The source repository and Vercel Production deployments are public. Canvas, Storybook and Docsite all configure automatic Git deployments. The configuration takes effect when it reaches the connected repository; verify the resulting deployment before reporting a site update. No Vercel project receives an AI secret. See ADR 003 for the current release policy.

Public availability does not grant reuse or redistribution rights for the licensed fonts, brand marks or product photography. The asset-rights conflict is recorded but not cleared; review the asset notices before forking, mirroring or packaging static assets.

来源:GitHub · github.com