CtrlK
BlogDocsLog inGet started
Tessl Logo

testland/wcag-color-contrast

Reference for WCAG 2.2 color-contrast conformance - covers SC 1.4.3 Contrast (Minimum, AA), 1.4.6 Contrast (Enhanced, AAA), 1.4.11 Non-text Contrast (AA), and 1.4.13 Content on Hover or Focus (AA) - with the canonical contrast ratios (4.5:1 normal text, 3:1 large text and UI components), measurement formula references, and bulk design-token checking patterns. Use when designing a color palette, reviewing a component for accessibility, or auditing existing CSS for contrast violations.

68

Quality

86%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

Overview
Quality
Evals
Security
Files

Quality

Content

75%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A well-organized, actionable reference that largely assumes Claude's competence and uses tables effectively. Gaps are minor: a couple of trimmable explanations, a script path with no matching bundle file, and the absence of an explicit numbered workflow.

Suggestions

Remove or trim the 'Large text per WCAG' definition and the tooltip-hoverable failure narrative, since Claude already knows WCAG terminology.

Either create scripts/check-contrast.js in a bundle or reframe the code as an inline snippet without the implied external file path.

Convert the design-token bulk-check into a short numbered workflow (define pairs -> run script -> treat non-zero exit as a failing CI gate) to make the validation loop explicit.

DimensionReasoningScore

Conciseness

Mostly lean reference material (ratio tables, failures, anti-patterns) with a few minor over-explanations such as the 'Large text per WCAG' definition and the tooltip-hoverable failure narrative that could be trimmed.

4 / 5

Actionability

Provides executable JS (check-contrast.js), tool URLs, and concrete fix patterns ('Darken to #767676'); the script's require of ../tokens/colors.json is a relative path that may not resolve, a minor gap.

4 / 5

Workflow Clarity

The bulk token check is a batch operation with a validation loop (violations -> console.error -> process.exit(1)) and CI wiring via a11y-violation-gate; sequence is clear though not a numbered multi-step checklist.

4 / 5

Progressive Disclosure

Well-sectioned single SKILL.md with one-level-deep references to peer skills; the inlined 'scripts/check-contrast.js' path implies a bundle file that is not present (no scripts/ dir), a minor organization gap.

4 / 5

Total

16

/

20

Passed

Description

92%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A high-quality description that clearly scopes the skill to WCAG 2.2 contrast conformance with concrete capabilities and explicit use-when triggers. Only minor synonym coverage is missing.

DimensionReasoningScore

Specificity

Lists multiple concrete capabilities (SCs 1.4.3/1.4.6/1.4.11/1.4.13, canonical ratios 4.5:1/3:1, measurement formulas, bulk token checking) with comprehensive coverage.

5 / 5

Completeness

Explicitly answers both what (reference covering the four SCs, ratios, formulas, checking patterns) and when via a concrete 'Use when...' clause.

5 / 5

Trigger Term Quality

Strong natural triggers ('designing a color palette', 'reviewing a component for accessibility', 'auditing existing CSS for contrast violations'); a few common synonyms like 'WCAG compliance' or 'a11y audit' are absent.

4 / 5

Distinctiveness Conflict Risk

Clear niche (WCAG 2.2 color-contrast conformance) with distinct triggers and minimal overlap risk with adjacent a11y skills.

5 / 5

Total

19

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

referenced_paths_exist

Referenced path issues: 2 missing

Warning

Total

15

/

16

Passed

Reviewed

Table of Contents