@hsskey/tokenloom
v0.2.0
Published
A CLI that turns a Figma design into design tokens for three platforms (CSS, Swift, Kotlin) and into a design context for LLM prompts, deterministically.
Downloads
347
Readme
@hsskey/tokenloom
Give coding agents only the Figma context they need to implement a component.
tokenloom turns a Figma page export into component-level design context and reusable design tokens for CSS, Swift, and Kotlin. The transformation runs locally and deterministically and does not call a language model.
npm install -g @hsskey/tokenloom
tokenloom --helpNode.js 22 or later is required. Installing exposes the tokenloom command.
tokenloom init # install the Claude Code Skill in your project
tokenloom context Button --from designs/checkout.json --view agent --json
tokenloom tokens build --from designs/checkout.json --out src/tokens --platform css,swift,kotlinExport a page with the tokenloom exporter Figma plugin to produce the input snapshot.
This package ships the dist/tokenloom.js bundle and the Skill template that tokenloom init
installs. The sources, sample designs, and regression harness live in the repository.
- English: https://github.com/hsskey/tokenloom
- Korean: https://github.com/hsskey/tokenloom/blob/main/README.ko.md
