# Design System (Pro)

> A design system orchestrator that harvests tokens, computes WCAG contrast ratios, and prevents design drift in code.

Design System (Pro) is a paid AI agent skill on Agensi by Rommel Jay Ocon, in UX & UI Design. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $7 (one-time purchase)
- Creator: [Rommel Jay Ocon](https://www.agensi.io/creators/rommelocon)
- Category: [UX & UI Design](https://www.agensi.io/skills/ux-ui-design)
- Version: 1.0
- Last updated: 2026-12-01
- Security: scan passed (2026-12-01); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/design-system-pro
- Tags: ui-ux, css, tailwind-css, accessibility, frontend-development

## 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
1. **Initialize:** Use `/design-md --check` to scan your project for an existing `DESIGN.md` or harvest tokens from your styles to create the first draft.
2. **Audit:** Run the bundled `contrast.mjs` script on specific color pairs to verify accessibility before committing new theme values.
3. **Validate:** Execute the `token-drift.mjs` script to find components using literal values instead of the defined tokens.
4. **Extend:** Add new tokens or components to `DESIGN.md` first, 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 this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Design System (Pro) skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does this skill help me manage design debt in my project?

This skill audits your project to extract existing CSS properties and Tailwind configurations, generating a strict DESIGN.md file that serves as your single source of truth to prevent inconsistent spacing and hard coded hex values.

### Are there any specific technical requirements to run the analysis scripts?

You need a project environment running Node 18 or higher to execute the included scripts for contrast calculation and token drift analysis. It works with standard frontend setups like Tailwind CSS, CSS custom properties, and libraries such as MUI or Chakra UI.

### How does this skill handle accessibility and contrast verification?

Unlike manual checks, this skill uses a specialized script to compute exact WCAG 2.2 contrast ratios for every color pair in both light and dark modes. It ensures your UI meets AA or AAA standards by calculating real math rather than relying on visual estimation.

### What specific files or documentation will this skill produce?

The primary output is a comprehensive DESIGN.md file at your project root that documents your visual character, typography, color ramps, spacing scales, and component patterns. It also provides audit reports via scripts that identify unused tokens or hard coded values in your code.

### How should I instruct my agent to begin using these design tools?

You can start by asking your agent to run the check command to scan your project for an existing design system. You can also direct it to harvest tokens from your current styles to create a new design document or to verify the accessibility of a specific color pair.

### Are there any types of styling that this skill cannot analyze?

The skill is limited to tokens and styles that are statically defined in your codebase. It cannot resolve dynamic styles generated at runtime or tokens that are not explicitly written in your CSS or theme files.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
