.codex/prompts/forge-contrast/SKILL.md
Check WCAG contrast ratios across your entire token system. Tests every text token against every surface token.
npx skillsauth add Dragoon0x/forge forge-contrastInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate a contrast matrix:
Test every text color against every surface color in your system:
Report: pass/fail for each combination with actual ratio and required ratio.
content-media
Regenerate the entire design system from a new brand color while preserving the project type. Updates .forge.json and shows what changed.
development
Regenerate the type scale from your .forge.json ratio and base size. Outputs 8 steps with px values and CSS custom properties.
tools
Snap all font sizes to the nearest step in your type scale. Replaces arbitrary values with var(--type-step) references.
development
Find every font-size in the codebase that doesn't match your type scale. Lists violations with suggested scale values.