Who it is forA developer on a team whose new screens keep adding one-off colors and spacing after the design system is in place.
The problemWithout an automatic check, every new screen can quietly pick a different gray, radius or button.
The outcomeA check script that fails when a screen drifts from the system, run locally and in CI.
What you need first
- A coding agent that reads skills, such as Claude Code
- Node.js, since the install and scripts run through npx and node
- Your app in a git repository, since the skills commit to a run branch
- Playwright and a Chromium browser for the scripts that drive a browser
Steps
- Install the skills with
npx skills@latest add arla6ka/design.how --skill build-design-system. - Locate
check-system.mjsin the installed build-design-system skill folder and run it with--helpto read its options. (inferred, check the README) - Run
check-system.mjs --self-testto confirm the script works in your environment. (inferred, check the README) - Add the same check command as a step in your CI configuration so it runs on each pull request. (inferred, check the README)
Prompt for your agent
In the arla6ka/design.how repo's build-design-system skill, find check-system.mjs, run its --help and --self-test, then add a CI step in <target CI config path> that runs it. Expected output: a passing self-test and a CI step. Verify the step fails on a deliberately drifted screen.
Caveat. The README names check-system.mjs and says the system can be enforced in CI, but it does not show the CI configuration, so the exact wiring is up to you.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for arla6ka/design.how and "Block new UI drift in CI with a design system check"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer