design-system-adoption
Measure how much of a codebase actually uses its design system — token coverage versus hardcoded colors, spacing and font sizes, design-system components versus local re-implementations and forks — find the hotspots and the repeated patterns that should become components, and plan a ratcheted migrat…
Install / Use
npx skills add Trystan-SA/product-engineer-skills --skill design-system-adoptionInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
DesignSupported Platforms
Our assessment of design-system-adoption
design-system-adoption scores 81/100 on our quality scale, 230th of 273 Design skills we index.
Its SKILL.md is 4.9 KB long, split into 7 sections and no code examples: a solid amount of guidance for an agent.
With 2,066 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated 4 days ago, so design-system-adoption is actively maintained.
- Our last check on 2026-11-28 found the source still online.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.
Automated pattern scan on 2026-11-28. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
design-system-adoption compared with similar skills
All 4 of these similar skills score higher than design-system-adoption; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| design-system-adoption (this skill)by Trystan-SA | 81 | 2.1k | 4d ago | SKILL.md |
| taste-skillby Leonxlnx | 100 | 122.3k | 1d ago | CLAUDE.md |
| archifyby tt-a1i | 100 | 101.0k | today | CLAUDE.md |
| Claude-Code-Game-Studiosby Donchitos | 100 | 41.2k | 18d ago | CLAUDE.md |
| algorithmic-artby anthropics | 100 | 177.9k | 2mo ago | SKILL.md |
Frequently asked questions
- How do I install design-system-adoption?
- Run
npx skills add Trystan-SA/product-engineer-skills --skill design-system-adoption. The install tabs above show the steps for each supported agent. - Which AI agents does design-system-adoption work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is design-system-adoption safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is design-system-adoption still maintained?
- The repository was last updated 4 days ago, so design-system-adoption is actively maintained.
Skill content
View source on GitHubname: design-system-adoption description: Measure how much of a codebase actually uses its design system — token coverage versus hardcoded colors, spacing and font sizes, design-system components versus local re-implementations and forks — find the hotspots and the repeated patterns that should become components, and plan a ratcheted migration with lint rules and safe codemods. Use when asked whether the design system is used, why the UI is inconsistent, to inventory components, or to plan a design-system migration.
Design System Adoption
A design system only helps where the code uses it. Teams know their design system exists; few know that a third of their colors are still hardcoded or that the product has six button implementations. This skill measures adoption the way you measure test coverage — reproducibly and per area — and turns the result into a migration plan that can't regress.
Phase 1: Locate the system
Find the tokens (CSS custom properties, Tailwind theme, theme object, DTCG files) and the component library: an internal package or folder, or an external one (MUI, Chakra, Mantine, Radix, shadcn/ui, Ant Design, Polaris…). Note which components it provides and how they're imported. If there are no tokens yet, run design-system-extract first.
Scope the measurement to application source. Exclude the design system's own code, generated files, vendored code, tests, stories and fixtures.
Phase 2: Measure token adoption
For each category, count token usages against hardcoded values in the scoped files, using commands someone else can re-run. Example patterns to adapt to the stack (use ripgrep when available):
| Category | Hardcoded | Token usage |
|---|---|---|
| Color | #[0-9a-fA-F]{3,8}\b, rgba?\(, hsla?\(, oklch\( in styles; Tailwind arbitrary values like bg-[#…] | var(--color-…), theme references, Tailwind classes from the theme palette |
| Spacing | margin, padding, gap with px values off the scale; Tailwind p-[13px] | scale classes, var(--space-…) |
| Font size | font-size: literals, Tailwind text-[15px] | type-scale classes or tokens |
| Radius, shadow, z-index | literals in those properties | tokens |
Report adoption = token usages ÷ (token usages + hardcoded values) per category and per top-level area (feature folder, package or route). Count separately the literals that exactly equal a token value: they're the easy wins.
Expect noise. SVG fills, third-party overrides and one-off illustrations are legitimate. Review a sample of matches for each pattern and state the estimated false-positive rate instead of presenting the number as exact.
Phase 3: Measure component adoption
For each design-system component, count:
- DS usages — imports from the design system.
- Native re-implementations — raw
<button>,<input>,<select>,<dialog>and similar elements styled locally where a DS component exists. - Local look-alikes — components outside the system whose name or markup duplicates one (
PrimaryButton,MyModal,CardV2). - Forks — copies of a DS component modified locally.
Report component adoption = DS usages ÷ (DS usages + re-implementations + look-alikes) per component.
Phase 4: Find candidates for new components
Look for UI patterns that appear at least three times without a DS component: cards, list rows, empty states, page headers, stat tiles, form sections. For each candidate, list the variants and states actually used (default, hover, focus, disabled, loading, error), the tokens it should use, and its accessibility requirements — enough for someone to build it once.
Phase 5: Plan the migration
Prioritize by frequency × visibility ÷ effort: a hardcoded color on every screen of the main flow beats 30 occurrences in an admin page.
- Safe codemods — literals that exactly equal a token value can be replaced automatically. Propose the script and apply it only if asked, in its own commit.
- Manual replacements — near-values and local components, grouped into PR-sized batches by area, in priority order.
- New components from Phase 4.
- Stop the regression. Add a lint rule that forbids new hardcoded values in the scoped files — stylelint (
color-no-hex,declaration-property-value-disallowed-list), an ESLint rule on Tailwind arbitrary values, or restricted imports for deprecated components — with a baseline of existing violations or warnings-only on old code, so the rule can land today. Ratchet: the count can go down, never up.
Output
Write docs/product/design-system-adoption.md (or the project's docs location) with: the commands used, adoption per category and per area, the component adoption table, hotspots (top files and areas), candidate components with their inventory, and the migration plan. Summarize the headline numbers and the three changes with the best impact-to-effort ratio. Re-running the same commands later shows the trend.
Related Skills
taste-skill
122.3kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
archify
101.0kTurn any idea, plan, or codebase into an interactive diagram or one-page answer: 10 diagram types, Architecture Diagnosis, Story video and PR walkthroughs. An Agent Skill for Claude Code, Codex, Cursor and more.
Claude-Code-Game-Studios
41.2kTurn Claude Code into a full game dev studio — 49 AI agents, 75 workflow skills, and a complete coordination system mirroring real studio hierarchy.
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
