agentleFS
okwhrlgma-bitokwhrlgma-bit/library/.claude/skills/a11y-audit/SKILL.md

a11y-audit

Skill0 starsChanged 7 months agoApache-2.0View on GitHub

KWCAG 2.2 Level AA 회귀 + 헌법 §12 invariants 자동 검증

19 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use perf-audit, i18n and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • CorentinGCSkill

    perf-audit

    Audit de performance web — bundle size, lazy loading, memoization, images, Core Web Vitals, Server vs Client Components. À invoquer avec /perf-audit.

    Also in 3 projects that use this

  • ffsshhttiikkSkill

    i18n

    Internationalization and localization

    Also in 3 projects that use this

  • fefogarciaSkill

    dependency-audit

    Comprehensive dependency health auditing for JavaScript/TypeScript projects. Run npm audit, detect outdated packages, check for security advisories, and verify license compliance. Prioritises vulnerabilities by severity and provides actionable fix recommendations.

    Also in 3 projects that use this

  • VercelSkill

    deploy

    Deploy applications to Vercel. Use when the user says "deploy", "deploy to Vercel", "push to production", "deploy my app", or "go live".

    Also in 4 projects that use this

  • AICreator-WindSkill

    design-review

    编码设计师工具。设计审计和修复。

    Also in 3 projects that use this

  • GitHubSkill

    refactor

    Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.

    Also in 3 projects that use this

The file

Files
SKILL.md

a11y-audit — UI/UX 헌법 §12 회귀 (Cycle 61)

KWCAG 2.2 Level AA + KRDS + Pretendard + 사서 친화 어휘 정합 자동 검증.

트리거

  • src/kormarc_auto/ui/** 변경 시
  • src/kormarc_auto/a11y/** 변경 시
  • .streamlit/config.toml 변경 시
  • 매 release 직전

1. 정적 검증 (LLM 호출 0)

python -m pytest tests/test_a11y_inject.py tests/test_kwcag22.py -v

게이트:

  • TestA11yGlobalCSS = 7 KWCAG 항목 (1.3.1·1.4.3·1.4.4·1.4.13·2.3.3·2.4.1·2.4.7·2.5.5)
  • TestConfidenceChip = 헌법 §11 (raw % 금지)
  • TestAIGhost = 헌법 §10 (인공지능 기본법 §31)
  • TestConstitutionInvariants = §10·§11·§12

2. 코드 invariant 검증

from kormarc_auto.ui.a11y_inject import A11Y_GLOBAL_CSS

# 헌법 §12 5 핵심 invariants
required = ['pretendard', 'skip-link', 'focus-visible', '44px', 'prefers-reduced-motion']
for r in required:
    assert r in A11Y_GLOBAL_CSS.lower(), f'{r} missing'

3. 사서 친화 어휘 검증

from kormarc_auto.ui.librarian_ux import LIBRARIAN_DAILY_CYCLE, LIBRARIAN_VOCABULARY

assert len(LIBRARIAN_DAILY_CYCLE) == 5  # Part 49
assert '반입' in LIBRARIAN_VOCABULARY.values()  # IT → 사서

4. 모든 페이지 inject 적용 검증

grep -L "inject_global_a11y" src/kormarc_auto/ui/*.py | grep -v __pycache__

→ 출력 0 = 모든 페이지에 inject 적용됨.

위반 시 액션

  1. learnings.md에 "a11y 회귀 패턴" 추가
  2. PR 생성 (자동 머지 X·헌법 §12 = invariant)
  3. PO 알림 (Slack 또는 채팅)

영구 게이트

CI .github/workflows/a11y-ci.yml이 PR + main push 시 동일 검증 자동 실행.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.