Skip to content

YosegiScreens out of the components you already have

Assemble screen UIs from the components already in your Storybook, emit them as Stories, and turn those Stories into implementations. Driven by coding agents — a CLI, an MCP server, and an Agent Skill. No GUI.

YosegiYosegi

Measured on a production design system

278 components from 120 files in about 4 seconds, 98.9% with props read from types, deterministic output. How types become a catalog, and what the numbers mean: Component Registry.

And benchmarked across four UI libraries: an agent given any carrier of your components' API — the source, a package's .d.ts, or the registry — produces the same clean screen. The registry is the smallest of those reads at design-system scale: a fifth of the source, a third of the .d.ts a package ships. Same output, least context: Benchmark.

Install

Requires Node.js 22+. Any package manager.

sh
# npm
npm i -D @yosegi/yosegi
# pnpm
pnpm add -D @yosegi/yosegi
# yarn
yarn add -D @yosegi/yosegi
# bun
bun add -d @yosegi/yosegi

Then install the Agent Skill, which is the primary way to use Yosegi:

sh
npx skills add yosegi-dev/yosegi

Then: "build me a screen proposal from the existing components".

Yosegi (寄木細工) is a Japanese marquetry technique: small pieces of wood gathered into one pattern. The tool gathers design system components into a screen.

Released under the MIT License.