Overview
My role
Design system, skill, and sync.
Platform
Claude Design, Claude Code, Cursor, GitHub
Team
Adoption with one teammate.
Timeline
Shipped October 2026
Summary
I turned our design system into a Claude skill and added it to the codebase so engineers get the same components, tokens, and usage rules. Claude Code loads the guidance before editing a Vue file.
The problem
Our engineers use Claude Code and Cursor to build an internal Vue app. Design guidance was spread across project instructions, editor rules, and the design project. The copies drifted apart, and the skill only lived on my laptop.
Our component library had renamed familiar shadcn-vue options. An outline button could render without styling while the build still passed. The app contained 375 invalid component values, and a separate design review found 51 departures from our rules. These counts describe the problems at the start of the project.
Before · outline variant
The removed option produces an unstyled button, but the build still passes.
Use · secondary variant
The library’s bordered button.
Building a shared design system skill
Claude Design uses React, so I rebuilt all 40 components by hand in React to match the Vue library’s actual props. I added examples, usage rules, and the library’s light and dark color tokens. I also documented patterns the app kept rebuilding, including page headers, loading states, metric cards, and timelines. The renamed component options came first in the guidance.
I committed the 192-file skill to the repository so the team could share it while keeping personal skills local. Claude Design remains the source of truth. A weekday sync checks for changes and proposes a pull request, which a person reviews and merges.
01 · Claude Design
Edit components, tokens, and guidance in one place.
02 · Reviewed pull request
Weekday sync proposes changes to the shared skill.
03 · The codebase
Every engineer gets the skill with the code.
A check against a newer library release confirmed that the tokens and all 40 components still matched. It also found four gaps, which I fixed the same day.
Loading the skill before Vue edits
Everyday UI changes were still skipping the skill because its description called it a prototyping tool. A teammate and I rewrote the description, added a Cursor rule and a project instruction, and introduced a hook that stops Vue edits until Claude has loaded the skill.
A simplified Claude Code sequence
1. Vue edit blocked → load the design system skill
2. Claude loads the skill
3. Edit retried → applied
The first hook checked whether the skill’s name appeared anywhere in the session. Since the project instructions already contained that name, the hook never blocked an edit. We changed it to require an actual skill load. This showed me why I needed to test whether the hook could block an edit, as well as allow one.
Outcome and next steps
The skill, sync, hook, and editor rule shipped to the main branch in October 2026. In one early admin-page pull request, the implementation explicitly followed the guidance: secondary buttons, a 14px minimum text size, sentence-case labels, and clearer error messages.
The hook confirms that Claude loaded the skill, but it cannot verify that every design rule was followed. I don’t have a before-and-after measurement of UI mistakes yet. The next step is a pull-request check that validates the result.