dominikmartn/hue
A Claude Code and Codex skill that turns brand references into reusable design rules
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
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.
scripts/validate.mjs checks YAML, CSS references, SKILL.md frontmatter, placeholders, em dashes, and AI-default display fonts; exit code 1 signals an error.design-model.yaml with landing-page.html; two add app screens and one adds a component-library preview.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.
You need an MCP service, a turnkey production component library, a guaranteed offline workflow, or an accessibility audit of the rendered application.
Quick Start & Installation
git clone https://github.com/dominikmartn/hue ~/.claude/skills/hue
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| hue ★ | 976 | +12 | JavaScript | MIT | A Claude Code and Codex skill that turns brand references into reusable design r |
| 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 |
| archify | 103.1k | +2k | JavaScript | Apache-2.0 | Agent skill and Node CLI for source-backed, interactive architecture diagrams. |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/dominikmartn/hue.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about hue
How does Hue integrate with Claude Code or Codex?
node scripts/validate.mjs <path-to-generated-skill-folder>.What hardware and runtime does Hue need?
Can a company use Hue commercially or keep it local?
When should I choose Hue over a component library?
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