antislop-human
하는 일
AI 코딩 도우미에게 글자 대비, 키보드 사용, 포커스처럼 접근성을 위한 화면 규칙을 줍니다. 다양한 필요를 가진 사람들도 앱이나 사이트를 쓸 수 있기를 원하는 개발자를 위한 것입니다.
사용하는 경우
- ✓개발자가 사용자가 읽고 클릭해야 하는 웹사이트나 앱 화면을 만들거나 고칠 때.
- ✓개발자가 글자나 버튼 색상의 대비가 충분한지 확인해야 할 때.
- ✓개발자가 인터페이스에 키보드 지원과 분명한 포커스 상태를 넣고 싶은 경우.
스킬 링크
https://github.com/miqdadbadjuber/anti-slop/blob/main/skills/antislop-human/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“가입 양식의 색과 키보드 지원을 확인해서 누구나 쓸 수 있게 해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
이 스킬은 저대비, 포커스 누락, 불분명한 상태처럼 사람들을 배제하는 문제를 확인합니다. 색 조합을 테스트하는 대비 검사기도 포함되어 있습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
antislop-human
Anti Slop: Rules for AI Coding Agents. Human skill
Part of the antislop system. Read together with
antislop.md(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.
How to use this skill
- Load together with
antislop.mdwhenever the task builds or edits UI. The core holds the mechanism (the purpose test, the three tiers, the Delivery Gate); this skill holds the human-side depth: the parts of a UI that exclude people with different eyes, hands, and setups. - Every entry has the same shape: Tell (the pattern), Why (who it excludes, and why it reads as unfinished), Fix (what to do instead), with the governing core rule cited as R-XX.
- Accessibility is not a checklist of extras bolted on at the end. It is part of the core promise that "the UI holds up" (C-4). The Delivery Gate in the core remains the gate; the "Human Skill Checklist" at the end of this file is the supplement to run alongside it.
- The contrast checker (formula + reference table + script) lives in this skill. Use it for every color pairing you cannot verify by eye.
- This skill keeps only the mobile details that exclude people: zooming, and the on-screen keyboard.
Color & Contrast
Low-Contrast Text
- Tell: light grey text on a white or near-white background, thin body text, muted labels chosen because they look "elegant" but are hard to read.
- Why: it excludes low-vision users and everyone in bright light. It is a visual choice made without checking the standard, which is exactly the kind of default the filter exists to catch.
- Fix: meet WCAG AA minimums (R-25): 4.5:1 for normal text, 3:1 for large text (18px+). Compute the ratio; do not eyeball it.
Text Over a Photo or Gradient
- Tell: white text placed directly over an image or gradient that is light in some areas, checked at one bright spot only.
- Why: contrast is local. Where the image is light, the text drops below 4.5:1 even if the hero still "looks" fine. R-25 requires testing the whole area the text passes over, not a single point.
- Fix: add a scrim or a solid color block behind the text, then verify the worst spot, not the best. If any part of the text area fails, the treatment fails.
The Grey-on-Grey Hallucination
- Tell: "dark grey on black" or "light grey on white" claimed to pass AA without a computation.
- Why: this is the most common accessibility hallucination. The eye overestimates contrast on grey pairs, and agents repeat the claim because it sounds plausible. #555555 on black is 2.8:1. It fails.
- Fix: never assert a pairing passes. Run the contrast checker (below) or apply the formula. When neither is possible, use the reference table.
Non-Text Contrast
- Tell: interactive components (buttons, icons, input borders, focus indicators, chart segments) distinguished from their background by less than 3:1.
- Why: non-text UI carries information by shape and edge. When the edge is a hair of tint, low-vision users cannot find the control. The same bar applies to states like hover and selected.
- Fix: give every component boundary and every status indicator a 3:1 ratio against adjacent colors (WCAG 1.4.11). Pair icons with a text label that meets 4.5:1.
The Contrast Checker
The home of the contrast checker. Three layers, from most to least convenient:
The script. When a script runtime is available and the file is present, run it instead of computing by hand. The script ships in this skill's folder (contrast-check.py, next to this SKILL.md). Run it with python3 on macOS and Linux, python on Windows:
python3 "${CLAUDE_SKILL_DIR}/contrast-check.py" "#FFFFFF" "#777777"
# normal text: FAIL (4.48 < 4.5)
# large text: PASS (4.48 >= 3.0)
If the ${CLAUDE_SKILL_DIR} variable is not available in this agent, point the script path at this skill's folder directly. The script exists so agents stop hallucinating AA. It takes two hex colors and prints the ratio and the verdict for both text sizes. If the file is missing, the formula and table below are complete on their own. Never block on the script.
The formula (WCAG 2.x).
- Contrast ratio = (L1 + 0.05) / (L2 + 0.05), where L1 is the lighter relative luminance and L2 the darker.
- Relative luminance L of one color: convert each channel to 0-1
자주 묻는 질문
대비 검사기가 포함되나요?
네. 눈으로 확인할 수 없는 색 조합을 테스트하는 대비 검사기가 들어 있습니다.
휴대폰 사용도 다루나요?
네. 확대나 화면 키보드처럼 사람들을 배제할 수 있는 모바일 세부 내용을 다룹니다.
핵심 antislop 파일이 필요한가요?
네. 공통 규칙이 들어 있는 주 antislop 파일과 함께 쓰도록 만들어졌습니다.
상세 정보
작성자의 원본 설명
Human and accessibility skill for antislop. Contrast, keyboard, focus, states, and interaction affordances for real people. Includes the contrast checker.
repo: miqdadbadjuber/anti-slop
인기도
- GitHub 스타
- 8.0k
- 순위
- #12650
- 라이선스
- MIT
- 업데이트
- 2026. 11. 1.
댓글
- …
이 저장소의 다른 스킬
antislop-code
8.0k에이전트가 코드 자체는 건드리지 않고, 장식적이고 뻔한 AI 티 나는 코드 주석을 정리하도록 돕습니다.
antislop-copywriting
8.0k에이전트가 마케팅 문구, 제목, 행동 유도 문장을 평범하고 사람다운 말로 쓰고 고치도록 돕습니다. AI 글쓰기 패턴과 지어낸 사실은 피합니다.
antislop-layoutmobile
8.0k에이전트가 휴대폰부터 데스크톱까지 잘 재배치되는 레이아웃을 만들도록 돕습니다. 탄탄한 격자, 옆으로 넘치지 않는 구성, 누르기 쉬운 터치 영역을 포함합니다.
antislop-ui
8.0k에이전트가 일반적인 템플릿처럼 보이지 않도록, 신중한 색상과 실제 레이아웃, 목적 있는 움직임으로 인터페이스를 설계하도록 돕습니다.
비슷한 스킬
angular-developer
280k에이전트가 Angular 코드를 만들고 프로젝트 구조를 조언하도록 돕습니다. 새 프로젝트 시작, 코드 부분 생성, 성능과 접근성 개선에 유용합니다.
frontend-a11y
280k모든 사람이 웹 인터페이스를 쓸 수 있도록 에이전트를 돕습니다. 웹사이트와 앱이 화면 읽기 프로그램과 키보드 탐색에서 잘 작동하도록 합니다.
frontend-patterns
280k프론트엔드 개발의 현대적인 패턴을 적용하도록 에이전트를 돕습니다. React와 Next.js에서 성능을 최적화하고, 상태를 관리하며, 모범 사례를 따릅니다.