What is the design-system-lead skill?
The design-system-lead skill is a SKILL.md in the borghei skills library that casts your agent as a senior design system lead. It asks for brand color, maturity level and target platforms, then follows a six-step workflow from maturity audit to adoption metrics, backed by three Python helper scripts.
Before producing anything, the design-system-lead skill has your agent confirm three inputs: brand color and existing tokens, current maturity level, and target platforms. If you say just draft it, the agent proceeds and lists its assumptions at the top.
It lives in the product-team folder of the borghei Claude-Skills repository, a large library covering many teams. This page covers only design-system-lead, which handles component libraries, design tokens and design-dev collaboration.
What changes in your agent's output
- A documented maturity level, Emerging, Defined, Managed or Optimized, backed by an audit of existing patterns and custom components.
- Tokens in three tiers: primitive values, semantic aliases and component-scoped tokens, with every semantic token pointing at a primitive.
- Components built from primitives such as Button, Input and Icon, then composites and patterns, each with variants, sizes, states, a props table and accessibility notes.
- A contribution process that runs from RFC to release, with SemVer versioning and a changelog.
- Adoption numbers for coverage, token compliance, build time and accessibility score.
How the three-tier tokens work
The token model separates raw values from meaning. A blue 600 primitive becomes a primary semantic token, and a button background component token then references primary. Change the primitive once and every dependent tier follows.
The maturity model it starts from
| Level | Characteristics | Focus |
|---|---|---|
| 1 Emerging | Ad-hoc styles, no standards | Establish foundations |
| 2 Defined | Documented guidelines | Component library |
| 3 Managed | Shared component library | Adoption and governance |
| 4 Optimized | Automated, measured | Continuous improvement |
The helper scripts
token_gen.pybuilds primitive, semantic and component tokens from one brand color, with a WCAG contrast check and CSS, SCSS or JSON output.component_scaffold.pywrites a documentation scaffold for a named component: props table, variants, states, accessibility, anatomy and usage.adoption_analyzer.pyreads a CSV of per-product adoption data and prints a health dashboard, with a flagging threshold you can change.
Who the design-system-lead skill is for
Best for
- Starting a token system from one brand color and getting CSS, SCSS or JSON files to review.
- Documenting components consistently, with one spec template per component.
- Teams that need a written governance process and a way to measure adoption across products.
Not for
- Visual regression testing. The skill points to Chromatic, Percy or BackstopJS for that.
- Figma plugin work. It points to Tokens Studio for syncing tokens between design and code.
- Icon libraries, motion design or runtime theme switching, which it lists as out of scope.
- Choosing a visual style from scratch. For taste-led frontend work, see design-taste-frontend.
Use it with UiChemy
UiChemy does not read token files directly. Apply the colors and spacing this skill defines in your Figma file, then convert with UiChemy Figma to WordPress into an editable Elementor or Gutenberg page. Click Get Started on uichemy.com.
How to install Design System Lead Skill: Tokens, Components, Governance
npx @borghei/claude-skills add design-system-leadThe README also lists a Claude desktop route: enter borghei/Claude-Skills under Browse plugins, which makes all of the library's skills available.Run the installer
The README documents
npx @borghei/claude-skills add <skill name>and uses senior-fullstack as its example. Swap in design-system-lead. It needs Node 18 or newer and detects which assistant you use.Or copy it by hand
Run
git clone https://github.com/borghei/Claude-Skills.gitand copy the product-team/design-system-lead folder, scripts included, to wherever your agent loads skills from.Try the scripts
From the skill folder, run
python scripts/token_gen.py --color "#0066CC"to see a token summary. The README says the Python tools use only the standard library.Ask for a design system
Describe your brand color and platforms and ask for a token system. Answer the clarifying questions, or say just draft it to get assumptions listed instead.
Check that it loaded
Ask the agent to set up a design system. It should ask about brand color, maturity and platforms before generating anything, or list its assumptions at the top if you tell it to just draft.
Key features
- Clarify firstAsks for brand color and existing tokens, maturity level and target platforms. It asks only the two or three questions that most change the output.
- Six-step workflowAssess maturity, define tokens, build components, document, set governance, measure adoption. Every step ends with a checkpoint you can verify.
- Maturity assessmentPlaces the system at Emerging, Defined, Managed or Optimized and records the evidence, so the next step matches where the team actually is.
- Three-tier tokensPrimitive, semantic and component tokens. A checkpoint requires every semantic token to reference a primitive, with no hardcoded values left.
- Style Dictionary configIncludes a Style Dictionary configuration example that reads tokens/**/*.json and writes CSS variables, SCSS variables, iOS Swift color classes and Android colors.xml.
- Component spec templateThe Button spec lists four variants, sizes of 32, 40 and 48 pixels, six states, a props table and rules such as a 44 by 44 pixel touch target.
- RFC to release governanceRequest, review by design, engineering and accessibility, build, document, then release with a SemVer bump, changelog and announcement.
- Versioning rulesBreaking changes bump MAJOR, new components or tokens bump MINOR, fixes bump PATCH. Troubleshooting suggests codemods and a deprecation period of 2 minor versions.
- Adoption metricsTracks coverage, consistency, efficiency and quality, with a monthly dashboard update as the checkpoint for the measure step.
- Troubleshooting and targetsTables map common problems to fixes and set targets such as above 80 percent component coverage and above 90 percent token compliance.
Frequently asked questions
What is the design-system-lead skill?
It is a skill in the borghei Claude-Skills library that turns your agent into a senior design system lead. It covers a three-tier token architecture, component library structure, contribution governance and adoption tracking, and ships three Python scripts for tokens, component scaffolds and adoption analysis.
How do I install the design-system-lead skill?
Use the README installer, npx @borghei/claude-skills add design-system-lead, which needs Node 18 or newer and detects your assistant. Or clone the repository and copy the product-team/design-system-lead folder, including scripts, into the place your agent loads skills from.
Which AI coding agents can use the design-system-lead skill?
The README platform table marks Claude Code, OpenAI Codex, Gemini CLI, Cursor, GitHub Copilot, Windsurf, Cline and Goose as native, and Aider, Jules and RooCode as compatible. The installer detects the assistant and drops the skill into the right directory.
What does token_gen.py produce?
It generates primitive, semantic and component tokens from a brand color, defaulting to #0066CC. You choose json, css, scss or a summary, pick which tiers to emit, and write files to an output folder. It also checks WCAG contrast ratios.
Does the skill write component code?
Mostly documentation. The scaffold script produces specs with props tables, states and accessibility notes, and the repo lists component implementation code as out of scope. SKILL.md does show a React button using class-variance-authority, and Tailwind guidance helps with the styling layer.
How does it connect to Figma?
The integration table says to import token_gen JSON into Figma through Tokens Studio, which syncs tokens between design and code. For rules that keep an agent consistent with a Figma system, see Figma design system rules.
Does it cover accessibility?
Partly. token_gen checks WCAG contrast, component specs include accessibility requirements, and adoption_analyzer reads an accessibility score per product from your CSV. For a dedicated audit pass, pair it with an accessibility review skill.
What license does the design-system-lead skill use?
The SKILL.md header and the README state MIT plus Commons Clause. That is free for open-source, personal, education and internal business use, but the library cannot be sold or repackaged as a paid product. GitHub shows no standard license, so read the LICENSE file.


