- Home
- Skills
- Frontend & Web Apps
- ui spec kit
Works with the AI Agents you already use
ui spec kit
Build production-ready design systems and UI specs using HTML, CSS tokens, and optimized SVG icons.
Free
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
- Open
out/index.htmlto view the side-by-side state comparison. - Link
out/ui.cssin your frontend project to use the.track-cardclasses. - Reference icons using
<use href="icons.svg#i-lock"/>.
index.html
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
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
- Define Tokens: Establish the design variables in
tokens.cssto act as the single source of truth. - Build Components: Create CSS classes and Python/JSX generator functions for atomic elements like buttons, fields, and cards.
- Assemble Pages: Compose review-ready design docs that display UI mock-ups alongside technical documentation.
- 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
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
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