- Home
- Skills
- UX & UI Design
- Design System (Pro)
More screenshots
Works with the AI Agents you already use
Design System (Pro)
A design system orchestrator that harvests tokens, computes WCAG contrast ratios, and prevents design drift in code.
$7
Design System (Pro)
Example session with this skill installed
Check for design drift in the current project and verify the contrast for our primary button: #5f6b7a on #fafaf9.
- Read your context and instructions
- Compiled the design system pro
- Generated the design tokens stylesheet
I ran the token-drift.mjs script to check the project state and the contrast.mjs utility for your primary button pair.
Design Audit Result
The design system check identified 4 instances of hard-coded hex values in src/components/Button.tsx and src/layouts/Sidebar.tsx that are not currently tracked in DESIGN.md.
Contrast Verification
| Pair (fg on bg) | Theme | Ratio | Use | Passes |
|---|---|---|---|---|
#5f6b7a on #fafaf9 | light | 5.19:1 | primary button | text, ui, aa |
Findings:
- Accessibility: The primary button pair (#5f6b7a on #fafaf9) provides a 5.19:1 ratio. This passes WCAG AA for normal text and UI components but fails AAA (7:1).
- Drift: Found
var(--brand-blue)used in code but missing fromDESIGN.md. - Hard-coding: Two components are using
#111827directly instead of the--neutral-900token.
Next steps
- Run
node scripts/token-drift.mjs --harvestto sync the missing--brand-bluetoken intoDESIGN.md. - Refactor
Button.tsxto replace hard-coded hex values with the validated design tokens. - Adjust the primary button foreground to a darker shade if AAA compliance is required.
Button.tsx
CSS · design tokens
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
UI development often suffers from "design debt" where hard-coded hex values, inconsistent spacing, and inaccessible contrast ratios accumulate over time. This skill enforces a single source of truth for your frontend by generating and maintaining a strict DESIGN.md file based on your actual codebase.
What it does
- Token Harvesting scans your CSS, Tailwind configs, and theme files to extract existing design tokens before any new UI is written.
- Contrast Verification uses a specialized script to compute exact WCAG 2.2 ratios for every foreground/background pair, ensuring AA or AAA compliance.
- Drift Detection identifies hard-coded colors, unused tokens, and missing definitions that deviate from the design system.
- Theme Orchestration establishes rules for light and dark modes, including system preference handling and flash-free theme switching.
- UX Consistency maintains a glossary and voice guidelines to ensure error messages, button labels, and empty states remain uniform.
How it works
- Initialize: Use
/design-md --checkto scan your project for an existingDESIGN.mdor harvest tokens from your styles to create the first draft. - Audit: Run the bundled
contrast.mjsscript on specific color pairs to verify accessibility before committing new theme values. - Validate: Execute the
token-drift.mjsscript to find components using literal values instead of the defined tokens. - Extend: Add new tokens or components to
DESIGN.mdfirst, then implement them in the code to keep the documentation and implementation in sync.
Frameworks & tools
This skill works with CSS custom properties, Tailwind CSS (v3 and v4), and component libraries like MUI, Chakra UI, or Styled Components. It requires Node 18+ to run the provided contrast and drift analysis scripts.
Why this beats prompting it yourself
Generic prompts often ignore accessibility math or invent colors that do not exist in your Tailwind config. This skill uses local scripts to calculate real contrast ratios and inventories your actual files to ensure the design system reflects the code, not just theory.
Use cases
- Generating a comprehensive design system for a legacy project with messy CSS.
- Auditing a new feature for WCAG 2.2 accessibility compliance before a PR.
- Setting up a robust dark mode with system-level overrides and no "white flash" on load.
- Enforcing consistent naming conventions for buttons, links, and navigation across a team.
Known limitations
Requires Node 18+ to execute analysis scripts. It cannot resolve dynamic runtime styles or tokens that are not statically defined in the codebase.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 4 days ago
Permissions
What's inside
Frequently Asked Questions
New in UX & UI Design
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for UX & UI Design.