scaffold-design-system

scaffold-design-system is a skill for Claude Code, Codex from BostonOrange/claude-code-framework. It costs 29 tokens per session (1,577 once invoked), scanned A, original, MIT.

A setup guide for a project's design system: the shared rules for colors, spacing, typography, icons, and reusable interface components. It detects existing conventions or creates a starting structure for them.

In plain words
What is it for?
Use it to scan for theme tokens, base components, icon libraries, and design conventions, or to scaffold conventions based on Untitled UI or shadcn/ui. It can also document detected patterns in CLAUDE.md.
Why use it?
It reduces inconsistent visual decisions by documenting or establishing shared interface building blocks.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/bostonorange/claude-code-framework/scaffold-design-system
Any agent
npx skills add BostonOrange/claude-code-framework --skill scaffold-design-system
Clone the repo
git clone --depth 1 https://github.com/BostonOrange/claude-code-framework

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 scaffold-design-system

README.md
[![agentmods](https://agentmods.dev/badge/skills/bostonorange/claude-code-framework/scaffold-design-system.svg)](https://agentmods.dev/skills/bostonorange/claude-code-framework/scaffold-design-system)
Your own site
<a href="https://agentmods.dev/skills/bostonorange/claude-code-framework/scaffold-design-system"><img src="https://agentmods.dev/badge/skills/bostonorange/claude-code-framework/scaffold-design-system.svg" alt="Measured on agentmods" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,577 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00029 $0.01577
Opus 5 $0.00015 $0.00788
Sonnet 5 $0.00006 $0.00315
Haiku 4.5 $0.00003 $0.00158

Measured 3d ago against content hash d77f6a2930d4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

scaffold-design-system 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 3d 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.

skills/scaffold-design-system/SKILL.md · 159 lines

How it starts

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

Scaffold Design System

Bootstrap design system infrastructure for a project. Detects existing design patterns or creates new ones.

Usage

/scaffold-design-system                    — Auto-detect and scaffold (interactive)
/scaffold-design-system detect             — Detect existing design system, document in CLAUDE.md
/scaffold-design-system untitled-ui        — Scaffold Untitled UI conventions
/scaffold-design-system shadcn             — Scaffold shadcn/ui conventions

Process

Phase 1: Discovery

Scan the project to understand what design infrastructure already exists.

1.1 — Theme/Token files:

find . -type f \( -name "theme.css" -o -name "tokens.*" -o -name "design-tokens.*" -o -name "globals.css" -o -name "variables.css" \) -not -path "*/node_modules/*" 2>/dev/null

1.2 — Component library:

# Check for base/ui component directories
find . -type d \( -name "base" -o -name "ui" -o -name "primitives" -o -name "atoms" \) -path "*/components/*" -not -path "*/node_modules/*" 2>/dev/null
# Count component files in those directories
find . -path "*/components/base/*" -o -path "*/components/ui/*" | grep -E "\.(tsx|jsx|vue)$" | wc -l

1.3 — Icon library from package.json:

grep -E "untitledui|lucide|heroicons|phosphor|tabler|ionicons|feather" package.json 2>/dev/null

1.4 — CSS framework:

grep -E "tailwindcss|@tailwindcss|styled-components|emotion|vanilla-extract|css-modules" package.json 2>/dev/null

1.5 — Existing color patterns in components:

# Count raw vs semantic color usage
echo "Raw Tailwind colors:"
grep -rn "text-gray-\|bg-gray-\|border-gray-\|text-blue-\|bg-blue-" --include="*.tsx" --include="*.jsx" . | grep -v node_modules | wc -l

echo "Semantic tokens:"
grep -rn "text-primary\|text-secondary\|text-tertiary\|bg-primary\|bg-secondary\|fg-primary" --include="*.tsx" --include="*.jsx" . | grep -v node_modules | wc -l

1.6 — Accessibility library:

grep -E "react-aria|radix-ui|headlessui|ariakit" package.json 2>/dev/null

Read the full file on GitHub · 159 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. 3d ago First seen · 159 lines · 29 tokens per session scan A d77f6a2930d4

Subscribe to this mod's changes

scaffold-design-system is a skill published in the GitHub repository BostonOrange/claude-code-framework (2 stars, last pushed 1mo ago), licensed MIT. It adds 29 tokens to every session and 1,577 once invoked, about $0.0001 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-08-31.

Related

Other skills, from other repositories

material-ui-tailwind

Integrates Material UI with Tailwind CSS v4 using cascade layers (enableCssLayer, @layer order) and documents Tailwind v3 interoperability (preflight, important, injectFirst, portals). Use when combining MUI with Tailwind utilities, slotProps className, or theme token bridges.

mui/material-ui · 67 tokens

hallmark

Anti-AI-slop design skill for greenfield pages, audits, redesigns, and design extraction from URLs or screenshots. Use when the user asks to build a new app or landing page, wants to redesign something, invokes Hallmark by name, or uses audit/redesign/study.

Nutlope/hallmark · 61 tokens

read

Reads URLs and PDFs by fetching source content, defaulting to concise summaries for plain read requests and clean Markdown when asked to convert, save, quote, cite, or feed downstream work. Use when users ask in any language to read, fetch, check, summarize, quote, cite, convert, or save a URL or PDF. Not for local…

tw93/Waza · 78 tokens

accessibility

Consolidated accessibility skill entrypoint for WCAG 2.2, ARIA Authoring Practices, cognitive accessibility, Section 508, EN 301 549, design intent verification, and the Accessibility Planner workflow.

microsoft/hve-core · 47 tokens

desktop-principles

Desktop-specific UX principles - hover states, pointer precision, keyboard shortcuts, multi-window, focus management. Covers macOS, Windows, Linux, web desktop.

Jwuthri/Tracely-ai · 36 tokens

taiyi-ui-design

TaiyiForge 第 4 阶段 — UI/UX 契约,产出 UI-DESIGN.md。四端通用。.

Dong90/oh-my-taiyiforge · 35 tokens