sprezzature-ux-laws SKILL.md skillA

sprezzature-ux-laws from warith-harchaoui/sprezzature is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add warith-harchaoui/sprezzature/sprezzature-ux-laws@v1.6.0

Pins v1.6.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
warith-harchaoui/sprezzature
Path
sprezzature-ux-laws/SKILL.md
Versions recorded
12
Latest version
v1.6.0, committed Oct 20, 2026
First version recorded
Sep 14, 2026
Size
11,932 bytes
Repository stars
12
License
a license file GitHub does not identify

Apply the canonical Laws of UX (Jon YABLONSKI, lawsofux.com) to vanilla-JS + Tailwind work, both when designing a screen and when auditing one that exists. The reference covers 30 laws with trigger / action / Tailwind hook; sprezzature-ux-laws-audit flags the mechanically detectable subset (Hick, Miller, Fitts, Jakob, Tesler, Aesthetic-Usability, Selective Attention, Choice Overload) with severity and JSON output, while Doherty is vocabulary, not a check. Use it when somebody is complaining…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

> The deterministic tools below now ship as the standalone package [`sprezzature-ux-laws`](https://github.com/warith-harchaoui/sprezzature-ux-laws) (`pip install`), invoked as `sprezzature-ux-laws …`. The `scripts/` folder has moved out of this monorepo; the SKILL.md here stays as the agentic contract.

# sprezzature-ux-laws — make and audit by the Laws of UX

## Audience and positioning

Solo developers and small teams who:

- Want a **shared vocabulary** for UI decisions ("we're trading Hick
  for Doherty here") without re-deriving cognitive science from
  scratch each time.
- Want a **pre-commit auditor** that fails fast when emitted HTML
  violates a mechanically-detectable law (an 11-link `<nav>`, an
  unchunked IBAN, a clickable `<div>` masquerading as a button).
- Need the rules without buying the book. The skill restates each
  law's trigger and action and points at the primary sources
  (Yablonski's lawsofux.com plus Nielsen Norman Group and the
  Wikipedia critique of Postel's Law).

This skill is **not** a substitute for usability testing. The
Aesthetic-Usability Effect itself warns that beauty can mask real
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add warith-harchaoui/sprezzature/sprezzature-ux-laws@sha256:d1a4cd2192189fef

The line at the top of this page pins the label v1.6.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_c2b2qhu4mmnyktdo.svg)](https://markdownregistry.com/a/art_c2b2qhu4mmnyktdo)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 12 versions of this file, between Sep 14, 2026 and Oct 20, 2026, about one every 3 days.

versioncommittedcommitsizeaudit
v1.6.0 latest2026-10-20 cb9d96e 11,932 BA view · diff
v1.6.02026-10-20 a18cda0 12,024 BA view · diff
v1.6.02026-10-19 4c68cf1 12,017 BA view · diff
v1.5.02026-10-17 68a8381 12,017 BA view · diff
v1.5.02026-10-17 a8af892 12,010 BA view · diff
v1.5.02026-10-16 3f502b2 12,009 BA view · diff
v1.4.02026-10-15 d2ec2d4 12,009 BA view · diff
v1.3.92026-10-02 bdffc59 12,009 BA view · diff
v1.3.82026-10-02 efa3ecc 12,009 BA view · diff
v1.3.72026-09-16 5a6f2e1 12,009 BA view · diff
v1.3.62026-09-15 ccf19cc 12,009 BA view · diff
v1.3.52026-09-14 b0abbe8 12,009 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (11932 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

warith-harchaoui/sprezzature · 12 stars · license a license file GitHub does not identify · pushed 2026-10-20 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_c2b2qhu4mmnyktdo
GET https://markdownregistry.com/api/v1/resolve?ref=warith-harchaoui/sprezzature/sprezzature-ux-laws
GET https://markdownregistry.com/api/v1/blob/d1a4cd2192189fefc3ff213ce137d9a15dea01f8c1cc6799936d141dbef51a51

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from warith-harchaoui/sprezzature

llms.txt llms.txt file
warith-harchaoui/sprezzature · llms.txt
git:20261020.a18cda0 · audit A · 12 stars
sprezzature-accessibility SKILL.md skill
warith-harchaoui/sprezzature · sprezzature-accessibility/SKILL.md · Static HTML accessibility lint **and** the alt text it tells you is missing. Twenty rules decidable from source without…
v1.6.0 · audit A · 12 stars
sprezzature-audio SKILL.md skill
warith-harchaoui/sprezzature · sprezzature-audio/SKILL.md · Local-AI speech both ways: captions out of recorded speech, narration out of written text. WebVTT / SRT captions from a…
v1.6.0 · audit A · 12 stars
sprezzature-cli-gui SKILL.md skill
warith-harchaoui/sprezzature · sprezzature-cli-gui/SKILL.md · Wrap an existing command-line tool in a single-page vanilla-JS + Tailwind GUI. Reads the CLI's own argument parser…
v1.6.0 · audit A · 12 stars
sprezzature-colors SKILL.md skill
warith-harchaoui/sprezzature · sprezzature-colors/SKILL.md · Colour tooling for vanilla-JS + Tailwind output, make and audit alike: WCAG contrast audit with OKLCH-neighbour fix…
v1.6.0 · audit A · 12 stars
sprezzature-figures SKILL.md skill
warith-harchaoui/sprezzature · sprezzature-figures/SKILL.md · Figures, diagrams and the Ralph Eyeball Loop: 167 hand-authored, often interactive and animated SVG chart types whose…
v1.6.0 · audit A · 12 stars
sprezzature-maps SKILL.md skill
warith-harchaoui/sprezzature · sprezzature-maps/SKILL.md · Real geography, three kinds: a choropleth on a true basemap and projection, a layered areas-of-control situation plate…
v1.6.0 · audit A · 12 stars
sprezzature-publish SKILL.md skill
warith-harchaoui/sprezzature · sprezzature-publish/SKILL.md · Turn a folder of Markdown (README + docs/ + blog/) into a static site: per-page meta tags (Open Graph + Twitter Card +…
v1.6.0 · audit A · 12 stars
sprezzature-ui SKILL.md skill
warith-harchaoui/sprezzature · sprezzature-ui/SKILL.md · Generate vanilla JS + Tailwind CSS UI code: components, pages, forms, dialogs, dashboards, for teams shipping internal…
v1.6.0 · audit A · 12 stars
llms-full.txt@web llms.txt file
warith-harchaoui/sprezzature · web/llms-full.txt
git:20261019.f212d25 · audit A · 12 stars
llms.txt@web llms.txt file
warith-harchaoui/sprezzature · web/llms.txt
git:20261019.f212d25 · audit A · 12 stars

Every file in warith-harchaoui/sprezzature

Browse by kind, by grade A, or by owner.