light-dark-mode
100 / 100 · Low risk
Fine to try.
Load this skill whenever the project supports light/dark mode, colour theme switching, high-contrast mode, or responds to prefers-color-scheme. Under no circumstances hard-code colours that break in alternative themes. Absolutely always test colour contrast in both light and dark themes, and respect user OS-level colour preferences via CSS media queries.
What this skill can do
We found nothing in the files we read that matches our rules. That does not prove the skill is safe: see the limits of static scanning.
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'light-dark-mode' ] || [ -L ~/.agents/skills/'light-dark-mode' ]; then echo 'A skill folder named light-dark-mode already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/mgifford/accessibility-skills' "$d" && git -C "$d" checkout --quiet '3f7adea8127056fbff1e00ba6784acf39cf9cd81' -- 'skills/light-dark-mode' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/light-dark-mode' ~/.agents/skills/'light-dark-mode' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'light-dark-mode' ~/.claude/skills/'light-dark-mode' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/mgifford/accessibility-skills/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-13 | 3f7adea | 100 |
| 2026-11-07 | ada8393 | 100 |