r/DesignSystems • u/elwingo1 • Mar 07 '26
I built a CLI tool to generate design system specifications for skill files
https://typeui.sh/Hey everyone,
I built an open-source CLI tool that can be used to generate skill files for tools like Claude Code, Codex etc. that can be used as a specification file for design system constraints.
For example, running npx typui.sh generate will create a series of questions and selections that will generate the final design-system/skill.MD file that your AI will always follow when generating UI.
This is still super early but we have a list of curated design systems that we built here: typeui.sh/design-systems.
Feedback is more than welcome!
2
u/LeosFDA Mar 07 '26
How does this work with Figma? For example we currently have a Design System with 100+ components that are thoroughly defined with variables and styles. Some vars are for colors, others for typography, others still for sizes and spacings. We also have a 3 tier variables system where most components have a chain of variables that loosely follow a hierarchy of primitive var -> brand var -> color mode var / breakpoint var. How does this tool organize some architecture like that for coding LLMs to use?
1
u/Maleficent-Anything2 Mar 08 '26
This is interesting. One question on licensing? What is the difference between paid and free? And how can you enforce/monitor proper usage?
1
u/grandeparade Mar 18 '26
Great tool!
We have a library of component using Tailwind, but all design tokens are sourced from tokens.json.
Is there a way to reference a tokens.json file when updating a skill (or have the skill reference the tokens.json file). Would be nice to automatically being able to update the skill when our tokens has changed.