MA

Matrix UI-Engine

An architectural workflow that converts designs into code using a predefined system, complete with automated UI validation.

Install

mkdir -p .claude/skills/matrix-ui-engine && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/9859" && unzip -o skill.zip -d .claude/skills/matrix-ui-engine && rm skill.zip

Installs to .claude/skills/matrix-ui-engine

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Autonomous workflow for visual design analysis, UI cloning, and Next.js component generation with integrated UI validation.
123 charsno explicit “when” trigger
Advanced

Key capabilities

  • Visual design analysis
  • UI cloning
  • Next.js component generation
  • UI validation

How it works

It interprets visual designs and maps them to Matrix Design System tokens to generate production-ready components.

Inputs & outputs

You give it
Design screenshot
You get back
React/Next.js component

When to use Matrix UI-Engine

  • Converting designs to React code
  • Mapping styles to design tokens
  • Validating UI components
  • Registry management

About this skill

Matrix UI-Engine Skill v2.0

This skill empowers the agent to act as a high-fidelity web application architect, converting visual designs into production-ready code aligned with the Matrix Design System, with integrated UI issue detection and correction.

Capabilities

  1. Visual Analysis: Interprets screenshots, Figma URLs, and design references to identify layouts, typography, and color schemes.
  2. Token Mapping: Automatically maps identified styles to the Matrix Design Tokens.
  3. Template Synthesis: Generates modular React/Next.js components using Tailwind CSS and saved Matrix utilities.
  4. Registry Management: Categorizes and enters new components into the Template Registry.
  5. UI Validation: Detects and auto-corrects scaling, clipping, overflow, button sizing, and text readability issues.
  6. Component Library: Leverages the DesignTokens.tsx reusable component library.

GitHub Resource Integrations

The following resources are integrated into the design system and inform all UI decisions:

ResourceIntegrationToken Prefix
OpenAI Apps SDK UIAlpha layers, semantic surfaces/borders, card patterns, accessible components via Radix primitives--m-alpha-*, --m-border-*
AG-UI ProtocolState colors for streaming/thinking/complete/error, event-based UI patterns--m-state-*
OnyxHigh-density dashboard patterns, agent cards, RAG status displaysMetricCard, SurfaceCard
InkTerminal-inspired progress bars, spinners, task lists, terminal color palette--m-terminal-*, ProgressBar, Spinner, TaskList
AvaloniaCross-platform theming architecture, dark mode token systemTheme structure
Open TargetsData-dense visualization patterns, sparkline micro-chartsMetricCard density

Installed Packages (from Resources)

These packages were extracted from the GitHub resources and installed:

  • radix-ui — Accessible primitives (Dialog, Tooltip, Select, Accordion)
  • react-syntax-highlighter — Code block rendering with themes
  • usehooks-ts — Premium hooks (useMediaQuery, useLocalStorage, useDebounce)

Operational Workflow

1. Reception

When a user sends a UI image or design link:

  • Trigger "Sage Vision" mode.
  • Extract spatial relationships and stylistic motifs.
  • Cross-reference against the GitHub resource pattern library.

2. Implementation

  • Create a new .tsx file in core/templates/.
  • Use the tokens.css and base.css as the only source of truth for variables.
  • Use the DesignTokens.tsx component library for standard UI primitives (Badge, SurfaceCard, ProgressBar, etc.).
  • Ensure the component is responsive (mobile-first) and accessible.

3. UI Validation (Automated)

Before finalizing, run validation checks (via matrix-capture.js):

  • Overflow Detection: No text/elements clipping outside containers
  • Touch Target Sizing: All interactive elements ≥ 44px (per --m-min-touch-target)
  • Font Readability: No text below --m-min-font-size (10px)
  • Viewport Scaling: Content fits without horizontal scroll at 320px–2560px
  • Button Sizing: Consistent padding, adequate hit areas
  • Z-index Stacking: No elements hidden behind overlays

4. Verification

  • Verify that the generated code is clean, documented, and follows the Matrix "Sleek" aesthetic.
  • Notify the user of the new template ID.

Core Directives

  • Aesthetics First: Never generate generic components. Use gradients, glassmorphism, and micro-animations.
  • Interoperability: Components must be drop-in ready for nexus, reflect, or any Matrix sub-app.
  • Privacy First: Prefer local assets and standard icons over external dependencies.
  • Semantic Tokens: Always use --m-* tokens instead of hardcoded colors.
  • Corrective UI: Proactively detect and fix sizing, scaling, and overflow issues.

Codified by Antigravity Infrastructure. v2.0 — GitHub Resource Integration.

When not to use it

  • Generic component generation

Prerequisites

Matrix Design System

Limitations

  • Requires Matrix Design System tokens
  • Subjective visual interpretation

How it compares

It integrates UI validation and token mapping directly into the generation workflow.

Compared to similar skills

Matrix UI-Engine side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
Matrix UI-Engine (this skill)05moNo flagsAdvanced
ui-styling129moReviewBeginner
web-design-reviewer77moNo flagsIntermediate
design-lab76moNo flagsIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

ui-styling

mrgoonie

Create beautiful, accessible user interfaces with shadcn/ui components (built on Radix UI + Tailwind), Tailwind CSS utility-first styling, and canvas-based visual designs. Use when building user interfaces, implementing design systems, creating responsive layouts, adding accessible components (dialogs, dropdowns, forms, tables), customizing themes and colors, implementing dark mode, generating visual designs and posters, or establishing consistent styling patterns across applications.

12132

web-design-reviewer

github

This skill enables visual inspection of websites running locally or remotely to identify and fix design issues. Triggers on requests like "review website design", "check the UI", "fix the layout", "find design problems". Detects issues with responsive design, accessibility, visual consistency, and layout breakage, then performs fixes at the source code level.

750

design-lab

0xdesign

Conduct design interviews, generate five distinct UI variations in a temporary design lab, collect feedback, and produce implementation plans. Use when the user wants to explore UI design options, redesign existing components, or create new UI with multiple approaches to compare.

735

frontend-design-pro

claudekit

Creates jaw-dropping, production-ready frontend interfaces AND delivers perfectly matched real photos (Unsplash/Pexels direct links) OR flawless custom image-generation prompts for hero images, backgrounds, and illustrations. Zero AI slop, zero fake URLs.

1011

tailwindcss-development

spatie

Styles applications using Tailwind CSS v4 utilities. Activates when adding styles, restyling components, working with gradients, spacing, layout, flex, grid, responsive design, dark mode, colors, typography, or borders; or when the user mentions CSS, styling, classes, Tailwind, restyle, hero section, cards, buttons, or any visual/UI changes.

413

frontend-enhancer

ailabs-393

This skill should be used when enhancing the visual design and aesthetics of Next.js web applications. It provides modern UI components, design patterns, color palettes, animations, and layout templates. Use this skill for tasks like improving styling, creating responsive designs, implementing modern UI patterns, adding animations, selecting color schemes, or building aesthetically pleasing frontend interfaces.

35

Search skills

Search the agent skills registry