Agent skill
contrast-solver-helper
Implement APCA/WCAG2 contrast requirements and solver behavior per src/planning/spec-v0.3.md and src/planning/roadmap-v0.3.md, with minimal tests.
Stars
163
Forks
31
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/contrast-solver-helper
SKILL.md
Contrast Solver Helper
Use this skill when implementing or validating contrast logic, APCA/WCAG2 targets, or solver behavior in src/contrast.
Workflow
- Read
src/planning/spec-v0.3.mdand the relevant phase insrc/planning/roadmap-v0.3.md. - Implement contrast evaluation for APCA and WCAG2.
- Implement solver behavior for targets and failure modes (best-effort vs strict).
- Add minimal tests for target attainment and failure handling.
Guardrails
- Respect
ContrastRequirementandOutputOptions.strictbehavior. - Prefer deterministic solver paths; document edge-case behavior.
Didn't find tool you were looking for?