Loading...
Loading...
Human and accessibility skill for antislop. Contrast, keyboard, focus, and states for real people. Includes the contrast checker.
npx skill4agent add miqdadbadjuber/anti-slop antislop-humanAnti AI Slop: Design & Copy Rules. Human skill
Part of the antislop system. Read together with(the core). This skill deep-dives the human concern: the UI must stay usable by people with different eyes, hands, and setups. Contrast, keyboard, focus, states, and the mobile details that exclude people.antislop.md
antislop.mdcontrast-check.pySKILL.mdpython3 "${CLAUDE_SKILL_DIR}/contrast-check.py" "#FFFFFF" "#777777"
# normal text: FAIL (4.48 < 4.5)
# large text: PASS (4.48 >= 3.0)${CLAUDE_SKILL_DIR}c = hex / 255c <= 0.03928c_lin = c / 12.92c_lin = ((c + 0.055) / 1.055)^2.4L = 0.2126*R + 0.7152*G + 0.0722*B| Pairing (text on background) | Ratio | Normal text (4.5) | Large text (3.0) |
|---|---|---|---|
| Black on white | 21.00 | Pass | Pass |
| White on black | 21.00 | Pass | Pass |
| White on #333333 | 12.63 | Pass | Pass |
| White on #666666 | 5.74 | Pass | Pass |
| #777777 on white | 4.48 | Fail | Pass |
| White on #888888 | 3.54 | Fail | Pass |
| White on #999999 | 2.85 | Fail | Fail |
| #555555 on black | 2.82 | Fail | Fail |
outline: noneoutline: 0:focus-visibleoutline: nonetabindex="-1"antislop-layoutmobileoverflow: hiddenoutline: none