SuperAPIAI Directory

design-os

github.com · AI design

DESIGN:OS is a design command-line tool (CLI) for coding agents such as Claude Code, Codex, and Antigravity. It reads a project's existing design tokens, components, and documentation, and compiles them into a unified design store (design/ store), containing DTCG tokens with schemas, a component registry, declared stances, and a hash-sealed manifest. Coding agents load this store before each task, work with the project's own names and values, and run deterministic gate checks on their output. Users can describe UI in natural language and get Web, Figma, and SwiftUI output. The CLI itself does not call models and does not send data externally. The project is free and source-available (PolyForm Shield 1.0.0), published on npm as ease-design with the command ui.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsLinux

About this tool

DESIGN:OS is a design CLI positioned to provide project-level design system context for coding agents such as Claude Code, Codex, and Antigravity, and to constrain their output through deterministic gates.

Purpose and approach: first connect the project's existing design system (tokens, components, documentation) to a standard ontology, compile it into a sealed design/ store, and then let coding agents autonomously complete design tasks based on that store. The CLI handles compilation, checking, and sealing; it does not call models, install dependencies, or scrape Figma libraries; the agent remains the user's own coding agent.

Main capabilities:

  1. Design system onboarding: ui scan detects frameworks, styles, and component directories; token sources include CSS custom properties (ui designmd extract-tokens), Figma library scans generated via Bridge, or a flat tokens.json; components come from code exports or the same Figma scan; CONTEXT.md and ontology/glossary.yaml provide project terminology.
  2. Standard ontology and store: ui ingest-css-ds, ui ingest-figma-ds, and ui ds import write into the unified design/ store; ui ds kit plan | prepare | validate | adopt | verify covers the component kit workflow from capture to validation and adoption; afterward, tokens are modified via ui ds change-token and ui ds set-role. Manual edits break the seal, and ui ds status and ui ds context report hash mismatches until the changes are made through the CLI or ui ds reseal is run.
  3. Design agents: ui init writes skills, the /ui command, and routing rules for Claude Code, Antigravity, or Codex; ui agents init generates three project-named agents (designer, curator, figma-hand) from the same roster, each agent loads ui ds context before acting, and designer looks up the components it uses via ui registry lookup. ui gate checksCheck the layout, accessibility, taste, tells, copy, and design system usage of the agent build results, and give a unified conclusion.
  4. Output and checks: Users describe the UI in natural language, can get Web, Figma, and SwiftUI output, and pass through a deterministic taste gate. ui --help lists all commands, and ui schema --json outputs machine-readable command signatures.

Usage: Requires Node 20 or later; run the relevant commands in the project; the global install command is npm install -g ease-design. The repository also provides .codex-plugin/plugin.json for Codex native plugin discovery, and explains installation for Gemini CLI, Antigravity, and other tools (OpenCode, Cursor, Windsurf); you can use python3 scripts/self_check.py to check a repository clone, or run /doctor in Claude Code / Codex.

Applicable scenarios: Teams that already have a design system and want coding agents to produce UI according to project tokens and component specifications; workflows that need multi-platform design output for Web, Figma, and SwiftUI; scenarios that want to constrain AI design output with deterministic gates.

Limitations: The Figma path requires a scan from Bridge; the CSS path only reads custom properties; the completeness of capture depends on the source, partial captures remain in a partial state, and the suite gate will not mark them as complete; ui gate and ui ds a11y are baselines rather than compliance statements. The license is PolyForm Shield 1.0.0, free to use and modify (including paid client work), but you may not resell it or build a competing product based on it.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools