More screenshots

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Enforce DESIGN.md Tokens and Contrast Across UI Code

    1

    For developers building product screens with Claude Code, finish each UI change knowing whether its colors, type, spacing, and contrast stay aligned with your design system.

    $19

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Enforce DESIGN.md Tokens and Contrast Across UI Code

    Enforce DESIGN.md Tokens and Contrast Across UI Code

    Example session with this skill installed

    Run python3 scripts/design_token_guard.py --design examples/DESIGN.md --project examples --format text and show me the drift findings.

    • Read your context and instructions
    • Compiled the enforce design md
    • Generated the UI component

    examples/ui.css:8: color-outside-palette [#777777] — Use a color token from DESIGN.md.
    examples/ui.css:10: font-outside-design [Arial, sans-serif] — Use a font family listed in DESIGN.md.
    examples/ui.css:11: spacing-undefined [11px] — Use a spacing value listed in DESIGN.md.
    examples/ui.css:8: contrast-below-4.5 [4.48:1] — Choose colors with at least 4.5:1 contrast (3:1 for large text).

    ui.css

    TSX · React component

    Generated

    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

    For developers building product screens with Claude Code, finish each UI change knowing whether its colors, type, spacing, and contrast stay aligned with your design system.

    Turn a local DESIGN.md into CSS or Tailwind tokens, then scan HTML, CSS, TSX, and JSX for line-level drift.

    The included Python CLI reports out-of-palette colors, unsupported fonts, spacing drift, and low contrast, with a suggested correction for each finding.

    Quick start

    python3 scripts/design_token_guard.py --design examples/DESIGN.md --project examples --format text

    Output formats: text, JSON, CSV, CSS variables, or a Tailwind theme extension. It uses only Python's standard library.

    Limits

    The contrast checker pairs explicit color and background hex declarations within a simple CSS rule. It does not evaluate CSS variables, alpha colors, images, or computed browser styles. Source files must be UTF-8.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Frontend & Web Apps.

    The contrast checker pairs explicit color and background hex declarations within a simple CSS rule. It does not evaluate variables, alpha colors, images, or computed browser styles. Source files must be UTF-8. Requires python3 (standard library only).

    How to use

    1. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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 today

    Software
    Python 3

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listedtoday

    What's inside

    Frequently Asked Questions

    Put one token per line in name: value form, for example brand, text, surface, color, background, accent, font-family, space-1, spacing-2 or radius-card. Hex colors may use three or six digits. A color value outside the name: #RGB or name: #RRGGBB form stops the run with exit code 2 and an error line.

    It scans HTML, CSS, TSX, and JSX files. It can output your tokens as CSS custom properties or as a Tailwind theme.extend object. Tailwind color utilities inside literal className values in TSX/JSX are reported as tailwind-default-color; the tool does not read your Tailwind configuration, so compare those warnings with your project's theme.

    Each finding gives the file and line, the rule, the offending value, and a suggested correction, for example examples/ui.css:8: color-outside-palette [#777777] — Use a color token from DESIGN.md. Output can be text, JSON, CSV, CSS variables, or a Tailwind theme extension.

    The Python CLI (scripts/design_token_guard.py, standard library only), SKILL.md, a README with a quick start, example DESIGN.md and UI files with expected output, tests you can run with python3 -m unittest discover tests, and a LICENSE.

    It pairs explicit color and background hex declarations within a simple CSS rule. It does not evaluate variables, runtime selectors, alpha colors, images, or computed browser styles. Large text needs human judgment against the 3:1 threshold. Source files must be UTF-8.

    New in Frontend & Web Apps