Skip to content

Releases

v1.6.0 — Hardened Probes, 100% English References & Behavioral Eval Harness

Choose a tag to compare

@fatihmert fatihmert released this 04 Dec 09:43

What's New in v1.6.0

1. OpenCV UI Vision Probe Accuracy Overhaul (scripts/ui_vision_probe.py, 12/12 tests)

  • Eliminated light-mode text false positives via horizontal-first DPR-scaled text coalescing and inline baseline guards (live demo screenshot: smallTargetsAa 21 → 0, tightSpacing 4 → 0, bogus bold-heading container eliminated).
  • Fixed HSV salience dead zone (~chroma_mask) so dark cool-neutral CTAs (#111827 / #0f172a) are detected reliably, and gated tiny colored text out of salienceHotspots.
  • Added PNG pHYs Retina auto-DPR detection via stdlib struct, DPR-scaled morphological kernels, border-median RGBA compositing, WCAG 2.2 pixel-estimated local contrast (visualCandidates.lowContrastBlocks), CLI --compare <after.png> before/after diff, and unified schemaVersion: "1.0" + findings[].

2. Live DOM UX Probe Accuracy & Modern CSS Upgrades (scripts/dom_ux_probe.js, 26/26 tests)

  • Added pure-JS hsl()/hsla() parsing plus lazy browser 1×1 offscreen canvas normalization for CSS Color Level 4 (oklch(), oklab(), color(srgb), color(display-p3), color-mix()) and measured.unparseableColorCount.
  • Replaced resting-state outlineStyle === 'none' false positives with safe stylesheet :focus / :focus-visible outline-suppression rule inspection.
  • Added recursive open Shadow DOM traversal, uppercase SVG tagName safety, WCAG 2.2 SC 2.5.8 inline link exemption, <label>-wrapped input union hit rects, nameless icon-button detection, .sr-only/opacity/background-image contrast guards, onpaste auth & unlabeled open dialog warnings, and unified schemaVersion: "1.0" + findings[].

3. 100% Global English Reference Core (-29.5% Token Footprint)

  • Translated all 7 remaining Turkish modules under references/ into concise global English with strictly ASCII anchors (34,951 → 24,657 o200k tokens saved 10,294 tokens / -29.5%) while keeping automatic response-language matching in SKILL.md.
  • Deduplicated sources-and-evidence.md and interface-playbook.md, absorbed the 8th Laws of UX article into perception-and-mental-models.md, and bridged interface-playbook.md to dom_ux_probe.js, ui_vision_probe.py, and component-best-practices.md.

4. Zero-Dependency Behavioral Eval Runner (evals/run_evals.mjs)

  • Added node evals/run_evals.mjs --mode contract (18/18 passing, wired into GitHub Actions CI) verifying every eval trigger, extension, probe, and guardrail against live skill files.
  • Added optional --mode live --provider openai|anthropic|gemini A/B harness comparing bare-prompt Baseline vs. lawofux on deterministic behavioral rubrics.

Install: npx skills add CycleChain/lawofux-skill
Live Demo: https://cyclechain.github.io/lawofux-skill/

v1.5.0 — Verified Component Best Practices & 28-Framework Gallery

Choose a tag to compare

@fatihmert fatihmert released this 04 Dec 09:03

What's New in v1.5.0

Live-Verified Cross-Framework Component Best Practices

  • Added references/component-best-practices.md synthesized from 14 live-inspected official docs (W3C WAI-ARIA APG AlertDialog/Tabs/Combobox, GOV.UK Design System Error Summary & Validation, Apple HIG Buttons, Adobe React Aria, MUI Base UI, DaisyUI, Shoelace Web Components, PrimeVue 4, Vuetify 3, SolidJS Kobalte, GNOME GTK4/Libadwaita, Godot 4 GUI Navigation, and Python Textual TUI).

9 New Official-Docs-Grounded Component Examples (19 → 28 total across 15+ languages/paradigms)

Live Demo & Validation

  • Updated docs/index.html 5-category gallery to showcase all 28 components (verified in headless Chrome at 320×568 & 1280×800: 0 console errors, 0px overflow, 0 probe failures).
  • Verified validate_skill.mjs: 67 files, 25 markdown docs, 383 relative links, 18 eval cases, 8 extensions, 28 components.

Install: npx skills add CycleChain/lawofux-skill
Live Demo: https://cyclechain.github.io/lawofux-skill/

v1.4.0 — 19 Cross-Framework UX Reference Components

Choose a tag to compare

@fatihmert fatihmert released this 04 Dec 01:34

What's New in v1.4.0

12 New Standalone UX-Audited Component Examples (7 → 19 total across 12 languages/frameworks)

8/8 Extension Pairing, Validator & Chunked Interactive Demo

  • Paired extensions/tailwind.md and extensions/antd.md with their new reference components (8/8 bundled adapters now paired 1:1 with runnable examples).
  • Upgraded docs/index.html component gallery to a 5-category chunked selector (dogfooding Hick's Law, Chunking & Fitts's Law; verified 0 console errors and 0px overflow at 320px/1280px).
  • Added validateExamplesCatalog() to scripts/validate_skill.mjs so every component in examples/components/ is guaranteed to be cataloged in examples/README.md.

Install: npx skills add CycleChain/lawofux-skill
Live Demo: https://cyclechain.github.io/lawofux-skill/

v1.3.0 — 8 UI Component Library Adapters & 7 Cross-Platform Examples

Choose a tag to compare

@fatihmert fatihmert released this 04 Dec 01:03

What's New in v1.3.0

5 New Bundled --extend UI Component Library Adapters (3 → 8 total)

  • extensions/tailwind.md — Bare Tailwind CSS v3/v4 (@theme, Preflight focus traps, oklch() contrast checks, motion-reduce:, rem zoom reflow)
  • extensions/mui.md — Material UI v6/v7 (ThemeProvider/sx, IconButton 44×44 touch targets, persistent Alert vs. Snackbar, DataGrid tabular-nums)
  • extensions/antd.md — Ant Design v5 (ConfigProvider, size="small" 24px misclick guards, App.useApp().modal, persistent Alert vs. message.error)
  • extensions/swiftui.md — Apple SwiftUI (HIG ≥ 44×44 pt + FFitts, @ScaledMetric / Dynamic Type, .confirmationDialog, native boundary with ui_vision_probe.py)
  • extensions/flutter.md — Flutter Material 3 / Cupertino (≥ 48×48 dp MaterialTapTargetSize.padded, Semantics, TextScaler, InputDecoration.errorText, native boundary)
  • Updated extensions/README.md with expanded repo manifest auto-detection (Package.swift, CMakeLists.txt, pubspec.yaml, tailwind.config.*) and host skill directory fallback paths.

3 New Standalone Copy-Paste Component Examples (4 → 7 total) & Dogfooding Fixes

  • examples/components/bootstrap-billing-form.html — Offline-runnable Bootstrap 5 billing recovery form (verified live at 320px & 1280px with 0 dom_ux_probe.js failures)
  • examples/components/mui-data-filter-bar.tsx — Accessible MUI faceted filter & bulk-action bar
  • examples/components/flutter-checkout-confirm.dart — Flutter Material 3 48×48 dp checkout & neutral cancel card
  • Fixed dogfooding contradictions in examples/components/imgui-inspector-panel.cpp (SeparatorText("Danger Zone") + unique Cancel##job_cancel / Cancel##delete_cancel IDs, verified with clang++ -std=c++20 -Wall -Wextra -fsyntax-only) and extensions/imgui.md contrast accuracy.

Validator, Evals & Interactive Demo

  • Expanded evals/cases.json from 13 → 18 cases (MUI, AntD, SwiftUI/Flutter native boundaries, multi-stack shadcn,tailwind precedence).
  • Hardened scripts/validate_skill.mjs (strict eval schema, non-empty extension sections, cross-index checks in SKILL.md and extensions/README.md).
  • Synced docs/index.html live demo gallery to all 7 component stacks + fixed probe metric rendering and WAI-ARIA tablist navigation.

Install: npx skills add CycleChain/lawofux-skill
Live Demo: https://cyclechain.github.io/lawofux-skill/

v1.2.0 — OpenCV UI Vision Decomposer & Composable --extend Stack Adapters

Choose a tag to compare

@fatihmert fatihmert released this 04 Dec 00:10

Highlights

  • OpenCV UI Screenshot Decomposer (scripts/ui_vision_probe.py): Decomposes static UI screenshots and native app frames (e.g., Dear ImGui, mobile captures) into outer chrome bands, bordered containers with nesting depth and inner padding (Law of Common Region / Proximity), content blocks, small-widget visual candidates, and salience hotspots (Von Restorff). Exports JSON report, annotated overlay (annotated.png), and cropped regions (--crop), with explicit DPR & epistemic unverified guardrails (7/7 deterministic unittest tests passing in CI).
  • Composable UI-Stack Extensions (/lawofux --extend <stack>): Flexible handshake in extensions/README.md allowing lawofux to compose cleanly with bundled adapters (extensions/shadcn.md, extensions/bootstrap.md, extensions/imgui.md) OR any external installed UI/design-system skill (/lawofux --extend <skill>), plus a 4-section extensions/_template.md enforced by scripts/validate_skill.mjs.
  • Expanded Evals & CI: 13 evaluation cases in evals/cases.json (adding --extend shadcn, --extend bootstrap, and OpenCV DPR epistemic guardrails) and a Python 3.12 + opencv-python-headless CI job alongside the Node 20 & 22 matrix.

Install

npx skills add CycleChain/lawofux-skill

v1.1.0 — Cross-Language Components, Interactive Live Demo & Dual-Mode Probe

Choose a tag to compare

@fatihmert fatihmert released this 03 Dec 23:42

Highlights

  • Interactive GitHub Pages Demo: Live Before/After sandbox running runDomUxProbe() directly in the browser at https://cyclechain.github.io/lawofux-skill/ (verified in Chromium at 1280px and 320px WCAG Reflow with 0 measured failures on fixed views).
  • 4 Copy-Paste Cross-Language Components (examples/components/):
    • Vanilla HTML/CSS/JS error-preserving accessible form (accessible-form-recovery.html)
    • React / Tailwind shadcn-style 4-state AI agent checkpoint (shadcn-ai-checkpoint.tsx)
    • C++20 Dear ImGui DPI-scaled inspector with Undo snapshot & isolated Danger Zone (imgui-inspector-panel.cpp)
    • SwiftUI >=44pt FFitts/HIG thumb-zone mobile action sheet (swiftui-mobile-action-sheet.swift)
  • Dual-Mode DOM UX Probe (scripts/dom_ux_probe.js): UMD/IIFE bundle working cleanly in classic <script>, DevTools, Playwright, ego-browser, Node 20, and Node 22 with optional scoped root parameter (16/16 tests passing, Node 20 & 22 CI matrix).
  • English HCI & 2024–2026 arXiv Reference: references/hci-research-and-ai-ux.md translated to English as a single source of truth with all internal anchors updated and validated.
  • Social Preview Cover: Added crisp 1280×640 cover image at assets/social-preview.png.

Install

npx skills add CycleChain/lawofux-skill

v1.0.0 — Research-Grounded Laws of UX & Agentic UI Skill

Choose a tag to compare

@fatihmert fatihmert released this 03 Dec 23:16

Highlights

  • English Core + Multilingual Output: SKILL.md and agents/openai.yaml are now authored in English for global contributors while automatically matching the user's prompt language (e.g. Turkish prompts produce Turkish output) and preserving English Laws of UX principle names.
  • Zero-Dependency DOM/UX Probe (scripts/dom_ux_probe.js): Measures WCAG 2.2 AA 24x24 & AAA 44x44 target sizes/spacing circles, sRGB contrast ratios, missing form labels, placeholder-only inputs, positive tabindex, 320px horizontal overflow, and auto-playing media (14/14 node:test tests passing).
  • Peer-Reviewed HCI & 2024–2026 arXiv Grounding: Covers FFitts Law, visual search vs. Hick-Hyman in menus, reverse aesthetic-usability, Gestalt primary foundations, computational rationality, dark patterns (web, WCAG/EAA, conversational LLM), Human-AI & Agentic UI failure modes, and LLM audit blind spots.
  • Inclusive/Mobile Ergonomics & Research Kit: New references/inclusive-and-mobile-ux.md (W3C COGA, Apple HIG 44pt / Material 3 48dp, Hoober mobile grasp, i18n/RTL/Turkish locale checks) and references/research-and-experiments.md (task scripts, SEQ/UMUX-Lite/SUS/NASA-TLX, sample & A/B guardrails).
  • Examples, Evals & CI: End-to-end checkout and AI-assistant audit examples, 10-case evals/cases.json, zero-dependency scripts/validate_skill.mjs, and GitHub Actions CI (.github/workflows/validate.yml).

Install

npx skills add CycleChain/lawofux-skill