CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

color-contrast

Use when applies to all visible text and text images, UI component borders (input fields, buttons), focus indicators, icons that convey meaning, and graphical objects required to understand content. Does not apply to inactive/disabled UI components or purely decorative elements.

Quality

59%

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

Fix and improve this skill with Tessl

tessl review fix ./skills/color-contrast/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Scored by GLM 5.3

Content

71%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-structured, appropriately scoped audit-rule skill: exact thresholds, concrete check/fix guidance, a verification step, and a clean one-level pointer to a real reference file. The main cost is redundancy — the same ratio requirements are stated three times and the motivational/formula material could be trimmed or moved to the reference.

Suggestions

State the 4.5:1 / 3:1 thresholds once (Quick Reference) and have Check/Fix/Explain reference them instead of repeating them.

Drop or move the color-deficiency statistics and the luminance formula derivation into references/rule.md; Claude already knows the WCAG formula.

DimensionReasoningScore

Conciseness

The body repeats the 4.5:1/3:1 thresholds three times across 'Quick Reference', 'Check', and 'Explain', and includes motivation ('1 in 12 men and 1 in 200 women...') and a formula explanation (L1 + 0.05)/(L2 + 0.05) that Claude already knows. It is mostly efficient but several sections could be tightened or merged into the reference file.

3 / 5

Actionability

Concrete numeric thresholds with exact pt/px boundaries, specific verification tools ('Use a contrast checker tool (WebAIM, browser DevTools accessibility panel)'), and a concrete fix rule ('Do not use opacity to lighten text — compute the effective blended color and check that ratio instead'). Minor gaps: no runnable command or snippet in SKILL.md itself, though the instruction-only scoring note makes this acceptable.

4 / 5

Workflow Clarity

The Check → Fix → verify-with-tool sequence is clear, with a verification checkpoint ('verify the exact ratio') and a state checklist ('default, hover, focus, active, and visited'). The sequence is implicit in section headings rather than explicit numbered steps, keeping it just below the top anchor.

4 / 5

Progressive Disclosure

The ~35-line body is a well-organized overview that defers 'full implementation details, code examples, and framework-specific guidance' to a clearly signaled, one-level-deep pointer to `references/rule.md`, which exists (88 lines of real content including CSS examples). Content is appropriately split with easy navigation.

5 / 5

Total

16

/

20

Passed

Description

28%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.

The description is a scope/applicability statement (what the rule covers and exempts) rather than a capability description: it has a 'Use when' trigger clause but completely omits what the skill does, and never mentions 'color', 'contrast', 'WCAG', or 'accessibility'. Users needing contrast checking would not naturally phrase their request in these terms, so trigger quality and completeness are both weak.

Suggestions

Lead with a third-person capability statement, e.g. 'Checks and fixes color contrast ratios of text and UI components against WCAG 2.1 AA thresholds.'

Include the domain vocabulary users actually say — 'color contrast', 'contrast ratio', 'WCAG', 'accessibility', 'low-contrast text' — in the trigger clause.

Keep the valuable exclusion boundary ('Does not apply to inactive/disabled UI components or purely decorative elements') but attach it to a complete what+when sentence rather than letting it stand alone.

DimensionReasoningScore

Specificity

The description enumerates concrete scope targets ('all visible text and text images, UI component borders (input fields, buttons), focus indicators, icons that convey meaning') but names no capability or action verb at all — it never says what the skill does. This matches 'names the domain but actions are minimal or generic' rather than score 3, which requires 1-2 concrete actions.

2 / 5

Completeness

Only a 'when' clause is present ('Use when applies to all visible text...') with no 'what' — the description never states that the skill checks or fixes contrast ratios, matching the anchor example 'Use when working with documents'. A clear 'what' would be required for score 3.

2 / 5

Trigger Term Quality

Keywords like 'input fields', 'buttons', and 'focus indicators' are relevant, but the natural phrases a user would actually say — 'color contrast', 'contrast ratio', 'WCAG', 'accessibility', 'readable text' — are entirely absent (the words 'color' and 'contrast' never appear). This sits between anchor 2 and 3, but with the core domain vocabulary wholly missing, anchor 2 is the better fit.

2 / 5

Distinctiveness Conflict Risk

The enumerated element categories are somewhat specific, but because the word 'contrast' never appears, this description would compete with sibling accessibility rules covering focus indicators, icons, or text alternatives. It overlaps the 'somewhat specific but could still overlap with similar skills' anchor; score 4 would require a clearly distinct niche with minimal overlap.

3 / 5

Total

9

/

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.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_version

'metadata.version' is missing

Warning

Total

15

/

16

Passed

Repository

thedaviddias/Front-End-Checklist

Path

skills/color-contrast/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.