Skip to content

Commit 6d6ab24

Browse files
Thientan Soparatclaude
authored andcommitted
release: v2.2.1 — state-aware WCAG gate + Verification Protocol
README badge/current/changelog updated per the always-update-README-on-release rule. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 1755c91 commit 6d6ab24

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ A comprehensive kit of structured instructions, design tokens, runnable skills,
88

99
<br>
1010

11-
[![Version](https://img.shields.io/badge/version-2.2.0-6366f1?style=for-the-badge)](https://github.com/plugin87/ux-ui-agent-skills/releases)
11+
[![Version](https://img.shields.io/badge/version-2.2.1-6366f1?style=for-the-badge)](https://github.com/plugin87/ux-ui-agent-skills/releases)
1212
[![License: MIT](https://img.shields.io/badge/license-MIT-22c55e?style=for-the-badge)](#-license)
1313
[![WCAG 2.2 AA→AAA](https://img.shields.io/badge/WCAG-2.2_AA→AAA-a855f7?style=for-the-badge)](#-accessibility-standards)
1414

@@ -32,7 +32,7 @@ A comprehensive kit of structured instructions, design tokens, runnable skills,
3232

3333
## 📌 Version
3434

35-
**Current release: `v2.2.0`** · See the [Changelog](#-changelog) · [All releases](https://github.com/plugin87/ux-ui-agent-skills/releases)
35+
**Current release: `v2.2.1`** · See the [Changelog](#-changelog) · [All releases](https://github.com/plugin87/ux-ui-agent-skills/releases)
3636

3737
> No build tools, dependencies, or runtime required — this is a pure instruction & knowledge layer for AI agents.
3838
@@ -322,6 +322,12 @@ This is a **starter kit** — make it yours:
322322

323323
## 📝 Changelog
324324

325+
### `v2.2.1`
326+
- 🧪 **State-aware WCAG gate**`scripts/verify_states.mjs` (`npm run test:states`) measures real computed contrast of every interactive element in **default / hover / focus** (light + dark), catching state bugs the resting-state gate missed (e.g. a secondary button picking up the primary fill on hover). Wired into `accuracy_report` (now 11 checks, 100%).
327+
- 📐 **Verification Protocol** — new top-of-CLAUDE.md rule: never report a quality number you didn't measure; verify all states; run the gate before declaring done; build *with* the gates. `design-code` step 13 and `a11y-audit` now run the render gates instead of eyeballing.
328+
- 🩹 Fixed real hover-state AA failures in `examples/apple-demo`; added `examples/brandkit-demo` (generated OKLCH foundation, light+dark, every state AA).
329+
330+
325331
### `v2.2.0`
326332
-**2 new runnable skills (15 → 17)**`image-to-code` (reference image/screenshot → infer the design system → token-driven, verified code) and `brandkit` (brief → complete primitive→semantic→component DTCG token foundation + theme.css, light + dark, WCAG-verified). Both native, fit the kit's gates.
327333
- 🎨 **Render-based taste audit**`scripts/taste_audit.mjs` (`npm run taste`) measures structural slop tells from real computed styles: timid type-scale contrast, uniform repetition, over-wide measure, palette sprawl. Wired into the `design-code` taste pre-flight. Heuristic by design — a strong signal, not proof (taste is subjective).

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ux-ui-agent-skills",
3-
"version": "2.2.0",
3+
"version": "2.2.1",
44
"description": "Turn Claude into a Senior Design Architect — DTCG design tokens, 50 components, WCAG 2.2 AA→AAA + i18n/RTL accessibility, enforced single-theme consistency (contrast, hardcode, Tailwind-palette, theme-ref + CI gates), any-framework code, 138 design systems, 15 runnable skills. Install into any project with npx.",
55
"type": "commonjs",
66
"bin": {

0 commit comments

Comments
 (0)