# Repository Briefing: dominikmartn/hue
> Source: https://repoforai.com/repo/dominikmartn/hue (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/dominikmartn/hue
- **Official Docs / Website**: https://hueapp.io
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: JavaScript
- **License**: MIT
- **Engineering Health**: B+ (70/100 · Maintenance 31/35 · Adoption 13/25 · Releases 6/20 · License 20/20)
- **Review Snapshot**: 2026-12-02
- **Deployment / Stack Signals**: MCP, CLI
- **Momentum**: 976 ★ total (+3 24h / +12 7d) · 75 forks
- **Topics**: `ai-tools`, `anthropic`, `claude-code`, `claude-skill`, `codex`, `design-language`, `design-system`, `openai`
- **When to Use**: Best for: Teams using Claude Code or Codex that want to extract a design direction from a reference, review it, and reuse it across UI coding sessions. Skip if: You need an MCP service, a turnkey production component library, a guaranteed offline workflow, or an accessibility audit of the rendered application.

## Overview
```text
### Architecture & Core Mechanics
Hue is best understood as a coding-assistant skill, not as a verified MCP server. Claude Code or Codex discovers it from a skill directory and uses it when a user asks to derive a design language from a reference. The output is itself a skill that can guide later UI work. That makes the generated rules the unit of reuse, rather than a service call or a shared runtime component.

The repository includes `SKILL.md`, `references/`, `examples/`, and `scripts/`. Node.js runs the separately invokable `scripts/validate.mjs`, which takes a generated skill directory and checks its files, including the `SKILL.md` frontmatter contract. The examples pair a YAML design model with an HTML rendering. No MCP transport, server entrypoint, or standalone model runtime is established.

### Key Capabilities & Differentiators
Hue takes a URL, brand name, or screenshot and turns the resulting visual analysis into explicit guidance for color tokens, typography, spacing, components, light and dark modes, hero layouts, and icon-kit selection. Codifying those choices gives separate assistant sessions a common reference, but it is not a guarantee of identical UI output.

The validator catches malformed YAML, orphan CSS selectors, undefined `var(--token)` references, and leftover placeholders. It also checks frontmatter, em dashes, AI-default display fonts, and WCAG contrast for core text/background pairs. There are 17 examples: 16 fictional and one based on a real brand. Each includes `design-model.yaml` and `landing-page.html`; Ridge and Stint add `app-screen.html`, while Halcyon adds `component-library.html`.

### Trade-offs & Limitations
Compared with writing a style guide by hand, Hue provides a repeatable starting point for extracting guidance from a reference. Compared with a maintained component library, it standardizes what the assistant is asked to build, not the code, APIs, or interaction behavior that applications actually share. Treat the generated skill as a reviewable design artifact, not as a drop-in replacement for a UI library.

The validation command is suitable as an automated file-level gate, but a pass does not establish brand fidelity, cross-session consistency, or application-wide accessibility. Review rendered screens and interactive states in the target app before adopting the output. The MIT license covers the repository; it does not automatically grant rights to third-party brand assets used as references.

### Hardware & Deployment Guide
Clone the repository to `~/.claude/skills/hue` for Claude Code or `~/.agents/skills/hue` for Codex. Codex also has an alternate CLI-installer-compatible location: `${CODEX_HOME:-$HOME/.codex}/skills/hue`. Trigger the workflow with a natural-language request. With Node.js available, run `node scripts/validate.mjs <path-to-generated-skill-folder>` to validate a generated skill separately; validation errors return exit code `1`.

Local installation puts the skill files on disk, but it does not establish offline analysis or self-hosted inference. Generation depends on the host assistant and its access to the input. No minimum Node.js version or hardware sizing is specified, and there is no published release to anchor a versioned rollout. For team-wide use, pin a reviewed Git revision and keep generated skills under version control.
```

## Key Capabilities
```text
- Host integration: Claude Code and Codex discover Hue from skill directories; no MCP server endpoint is established.
- Input and reuse: A URL, brand name, or screenshot becomes a design skill that can guide later coding sessions.
- Design coverage: Color tokens, typography, spacing, component guidance, light and dark modes, hero layouts, and icon-kit selection.
- Validation: `scripts/validate.mjs` checks YAML, CSS references, `SKILL.md` frontmatter, placeholders, em dashes, and AI-default display fonts; exit code `1` signals an error.
- Accessibility boundary: WCAG contrast checks apply to core text/background pairs, not to an entire interface.
- Inspectable outputs: All 17 examples pair `design-model.yaml` with `landing-page.html`; two add app screens and one adds a component-library preview.
```

## Quick Start / Clone
```bash
git clone https://github.com/dominikmartn/hue ~/.claude/skills/hue
```
