DEV Community

Cover image for Generate design skill files for your agentic tools with TypeUI
Zoltán Szőgyényi
Zoltán Szőgyényi

Posted on • Originally published at typeui.sh

Generate design skill files for your agentic tools with TypeUI

We’ve all been there. You’re using Cursor, Claude Code, or Copilot, and you ask it to whip up a quick dashboard component. The logic is flawless, the state management is perfect, and then... you look at the UI.

Suddenly, your app has three new shades of blue that don't exist in your Tailwind config, the padding is completely arbitrary, and the AI has decided to invent its own design system on the fly.

AI models are absolute wizards at writing logic, but without strict constraints, they hallucinate design tokens like crazy.

That’s why I want to talk about typeui.sh — an awesome open-source CLI tool that acts as a dedicated design layer for your agentic tooling.

What exactly is typeui.sh?

Think of typeui.sh as a strict design manager for your AI assistants.

screenshot of typeui.sh terminal

It’s a CLI tool that generates and manages skill.md files right inside your project. These files act as the ultimate source of truth for your design system and style guide.

By feeding these highly curated instructions to your AI, you force the LLM to actually respect your design tokens, component structures, and styling rules.

No more fighting over CSS classes. You just get polished, production-ready UI components that actually match your brand.

The 4 Commands You Need to Know

The CLI is super intuitive and stays out of your way. Here is the core workflow:

1. generate

npx typeui.sh generate
Enter fullscreen mode Exit fullscreen mode

This is where the magic starts. Instead of writing a massive, 500-line system prompt explaining what a "primary button" looks like in your app, this command scaffolds the provider skill files directly in your current project. Your AI assistant reads this file and instantly understands your design constraints.

2. update

npx typeui.sh update
Enter fullscreen mode Exit fullscreen mode

Design systems aren't static. When you tweak your spacing scales or add a new brand color, you just run update. It refreshes your existing provider skill files so your AI is always working with the latest guidelines, without nuking your custom configurations.

3. list

npx typeui.sh list
Enter fullscreen mode Exit fullscreen mode

Don't want to build a design system from scratch? I don't blame you. Running list lets you browse a registry of pre-built design system specifications.

design systems on typeui

It’s perfect for hackathons or when you just want to bootstrap a new project with a gorgeous, proven design language.

4. pull

npx typeui.sh pull [name]
Enter fullscreen mode Exit fullscreen mode

Once you spot a design system you like in the registry, just pull it. For example, pulling a "modern" spec will download that specific markdown file directly into your workspace. It comes pre-loaded with comprehensive design tokens, instantly teaching your AI how to design within that specific aesthetic.

Open source

The best part? The core CLI is open-source under the MIT license. You can use it for your local workflows entirely for free.

If you're a freelancer or an agency looking for access to our curated premium design systems and priority support, they also offer one-time payment licenses (which is a breath of fresh air in today's subscription-fatigued world).

Wrapping up

As we rely more on AI to write our code, controlling the output is becoming just as important as the generation itself. If you're tired of playing CSS whack-a-mole with your LLM, give this a try.

Check out the docs and try it out here: typeui.sh

Top comments (0)