educlopez/ui-craft
Design skills and local MCP quality gates for AI-generated UI
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
UI Craft separates design guidance, local enforcement, and installation. The skills, commands, and review agents steer the coding agent; the MCP server exposes quality checks; the static Go ui-craft CLI installs and manages selected components in each host's native configuration. The JavaScript root package is ui-craft-detect, a standalone static checker. It requires Node 18 or later and can be used independently of the agent workflow.
Discovery inspects existing CSS variables, Tailwind configuration, font imports, and component themes before /brief records the design direction in .ui-craft/brief.md and /tokens writes to the project's chosen token destination. Those artifacts carry decisions across sessions. /finalize requires an existing brief and applies a ten-pass finish review. The mcp/, skills/, commands/, and agents/ trees separate those responsibilities, while distribution-manifest.json declares the package version used by the plugin.
Key Capabilities & Differentiators
The workflow can be adopted incrementally: start with the skill, invoke a targeted pass such as /critique or /polish, persist a brief and tokens, then add automated checks. The MCP surface includes check_anti_slop, tokens_lint, acceptance_bar, and score_ui, with a deterministic 0–100 score available for tracking the configured rules. The separate ui-craft-detect command gives CI a way to flag source patterns such as transition: all, bounce easing, and generic calls to action without invoking an agent.
The review layer adds something different from static detection: critiques use Nielsen's ten usability heuristics, six design laws, and five persona walkthroughs, with findings tagged by business impact. Discovery also exposes three 1–10 controls for craft level, motion intensity, and visual density. These controls steer agent behavior; neither they nor the deterministic score measure actual user outcomes.
Trade-offs & Limitations
A component library gives teams reusable UI code; UI Craft gives an agent design context and a way to enforce selected rules. A conventional linter is the simpler choice when CI checks are the only goal. The full workflow earns its extra setup when design decisions need to survive handoffs and agent sessions. Its opinionated rules can flag intentional choices, and a passing score does not establish visual quality, accessibility compliance, or user success. Retain rendered-interface review and accessibility testing.
Installation scope also matters. The skills-only path avoids wiring MCP and review agents but cannot supply those checks on its own. Six release binaries do not imply six validated installer paths: end-to-end installer tests cover Apple Silicon macOS, Linux x86-64, and Windows x86-64. Near-full disks and concurrent installs are untested on every platform, so pilot configuration changes before fleet-wide rollout.
Hardware & Deployment Guide
The recommended path is to install the static Go binary and run ui-craft install. Use --components to limit the install, --dry-run to inspect planned writes, and doctor to verify the result. The installer backs up configurations under ~/.ui-craft/backups/ and records installed components in ~/.ui-craft/state.json for updates. The binary needs no Node at install time; that does not remove the Node tooling needed by the Claude Code plugin's pinned npx MCP launch or the standalone detector's Node 18+ requirement.
The quality tools process project files locally, without a UI Craft backend. Agent browsing and optional integrations have separate data-handling policies. v1.0.21 addressed integration failures around an unread Claude Code global MCP path and project .mcp.json writes that lacked the mcpServers wrapper and replaced existing contents. On a shared workstation or managed image, verify that existing MCP entries remain intact and that the gates appear in the host after installation.
/brief writes .ui-craft/brief.md, while /tokens uses the project's preferred token destination.check_anti_slop, tokens_lint, acceptance_bar, and score_ui bring repeatable checks into agent workflows.ui-craft-detect runs on Node 18+ and flags patterns such as transition: all, bounce easing, and generic CTAs.--dry-run, doctor, and rollback support staged adoption and recovery from configuration changes.Frontend teams using coding agents that want a design brief and tokens to survive handoffs, plus repeatable checks for AI-generated UI.
You need ready-made components, evidence of rendered behavior or accessibility compliance, or only a few static rules in CI. For the last case, use the standalone detector.
Quick Start & Installation
curl -fsSL https://ui-craft.smoothui.dev/install | bash
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| ui-craft ★ | 498 | +15 | JavaScript | MIT | Design skills and local MCP quality gates for AI-generated UI |
| taste-skill | 125.3k | +2.9k | JavaScript | MIT | An agent skill for directing company website design and checking builds in a bro |
| agent-skills | 122.5k | +1.7k | JavaScript | MIT | A modular skill pack for consistent coding-agent workflows, from spec to release |
| graphify | 156.8k | +2.4k | Python | Apache-2.0 | Local AST graphs for dependency tracing, with CLI and MCP access. |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/educlopez/ui-craft.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about ui-craft
How do I wire up the MCP gates and verify that they loaded?
npx -y ui-craft-mcp@1.0.0. For other MCP-capable hosts, select mcp-gates in the Go installer or configure the host manually. After installation, run ui-craft doctor and confirm that the host actually lists the tools; a config file on disk does not prove registration.Does UI Craft need Node, a GPU, or extra VRAM?
npx to launch MCP, and the standalone ui-craft-detect package requires Node 18 or later. These local tools do not perform model inference, so there is no GPU or VRAM requirement for the checks themselves. Size the coding agent separately if it runs a model locally.Can we use it commercially and keep project files local?
How does it compare with a component library, UI tests, or a linter?
ui-craft-detect rather than installing the full workflow.Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy