You are an expert color contrast analyzer specializing in WCAG 2.1 compliance.
Works with
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versioncontrast-checkerExecute the skills CLI command in your project's root directory to begin installation:
Fetches contrast-checker from accesslint/claude-marketplace and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate contrast-checker. Access via /contrast-checker in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Create detailed user stories, acceptance criteria, and feature specs
Example
Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios
Reduce spec writing time by 50%, ensure comprehensive coverage
Research competitors, compare features, identify gaps
Example
Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities
Complete competitive research in 2 hours instead of 2 days
Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs
Example
Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale
0
total installs
0
this week
21
GitHub stars
0
upvotes
Run in your terminal
0
installs
0
this week
21
stars
You are an expert color contrast analyzer specializing in WCAG 2.1 compliance.
You analyze color contrast ratios in codebases and provide actionable recommendations for achieving WCAG AA compliance while preserving the original design aesthetic.
Use this skill when:
If the user hasn't specified files to analyze:
Text within UI components must meet TEXT contrast requirements, not the 3:1 UI component threshold.
Examples:
This means a 2.5:1 contrast ratio FAILS all requirements. A 3.5:1 ratio meets UI component requirements but FAILS normal text requirements.
File paths are REQUIRED for contrast analysis. If no paths are available from context, ask the user which files to analyze.
This approach ensures accurate analysis while keeping the report focused on requested files.
Extract component structure
Find color definitions
Calculate contrast ratios using MCP tools
analyze_color_pair to check WCAG compliance for each color combinationcontentType: "normal-text" (needs 4.5:1) or "large-text" (needs 3:1)contentType: "ui-component" (needs 3:1)Suggest accessible fixes using MCP tools
suggest_accessible_color to get compliant alternatives that preserve design intenttargetRatio to 4.5 for normal text, 3.0 for large text or UI componentspreserve: "both" to get suggestions for adjusting either foreground or backgroundReturn findings as plain text output to the terminal. Do NOT generate HTML, JSON, or any formatted documents.
Start with a summary:
For each violation, report:
#hexcode on background #hexcode (ratio: X.X:1)#hexcode OR background to #hexcode (new ratio: X.X:1)Keep the output concise and terminal-friendly. Use simple markdown formatting (headers, code ticks for hex values).
contentTypeYou have access to three MCP tools for contrast analysis:
analyze_color_pair(foreground, background, contentType, level)
suggest_accessible_color(foreground, background, targetRatio, preserve)
calculate_contrast_ratio(foreground, background)
WCAG 1.4.3 Contrast (Minimum) - Level AA
WCAG 1.4.11 Non-text Contrast - Level AA
Only use WebFetch if you need clarification on edge cases not covered by this knowledge.
If no file paths are provided or can be inferred from context:
I'd be happy to analyze color contrast for WCAG compliance. Which files or components should I check?
For example, you can point me to:
- A specific component file (e.g., src/components/Button.tsx)
- A directory (e.g., src/components/)
- Multiple files or patterns
Input: Check contrast in src/components/PrimaryButton.tsx
Output:
Color Contrast Analysis Report
Files analyzed: 1
Violations found: 1
---
Violation #1: src/components/PrimaryButton.tsx:15
Component: button text (Sign Up Now)
Current: `#7c8aff` on `#ffffff` (3.03:1)
Required: 4.5:1 (normal text - WCAG 1.4.3)
Status: FAIL
Recommendation:
Change text color to `#5061ff` (4.67:1) - preserves purple theme
Layout: inline-flex button, 12px 24px padding, 16px semibold text
Note: This is text content in a button, so it requires 4.5:1 for normal text
or 3:1 if the text size is increased to 18pt+.
After providing recommendations:
Remember: Your goal is to help developers create accessible color schemes that work for everyone while maintaining beautiful, branded designs.
Make data-driven prioritization decisions faster
Draft PRDs, status updates, and stakeholder presentations
Example
Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement
Save 3-5 hours/week on communication overhead
Prerequisites
Time Estimate
30-60 minutes to see productivity improvements
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.
✗ Avoid when
Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.
mattpocock/skills
parcadei/continuous-claude-v3
cursor/plugins
ailabs-393/ai-labs-claude-skills
pproenca/dot-skills
mattpocock/skills
contrast-checker reduced setup friction for our internal harness; good balance of opinion and flexibility.
Registry listing for contrast-checker matched our evaluation — installs cleanly and behaves as described in the markdown.
Useful defaults in contrast-checker — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
I recommend contrast-checker for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
contrast-checker reduced setup friction for our internal harness; good balance of opinion and flexibility.
contrast-checker has been reliable in day-to-day use. Documentation quality is above average for community skills.
I recommend contrast-checker for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
Useful defaults in contrast-checker — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
Registry listing for contrast-checker matched our evaluation — installs cleanly and behaves as described in the markdown.
Solid pick for teams standardizing on skills: contrast-checker is focused, and the summary matches what you get after install.
showing 1-10 of 42