contrast-checker
Check color contrast ratios for WCAG compliance
npx skills add a5c-ai/babysitter --skill contrast-checker --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Contrast Checker Skill ## Purpose Calculate and validate color contrast ratios according to WCAG 2.1 guidelines, ensuring text readability and accessibility compliance. ## Capabilities - Calculate WCAG contrast ratios - Validate normal text (4.5:1) and large text (3:1) requirements - Check AA and AAA compliance levels - Suggest passing color alternatives - Batch check multiple color pairs - Analyze color palettes for contrast issues ## Target Processes - accessibility-audit.js (colorContrastVisualAnalysisTask) - component-library.js (colorSystemDesignTask) - design-system.js ## Integration Points - color-contrast-checker library - polished.js - chroma.js ## Input Schema ```json { "type": "object", "properties": { "colorPairs": { "type": "array", "items": { "type": "object", "properties": { "foreground": { "type": "string" }, "background": { "type": "string" }, "textSize": { "type": "string", "enum": ["normal", "large"] } } } }, "targetLevel": { "type": "string", "enum": ["AA", "AAA"], "default": "AA" }, "suggestAlternatives": { "type": "boolean", "default": true }, "palette": { "type": "object", "description": "Color palette to analyze for contrast" } }, "required": ["colorPairs"
- Purpose
- Capabilities
- Target Processes
- Integration Points
- Input Schema
- Output Schema
- Usage Example
What does the contrast-checker skill do?
Check color contrast ratios for WCAG compliance
How do I install it?
Run `npx skills add a5c-ai/babysitter --skill contrast-checker --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From a5c-ai/babysitter, a repository with 1,642 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
