LazyCats-dev/ao3-podfic-posting-helper / .agent/skills/color-contrast
color-contrast
VerifiedLoad this skill whenever the project contains text, UI components, icons, form controls, data visualisations, or focus indicators — in short, almost every project. Under no circumstances hard-code colour values without verifying contrast ratios. Absolutely always ensure text meets 4.5:1, large text meets 3:1, and non-text UI elements meet 3:1 against adjacent colours. Test in light mode, dark mode, and forced-colors (high contrast) mode.
SYNC.md
View on GitHub# Sync Metadata
```yaml
canonical_source: examples/COLOR_CONTRAST_ACCESSIBILITY_BEST_PRACTICES.md
last_synced_commit: "bb235f3"
last_synced_date: "2026-07-21"
skill_maintainer: ""
notes: >
Canonical example file exists in mgifford/ACCESSIBILITY.md.
Skill content resynced, folding in light-dark() and prefers-contrast,
color-mix()/contrast-color() caveats, opacity/overlay least-favorable-region
testing, disabled-control nuance, and full component-state testing
checklist. CORRECTION: Also removed a prior reference to axe rule IDs `focus-visible`
and `focus-order-semantics` which do not exist in axe-core — canonical
source flags these as a common citation error.
DIVERGENCE: This skill's format (YAML frontmatter, severity-tagged
sections, condensed Definition of Done checklist) intentionally differs
from the canonical file's prose structure. Content substance is synced;
presentation format is not expected to match verbatim.
```
## How to Update This Skill
When the canonical source changes and CI flags drift:
1. Open both files side-by-side
2. Review the diff linked in the GitHub issue/PR comment
3. Update `SKILL.md` to reflect new requirements, changed patterns, or removed guidance
4. Set `last_synced_commit` to the current commit SHA of `mgifford/ACCESSIBILITY.md`
5. Rebuild: `cd skills && zip -r color-contrast.skill color-contrast/`
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |