Repository navigation
Releases
ux-skill 4.0.1
ux-skill 4.0.1
A maintenance release. No engine behaviour changes.
What changed
- The package summary on PyPI now states the 4.0 figures: a 171-rule linter, the WCAG-gated design system generator, 160 brand specs, 25 MCP tools and 18 commands. 4.0.0 still carried the 3.x summary.
- The demo landing page and two examples now use fictional names and details throughout.
Upgrade
- pip:
pip install --upgrade uxskill(Python 3.10 or newer). - npm:
npx uxskill@latest.
3.2.0 has been withdrawn from PyPI and npm. 4.0 is the supported line; Python 3.9 is no longer served.
ux-skill 4.0.0: Foundations
ux-skill 4.0.0: Foundations
One brand color and a brief in, a WCAG-checked design system out.
ux-skill 4.0 builds a design system from one brand color and a brief, reads the system a team already has, checks every color pairing for contrast in light, dark and high contrast, and writes only what passes. Coming from 3.x? Start with docs/migrating-to-4.md.
pip install --upgrade uxskill
uxskill system build --brand '#3366FF' --brief .ux/last-discovery.json --out design-systemUpgrade
- pip:
pip install --upgrade uxskill(Python 3.10 or newer). For the MCP server:pip install --upgrade 'uxskill[mcp]'. - pipx over an installed 3.x:
pipx upgrade uxskill. - npm:
npx uxskill@latest. - To stay on 3.x on purpose:
pip install 'uxskill<4'. On Python 3.9, pip keeps installing 3.2.x, which still works.
Migrating from 3.x
- The 3.x
tokens.cssfromux generateand the system pack'sDESIGN.mdandtokens.cssare replaced bytokens.css,tokens.json(DTCG),fonts.css,fonts-self-host.css,art/andsystem-report.md. - Path 1, build a new system and move the page onto its roles. Every 3.x custom property has a 4.0 role:
--color-canvasis--color-surface-page,--color-primaryis--color-action-primary,--space-mdis--space-4,--motion-baseis--motion-state-duration. The full table is in the guide. - Path 2, keep the 3.x system.
uxskill system import --from DESIGN.mdreads it as it is,system enhancereports what it lacks and how to add it, andsystem extendadds the missing foundations, roles or contracts in an extension file beside it. Nothing is rewritten.
Added
- Nine foundations: color, type, space, layout, radius, border, elevation, motion and imagery, each from primitives to semantic roles, emitted as DTCG and CSS.
- Five mode axes in every role: light and dark, standard and high contrast, comfortable and compact spacing, left to right and right to left, full and reduced motion. One attribute on
<html>switches each. - The WCAG gate. Every text, control and focus pairing is measured in light and dark, at standard and high contrast: text at 4.5:1 and non-text parts at 3:1 at standard contrast (WCAG 1.4.3 and 1.4.11), text at 7:1 in high contrast (WCAG 1.4.6), plus a 4.5:1 high-contrast floor for most non-text parts that is ux-skill's own, since WCAG sets no enhanced non-text level. A system that fails is not written.
- Arabic and right to left built in: an Arabic face with its own type scale under
dir="rtl", logical spacing and mirrored motion.--latin-onlyleaves it out. - Looks are continuous. Seven axes, the brand and the brief set every look; no industry or keyword picks one.
- Importers for DTCG, CSS, Tailwind 4 and a resolved Tailwind 3 config, Markdown rule files and Figma variables, with a naming adapter,
--scan,system enhance --fromandsystem extend. An importer never guesses: it reads a value or lists the entry under Not read with how to write it. - Exporters to CSS, DTCG, Tailwind 4 and Figma variables, with the scripts that apply and read them in a Figma file. Every write goes through an intake step that backs up the client's files byte for byte.
- 23 component contracts and 14 section contracts. State changes transition on
motion.state, pressable controls scale onmotion.press.scale(1 under reduced motion), and nav, tabs, segmented controls and menus move one indicator onmotion.indicator. A section names its job, the components its slots take, its variants, the proof it needs and its phone recomposition. - 171 lint rules that read the page's own system: motion timed from its curve, display line height held to the engine's floor, the system's lean to capitals, and how components show their states.
lint --rendermeasures the color budget, the photo grade lock, accent text on every ground, loops under reduced motion and pause controls, and drives the page with its motion running: focus rings that do not show or are clipped, hover and press that answer late, focus lost after Escape, and a press that still moves under reduced motion.- Inner pages (pricing, about, contact, customers, customer story, legal) with their own sequences, built in one run as one page family.
- Six category colors for nominal data,
color.category.1tocolor.category.6, each with a soft fill, a strong tone, text and text on the strong tone, in light, dark and high contrast. A shadcn theme'schart-1tochart-5map to them on import. - 25 MCP tools on one shared command layer.
figma-skill/: ux-skill as a skill for Figma's agent.- Release checks (
scripts/release_checks.py): 600 sampled briefs build, every gallery and fixture system round-trips through every format with no mismatch, the build digest is stable across hash seeds, and the wheel ships nothing private.
Changed
- 25 slash commands become 18. Each merged command keeps every step and flag of the ones it absorbed:
/ux-discovertakes--frameand--recommend;/ux-designtakes--component,--dashboardand--from-image;/ux-polishloops lint, fix and re-lint until the score reaches 90 or three rounds pass (--loop-only,--no-loop);/ux-inittakes--stats. - Surface playbooks. Landing, dashboard and component rules live in
references/surfaces/, one playbook each, and/ux-designloads exactly one, picked by its mode. - Every page carries photographs, sourced (stock included) when the client has none. The brand gate fails a page whose only images are illustrations, icons or the logo, unless the brand forbids photography outright.
- The photo direction asks for the client's own photos first, describes each missing shot by what it shows, and names the stock cliches to avoid.
- The dashboard playbook teaches the product dashboard people check many times a day: every figure carries its comparison, date or count, and states take the category colors, never color alone.
- Lint reads what a page uses. A rule on a utility class no element carries is not reported. Over a hundred pages from AI builders this removed a quarter of the findings, none on an element the page has.
- The quality score tells heavy pages apart: past 50 points of penalty it decays toward 0 instead of stopping there. Scores of 50 and up are unchanged.
- Python 3.10 or newer. Python 3.9 is past end of life.
Fixed
- The landing display fits the headline word the face really sets: each Latin face carries its letter advance without the space, so a short headline no longer runs sideways at tablet width.
- Lint reads dashboards as admin templates build them. Over fourteen public admin dashboards this removed 166 findings, none of them a real problem.
- The quality score counts a repeated rule lightly past 50 points of penalty, so a page with 149 links to "#" reads as one pattern, not 149 problems.
Deprecated
These seven commands are now aliases that say where they moved and run the new command with the same arguments. They are removed in 4.1.
| Old | New |
|---|---|
/ux-frame |
/ux-discover --frame |
/ux-recommend |
/ux-discover --recommend (the ux_recommend MCP tool is unchanged) |
/ux-stats |
/ux-init --stats |
/ux-evolve |
/ux-polish --loop-only (the alias passes --rounds 5) |
/ux-component |
/ux-design --component |
/ux-dashboard |
/ux-design --dashboard |
/ux-image-to-code |
/ux-design --from-image (the alias passes --extract-only) |
Offline. Deterministic. No LLM called by the engine. No telemetry. MIT.
Full notes: CHANGELOG.md and the launch post at uxskill.laithjunaidy.com/blog/ux-skill-4-foundations.html.
3.2.1: MCP server starts again
Fixed
- The MCP server failed to start on a fresh install.
pip install 'uxskill[mcp]'
pulled mcp 2.x, which removed the decorator API the server uses, soux-mcp
stopped with'Server' object has no attribute 'list_tools'. The mcp
dependency is nowmcp>=1.10,<2. - A test now builds the real MCP server whenever mcp is installed, so an
incompatible mcp release fails CI instead of reaching users.
3.2.0: Sees the page
The linter read code. Now it also looks at the rendered page, because some
failures only exist after layout.
Render check (new, opt-in)
uxskill lint --renderloads every HTML file in headless Chromium at 390,
430, 768 and 1280 px and measures the real layout, in LTR and RTL.centered-text-off-center: text is centered inside its box, but the box sits
against the start edge (left in LTR, right in RTL). Reports the drift in px,
the viewport, the direction, and the source line.horizontal-overflow: the page scrolls sideways. Names the element that
causes it, including a box that fits while its text spills.- Install:
pip install 'uxskill[render]'. Uses Google Chrome when installed,
elsepython -m playwright install chromium. - Found on our own site on first run: a centered heading off by up to 34 px on
all 18 homepages (only visible between phone and tablet widths, so a
two-width check missed it), the blog footer credit off by 32 px on 24 posts,
and a command description pushing the commands page 16 px sideways. All fixed.
New lint rule
decorative-accent-ruler(high): a short 1-2 px line used as ornament. Fades
out of transparent, ends in a small dot, or sits as a dash before an eyebrow
label. Tailwind v3/v4,before:/after:variants, and plain CSS. Full-width
dividers, tab underlines, hover underlines, progress bars, status dots and
animated loaders are not flagged. Removed 34 of them from our own site.
Fixed
placeholder-token-shippedno longer fires on ordinary JSX style objects
(sx={{ left: fillLeftPercent }},style={{ marginTop: spacing_md }}). Token
alternatives are now case-sensitive;lorem ipsumstays case-insensitive.
Reported with a precise repro by @XanderBezuidenhout (#36).- A rule whose regex fails to compile is now a test failure instead of being
silently dropped by the loader.
v3.1.0 — Brand-true, responsive, alive
ux-skill now honors the client's brand, holds up on mobile, and reaches for a wow moment — all enforced, not hoped.
- Brand fidelity — primary color from the logo's pixels (not the most-painted CSS); default fonts rejected for the logo's letterform style. The brand travels recommend/synthesize, and a hard floor in evaluate FAILS off-brand output (dropped color/logo, or no real imagery). Two-way interop with the open brand.md convention (render + ingest).
- Responsive / mobile-first — new craft foundations (responsive.md, component-behaviors.md) + a wrap-aware mobile gate: fails on horizontal scroll, a wrapping nav/wordmark/button label, or an over-tall sticky header.
- The wow layer — the model derives 2-3 coordinated signature moments (the 'wow can only come from the user' doctrine is overturned).
- Linter — imagery-mandatory + icon-only detection; placeholder-token + 100vw rules; seeded picsum kept, random stripped.
Tests 248 -> 310. Fully offline, deterministic, no LLM ever called. Full notes: CHANGELOG.md.
v3.0.0 — THE BRAIN
v3.0.0 — THE BRAIN
The biggest architectural shift in ux-skill's history. Brand specs went from "templates the recommender picks from" to training data the engine learns from. Output is novel every call. The system has eyes on its own history. Self-learning. Fully offline. No LLM ever called.
We named this The Brain because that's what got built: a constrained generative design compiler with a closed feedback loop.
What's new
7-axis synthesizer
Briefs map deterministically to 7 continuous axis values (warmth, contrast, density, geometry, formality, motion, type_personality). Axis values compile to fresh palette + type + spacing + radius + motion tokens. Same brief always yields the same output.
Three auto-dispatched modes
- strict_brand —
reference_brands=[stripe] strict=True→ 100% Stripe tokens - brand_anchor —
reference_brands=[stripe]→ 70% Stripe + 30% axis-adapted - pure_synthesis — no brand named → infinity space, 8 axis-matching exemplars distilled
Axis interaction matrix
Explicit conflict resolution between competing axes. Dense + corporate → 4px (Bloomberg). Airy + corporate → 12px (luxury). Soft + playful → 18px radius. Sharp + corporate → 2px radius. Documented, tested.
Decoupled tone evaluator
score_tone_match now compares synth output to the brief's RAW tags, not against axes pre-derived by the same function. Independent ground truth instead of self-grading.
Decisions ledger as learning substrate
.ux/decisions.jsonl is no longer just a log. The recommender now re-ranks candidates by past wins in the same (industry, ui_type) bucket. Cold-start safe. Only counts decisions with lint_score >= 80 AND user_accepted = true. The intelligence loop is now closed.
/ux-evolve auto-loop
Lint → polish → re-lint until score ≥ 90 or plateau or 5 rounds. Quality gate at 65 — below that, refuses to ship unless --force. 6 idempotent polish passes.
Layout primitives — responsive by construction
7 primitives all use auto-fit minmax(min(N, 100%), 1fr) + container queries. Zero size-based @media queries. Broken layouts cannot be emitted.
Typography computation
Modular scale ratio picked from contrast (1.200 / 1.250 / 1.333). 9-step ladder. Weight curves from type_personality + contrast. Tracking + line-heights from formality + density.
Stats dashboard
uxskill stats --html writes .ux/stats.html — local single-file dashboard showing what your install has learned. No telemetry. No global aggregate.
3 new MCP tools (15 → 18)
ux_synthesize, ux_decisions_query, ux_decisions_stats
Determinism hardened
Every sort in the synthesizer pipeline now has explicit tie-breakers (alphabetical on brand id). Reproducible across machines, filesystems, Python versions.
What got KEPT
- All 22 slash commands + 1 new (
/ux-evolve) = 23 commands - All 11 data manifests, 1,182 entries
- All 160 brand DESIGN specs (role changed, count didn't)
- All 145 anti-pattern rules
- 17-IDE installer
- 17-locale homepage + README set
What got REJECTED (and why)
- "Burn the catalogue for infinite space" — kept all 1,182 entries
- "LLM-judged subjective aesthetic axes" — went deterministic
- "Multi-candidate genetic mutation" — single artifact + polish loop
- "Rename commands to generate:ui / mutate:ui" — kept all 22, added 1
Numbers
| Metric | Count |
|---|---|
| Slash commands | 23 |
| MCP tools | 18 |
| Structured entries | 1,182 |
| Anti-pattern rules | 145 |
| Brand DESIGN specs | 160 |
| IDEs supported | 17 |
| Localized homepages/READMEs | 17 |
| Tests passing | 223 |
| LLM calls in engine | 0 |
| Telemetry events | 0 |
Install
pip install uxskill
uxskill init
uxskill synthesize --industry fintech-payments --tone bold
uxskill stats --htmlRead more
- Full launch blog post
- Brand specs are training data, not templates
- A deterministic design engine that learns offline
- What closed-loop actually means
- The 7 axes explained
- v3 vs UI/UX Pro Max — honest scorecard
- Wiki: v3-The-Brain
- Full CHANGELOG
MIT licensed. No telemetry. No LLM in the engine. Local stats dashboard. Runs in 17 IDEs.
v2.0.0-alpha.1 — Python pivot complete
v2.0.0-alpha.1 — Python pivot complete
The architecture switch from "markdown an LLM reads" to "queryable JSON + Python engine" is live. We beat the comparable competitor on every single dimension.
The numbers
| Manifest | ux-skill v2 | Their leading equivalent |
|---|---|---|
| Design styles | 84 | 67 |
| Color palettes | 176 | 161 |
| Type pairings | 70 | 57 |
| Components | 148 | 0 (net-new moat) |
| Industry rules | 184 | 161 |
| Chart types | 35 | 25 |
| Tech stacks | 25 | 15 |
| UX laws | 112 | 99 |
| Motion presets | 57 | 0 (net-new moat) |
| Anti-pattern rules | 35 | 0 (net-new moat) |
| Brand specs | 72 | 0 (net-new moat) |
| Total entries | 998 | ~600 |
What's new in v2
Python engine
engine/recommender/— 5-parallel-search reasoning engine. Industry → Style → Palette → Type → Motion → Components, merged with always-on anti-pattern guardrails.engine/linter/— Anti-AI-slop linter, regex overdata/anti-patterns.json.engine/discovery/— 10-field forcing function before any generation.engine/generator/— Tokens (CSS variables) + manifest emitter.engine/installer/— Multi-IDE installer for 17 environments.engine/cli/main.py—ux/uxskillshell command.
Cross-IDE distribution
pip install uxskill # canonical
npx uxskill init # for Cursor/Windsurf users without PythonSupported IDEs: Claude Code, Cursor, Windsurf, GitHub Copilot, Gemini CLI, Codex, Kiro, Cline, Continue, Aider, Zed, JetBrains AI, Pieces, Tabby, Tabnine, CodeWhisperer, Roo Cline.
New commands
/ux-recommend— the new flagship. Runs the 5-parallel-search engine./ux-init— detects IDE + installs the right artifacts./ux-stats— print manifest counts./ux-discover— the 10-field forcing function as a callable.
Preserved from v1
- 18 markdown commands and 5 sub-agents (Claude Code plugin spec).
- 72 brand DESIGN.md files in
references/brands/(now also as queryable JSON indata/brands/). - Demo HTML reference pages.
The three moats they don't have
- Deterministic anti-slop linter — 35 regex rules, no LLM, runs in CI.
- Mandatory 10-field discovery — forcing function before any generation.
- 72 real brand DESIGN.md specs — Apple, Stripe, Linear, Figma, Tesla, BMW, Notion, Spotify, Airbnb, Vercel, Supabase, Cursor, Raycast and 59 more.
Install
Inside Claude Code (canonical):
/plugin marketplace add Laith0003/ux-skill
/plugin install ux@ux-skillAnywhere else:
pip install uxskill
ux init # auto-detect and installTests
55 passing. End-to-end recommendation working with all 998 entries.
What's alpha-grade
- Cross-IDE installer writes minimal prompt headers — beta adds IDE-specific deeper integration.
- Phase 4 wiring of remaining 18 v1 commands to Python engine is partial.
- Landing page hero copy still references v1 numbers (cosmetic).
License
MIT. Star the repo if it saves you from shipping AI slop.
— Laith Aljunaidy
v1.5.1 — Landing POP edition (dogfood)
What's live
https://laith0003.github.io/ux-skill/
The landing is now produced by the plugin's own v1.5 discipline:
- Kowalski motion principles — custom cubic-beziers, sub-300ms micro-interactions, soft-spring overshoot on hover, magnetic micro-physics on the primary CTA (rAF + CSS variables, never `useState`)
- Aurora Glass moment — three blurred radial orbs drifting on transform-only 14-18s loops behind the "Install in sixty seconds." headline. The only mesh moment on the page, sitting behind the only glass-CTA on the page.
- Live code-window typewriter in the hero (sessionStorage-gated; second view renders the final frame instantly)
- Animated stat counters (cubic-bezier expo-out via `IntersectionObserver` with `once: true`)
- Scroll-linked nav-surface adapt cream → cream-card → dark → coral → cream → dark
- Bento 7/5/5/7 zig-zag for the 18 commands (now includes the new `/ux-lint`)
- Editorial column rhythm for "What ships"
- All transitions on `transform` + `opacity` only; `prefers-reduced-motion` respected; hover gated with `(hover: hover) and (pointer: fine)`
Verified
- 22 anti-slop bans consciously avoided (no Inter as display, no purple gradient, no pure black, no 3-equal-cards, no centered hero, no `h-screen` mobile, no filler verbs, no fake brand names, etc.)
- 17 SEO surface items present (title 42 chars, description 157 chars, canonical, theme-color light + dark, robots, favicons, font preconnect, full Open Graph, Twitter cards, JSON-LD Organization + WebSite + SoftwareApplication, semantic landmarks, skip-link)
- Single H1, proper heading hierarchy, no hierarchy skips
- 1,343 lines · 61,812 bytes · single self-contained file
The brand floor (cream + coral + dark navy, Cormorant + Inter + JetBrains Mono) stays. The pop comes from the motion and the one Aurora Glass coral moment.
Full changelog: v1.5.0...v1.5.1
v1.5.0 — Deterministic linter + 37 motion principles + 9 style philosophies + auto-activation triggers
TL;DR
Three high-value patterns shipped. The plugin can now lint itself.
```
/ux-lint
```
Runs 30 regex-based anti-pattern checks against your codebase. No LLM, no API key, no network. CI-friendly: exits non-zero on Critical/High findings.
What's in this release
NEW: `/ux-lint` slash command + deterministic regex linter
The plugin now ships a fast, deterministic, LLM-free linter:
- 30 anti-pattern rules with 59 regex variants
- `commands/ux-lint.md` (281 lines) — slash command contract
- `bin/ux-lint.sh` (779 lines) — bash implementation, parses `anti-patterns.md`, runs rules via `perl -nE` (PCRE) with `grep -E` fallback
- Exit codes: 0 clean · 1 critical-or-high fail · 2 rules file missing · 3 invalid CLI
- Flags: `--include`, `--exclude`, `--severity`, `--fail-on`, `--ci`
- Graceful failure handling, `ux-lint-disable` line suppressions
Wire it into pre-commit hooks or CI for a hard floor against AI fingerprints.
NEW: 30 deterministic anti-patterns (`references/foundations/anti-patterns.md`)
1,335 lines covering AI fingerprints across 7 categories — Color, Typography, Layout, Content, Components, Interaction, Performance. Each rule: detection regex, severity, mode (brand/product/both), why it's bad, better alternative, bad/good code examples.
NEW: 37 motion principles (`references/foundations/motion-principles.md`)
934 lines across 8 categories — Decision, Easing, Duration, Spring, Component, Performance, Gesture, Accessibility, Polish. Per-element duration ranges, custom easing curves, velocity thresholds, reduced-motion fallbacks, the CSS-vars-on-parent recalc trap, and the Framer Motion shorthand caveat.
NEW: 9 design philosophies (`references/styles/library.md`)
The style library grew from 3 to 12 schools:
Existing: Industrial-Brutalist · Minimalist · High-end-Visual
New: Swiss Grid · Editorial Magazine · Quiet Emptiness · Bold Maximalism · Refined Minimalism · Aurora Glass · Retro-Futurist · Organic Hand-drawn · Anti-Design Web
Each with When to use / Typography / Color / Layout / Motion / Components / Visual moves / Banned / Reference moods. The decision tree + recommendation table updated.
UPDATED: All 17 commands now have Use-when + Skip-when + Error Handling
Per Anthropic's skill-authoring guidance, every command's frontmatter description now explicitly states:
- Use when ... — trigger phrases for auto-activation
- Skip when ... — negative triggers to prevent inappropriate activation
Plus a `## Error Handling` section on 16 of 17 commands (ux-expert exempt) — each with 3-6 rows of error condition + recovery.
This means Claude Code now knows much more precisely when to invoke each command — and when NOT to.
Numbers
- Plugin total: 64+ files, ~26,000+ lines of curated UX guidance
- 17 callable slash commands (was 17 — same surface, much better triggers)
- 5 specialized sub-agents
- 12 reference foundation files (was 10 — added motion-principles + anti-patterns)
- 3 law references
- 7 process references
- 5 styles references (anti-slop / arsenal / library / exemplars / + library grew 5×)
- 2 components references
- 2 output formats (Polaris audit + editorial case-study)
- 72 brand DESIGN.md files
- 25 wiki pages (12,990 lines)
Full changelog: v1.4.0...v1.5.0
v1.4.0 — 72 brand DESIGN.md files absorbed
72 brands, ready to use
When a user says "build me a landing in Stripe's style" or "match the Notion editorial feel" or "make it like Linear" — the plugin now reads the full brand DESIGN.md and produces output that matches the brand's design language, not a generic default.
Brands available (72)
AI / ML: claude · cohere · mistral.ai · x.ai · minimax · runwayml · elevenlabs · together.ai · voltagent
Developer tools: cursor · vercel · supabase · webflow · framer · expo · posthog · sentry · replicate · resend · warp · hashicorp · ibm · mongodb · mintlify · sanity · clickhouse · composio · opencode.ai · slack · lovable · ollama · superhuman · raycast
Fintech / crypto: stripe · coinbase · kraken · binance · revolut · mastercard · wise
Productivity: notion · linear.app · figma · airtable · miro · intercom · cal · zapier
Consumer / lifestyle: apple · meta · nike · spotify · pinterest · airbnb · uber · shopify · starbucks · playstation · hp
Automotive: bmw · bmw-m · bugatti · ferrari · lamborghini · renault · tesla · spacex
Editorial / media: theverge · wired · clay · vodafone · nvidia
39,667 lines of brand spec content, plus a 128-line index documenting how to use the library.
How it works
- User names a brand in their brief
- `/ux-design` discovery protocol matches against `references/brands/_index.md`
- The matching brand's DESIGN.md is read and passed inline to the `frontend-engineer` sub-agent
- The brand's design language overrides defaults (e.g. Stripe's purple gradient overrides the default no-purple-gradient ban — it's the brand)
- The plugin's anti-slop and SEO discipline still applies on top
Updating
To refresh a brand to its latest version:
```bash
npx getdesign@latest add
```
Then commit the updated `references/brands/.md`.
Full changelog: v1.3.1...v1.4.0