Build Your Own Component Library
Generates a 24-component, token-driven React or Vanilla-JS UI library plus a live side-by-side comparison page.
Test report
- Verdict
- Tested · Works
- Score
- Tested
- Jul 16, 2026
- Environment
- Claude Code 2.x (agent harness)
- Upstream re-checked
- Aug 10, 2026 · 485aa69
Built a representative Vanilla-JS subset (Box, Text, Icon, Button, Card, Overlay, Modal) live in a browser: themed variants, loading/disabled states, and a working Modal open/close all rendered correctly off one theme.js token file - clearly more systematic than an ad-hoc baseline. Caught a real bug in the skill's own reference docs: component-specs.md documents Box props (display, flexDirection, alignItems, justifyContent, gap) that the literal Box() boilerplate in vanilla-templates.md never applies to el.style, so following that template verbatim silently breaks flex layouts until you notice and patch it.
Scored on four weighted criteria — install, triggering, output vs. baseline, docs. How scoring works
- Installs cleanly 5/5
- Triggers reliably 5/5
- Output vs. baseline 9/10
- Docs & honesty 4/5
What Build Your Own Component Library does
Walks through building a complete UI component library from a Box/Text composition base and a design-token theme, in dependency-ordered tiers (Spacing/Box/Text/Icon up through Accordion/Modal/Select), for React or Vanilla JS, with 1-3 differently-themed variations rendered on one comparison.html page. Triggers when the user wants a component library, design system, or UI kit built from scratch.
How to install Build Your Own Component Library
git clone https://github.com/ethankongee/build-your-own-component
mkdir -p ~/.claude/skills
cp -r build-your-own-component ~/.claude/skills/build-your-own-component
Skills live in ~/.claude/skills/ (global) or .claude/skills/
(per-project). Restart Claude Code after installing.
Commands — how to trigger Build Your Own Component Library
-
/build-your-own-componentGenerates a 24-component, token-driven React or Vanilla-JS UI library plus a live side-by-side comparison page.
It also activates on plain-language prompts like these:
-
Build me a token-driven component library starting from Box and Text -
Generate a Vanilla-JS Modal and Accordion sharing one theme file -
Create a comparison page showing three themed variants of my buttons
Frequently asked questions
- Is the Build Your Own Component Library skill free?
- Yes. The skill itself is free from ethankongee/build-your-own-component. SkillProof publishes the install command and an independent test verdict at no cost.
- Does Build Your Own Component Library work with Claude Code?
- We tested it with Claude Code 2.x (agent harness) on Jul 16, 2026. Verdict: Tested · Works. Built a representative Vanilla-JS subset (Box, Text, Icon, Button, Card, Overlay, Modal) live in a browser: themed variants, loading/disabled states, and a working Modal open/close all rendered correctly off one theme.js token file - clearly more systematic than an ad-hoc baseline. Caught a real bug in the skill's own reference docs: component-specs.md documents Box props (display, flexDirection, alignItems, justifyContent, gap) that the literal Box() boilerplate in vanilla-templates.md never applies to el.style, so following that template verbatim silently breaks flex layouts until you notice and patch it.
- What is the Build Your Own Component Library SkillProof Score?
- 9.2/10 — installs cleanly 5/5, triggers reliably 5/5, output vs. baseline 9/10, docs & honesty 4/5.
- How do I install Build Your Own Component Library?
- Copy the install command from this page, run it in your terminal, and restart Claude Code. Skills live in ~/.claude/skills/ (global) or .claude/skills/ inside a project.
- Can I use Build Your Own Component Library with Cursor, Copilot, Gemini CLI, Codex or other AI tools?
- The SKILL.md format is native to Claude (Claude Code, Desktop, claude.ai). The instructions inside adapt to other assistants: Cursor rules, GitHub Copilot instructions, Windsurf rules, Custom GPTs, AGENTS.md for OpenAI Codex, and GEMINI.md for Google Gemini CLI — our conversion guides cover each, and the free converter on the tools page does the wrapping for you.