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