Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    ui spec kit

    1

    Build production-ready design systems and UI specs using HTML, CSS tokens, and optimized SVG icons.

    Free

    Security scanned
    ui spec kit

    ui spec kit

    Example session with this skill installed

    Create a design spec for a video editor track card. I need to see active, locked, and muted states. Provide the tokens and the icon sprite.

    • Read your context and instructions
    • Compiled the ui spec kit
    • Generated the design tokens stylesheet

    I have generated the UI design system and the specific track card components. The layout uses a 16px grid system with a dark theme for the UI mock-up and a light theme for the documentation background.

    UI Design Specification

    /* out/tokens.css */
    :root {
      --color-bg-card: #1e1e1e;
      --color-border: #333333;
      --color-text-primary: #ffffff;
      --color-text-muted: #888888;
      --color-accent: #3b82f6;
      --color-danger: #ef4444;
      --radius-sm: 4px;
      --space-unit: 8px;
    }
    
    /* out/ui.css */
    .track-card {
      display: flex;
      align-items: center;
      gap: var(--space-unit);
      padding: var(--space-unit) calc(var(--space-unit) * 1.5);
      background: var(--color-bg-card);
      border: 1px solid var(--color-border);
      border-radius: var(--radius-sm);
      min-width: 320px;
    }
    
    .track-card--active { border-color: var(--color-accent); }
    .track-card--muted { opacity: 0.5; }
    .track-card--locked .icon-btn { pointer-events: none; color: var(--color-text-muted); }
    
    .track-label { flex: 1; min-width: 0; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
    
    <!-- out/icons.svg -->
    <svg xmlns="http://www.w3.org/2000/svg" style="display:none">
      <symbol id="i-lock" viewBox="0 0 16 16">
        <path fill="none" stroke="currentColor" stroke-width="1.5" d="M4 7V5a4 4 0 0 1 8 0v2M3 7h10v7H3z"/>
      </symbol>
      <symbol id="i-mute" viewBox="0 0 16 16">
        <path fill="none" stroke="currentColor" stroke-width="1.5" d="M11 5l-4 3 4 3M2 6h3l4-4v12l-4-4H2z"/>
      </symbol>
    </svg>
    

    Next steps

    1. Open out/index.html to view the side-by-side state comparison.
    2. Link out/ui.css in your frontend project to use the .track-card classes.
    3. Reference icons using <use href="icons.svg#i-lock"/>.

    index.html

    CSS · design tokens

    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

    Stop struggling with design handoffs that result in static images or unmaintainable absolute-positioned code. This skill produces production-ready UI design systems and high-fidelity specs using a structured HTML+CSS layout approach and hand-drawn SVG paths for iconography.

    What it does

    • Design System Generation: Builds consistent token-based systems including colors, typography, spacing, and border radii.
    • Component States: Generates full state matrices (hover, selected, disabled, editing) from a single component function.
    • SVG Icon Engineering: Creates 16x16 grid-aligned SVG paths with unified stroke weights for sharp, scalable assets.
    • Production-Ready Assets: Outputs clean CSS classes and SVG sprites that frontend developers can drop directly into projects.
    • Visual Validation: Implements a headless Chrome screenshot workflow to catch text overflows and contrast issues before delivery.

    How it works

    1. Define Tokens: Establish the design variables in tokens.css to act as the single source of truth.
    2. Build Components: Create CSS classes and Python/JSX generator functions for atomic elements like buttons, fields, and cards.
    3. Assemble Pages: Compose review-ready design docs that display UI mock-ups alongside technical documentation.
    4. Compile Assets: Run the build script to inline CSS and sprites into standalone HTML files and standalone asset folders.

    Frameworks & tools

    Uses CSS Variables (Custom Properties), Flexbox/Grid for fluid layouts, Python-based component templating, and Headless Chrome for automated visual regression testing.

    Why this beats prompting it yourself

    Standard prompts often produce "spaghetti code" with absolute positioning and hardcoded hex values that break when content changes. This skill enforces a professional multi-layer architecture, ensuring your UI handles dynamic text and remains reusable across a real application.

    Use cases

    • Designing tool-heavy dashboards or complex editor interfaces.
    • Building a consistent component library for a new product.
    • Generating technical UI specs for developer handoff.
    • Restyling existing interfaces by modifying a centralized token system.

    Known limitations

    Does not support JavaScript-based interactivity or complex animations. Not suitable for realistic illustrations or brand-heavy marketing visuals.

    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.

    No JavaScript interactivity; design states are static and side-by-side. Not for complex 3D or illustrative brand art. Requires a Python environment for the build script.

    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

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 10 days ago

    • Free with an Agensi account

    Software
    Git

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed10 days ago

    What's inside

    Frequently Asked Questions

    The UI Spec Kit generates production-ready, token-driven HTML/CSS and SVG assets, ensuring your design variables (colors, spacing, typography) match the final code perfectly to prevent 'lost in translation' errors during developer handoff.

    You receive a comprehensive design-to-code engine that includes templates for design tokens, a component function library, an SVG icon generator, and an automated visual validation workflow using Headless Chrome.

    This skill is optimized for AI agents capable of executing Python for build orchestration and interacting with web rendering tools; it produces standard-compliant HTML5 and CSS3 (Flexbox/Grid) compatible with all modern browsers.

    No, the kit renders 'state matrices' that display hover, active, and disabled states side-by-side as static, high-fidelity mockups for developer reference rather than providing functional JavaScript event listeners.

    By using a centralized `tokens.css` file as the single source of truth, you can update a single variable—like a primary brand color—and the skill will automatically re-render all components and icon sets to reflect that change.

    The skill focuses on clean, semantic CSS architecture and SVG icons; it does not currently support complex CSS animations, detailed illustrative art, or non-web-standard layout frameworks.

    New in Frontend & Web Apps

    Free