design-system-builder

design-system-builder is a skill for Claude Code, Codex from hoangatg/ai-agent-toolkit. It costs 30 tokens per session (810 once invoked), scanned A, original, MIT.

A guide to building design systems: shared rules and reusable interface components such as buttons, forms, cards, and navigation.

In plain words
What is it for?
Use it when creating component libraries, defining colors and spacing as design tokens, adding accessible component APIs, documenting usage, or supporting themes.
Why use it?
It helps teams keep interfaces consistent and avoid recreating or documenting the same UI decisions in different places.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when creating component libraries, defining colors and spacing as design tokens, adding accessible component APIs, documenting usage, or supporting themes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hoangatg/ai-agent-toolkit/design-system-builder
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add hoangatg/ai-agent-toolkit --skill design-system-builder
Clone the repo
git clone --depth 1 https://github.com/hoangatg/ai-agent-toolkit

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for design-system-builder

README.md
[![agentmods](https://agentmods.dev/badge/skills/hoangatg/ai-agent-toolkit/design-system-builder.svg)](https://agentmods.dev/skills/hoangatg/ai-agent-toolkit/design-system-builder)
Your own site
<a href="https://agentmods.dev/skills/hoangatg/ai-agent-toolkit/design-system-builder"><img src="https://agentmods.dev/badge/skills/hoangatg/ai-agent-toolkit/design-system-builder.svg" alt="Measured on agentmods" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 810 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00030 $0.00810
Opus 5 $0.00015 $0.00405
Sonnet 5 $0.00006 $0.00162
Haiku 4.5 $0.00003 $0.00081

Measured 4d ago against content hash ab7f24be8a2a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

design-system-builder scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agent/skills/design-system-builder/SKILL.md · 127 lines

How it starts

The opening of the file, as written. The whole thing — 127 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Design System Builder

Design once, use everywhere. Consistency at scale.


1. Core Components

Design System Layers

Layer Contains
Tokens Colors, spacing, typography, shadows
Foundations Grid, layout, breakpoints
Components Buttons, inputs, cards, modals
Patterns Forms, navigation, data display
Templates Full page layouts

2. Design Tokens

Token Architecture

Level Example Purpose
Global color-blue-500 Platform values
Alias color-primary Semantic mapping
Component button-bg-primary Component-specific

Token Formats

Tool Format
Style Dictionary JSON → CSS/JS/iOS/Android
Figma Tokens Figma plugin → JSON
CSS Custom Properties Native browser support

3. Component Design

Component API Principles

Principle Application
Composition Compound components over mega-props
Polymorphic as prop for element type
Accessible ARIA attributes built-in
Themed Tokens, not hardcoded values
Documented Props table + examples + guidelines

Component Maturity Levels

Level Requirements
Alpha Functional, basic tests
Beta Accessible, documented, stable API
Stable Full tests, Storybook, design approved
Deprecated Migration guide, timeline

4. Documentation

Docs Site Requirements

Section Content
Getting Started Install, setup, quickstart
Foundations Colors, typography, spacing
Components Live examples, props, guidelines
Patterns Common usage patterns
Changelog Version history

Tools

Tool Purpose
Storybook Component playground + docs
Chromatic Visual regression testing
Docusaurus Documentation site

Read the full file on GitHub · 127 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 127 lines · 30 tokens per session scan A ab7f24be8a2a

Subscribe to this mod's changes

design-system-builder is a skill published in the GitHub repository hoangatg/ai-agent-toolkit (1 stars, last pushed 5mo ago), licensed MIT. It adds 30 tokens to every session and 810 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.