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.

majiayu000 1452fd4 2 files · 1.3 KB Updated 567 repo stars

File contents

Contrast Solver Helper

Use this skill when implementing or validating contrast logic, APCA/WCAG2 targets, or solver behavior in src/contrast.

Workflow

  1. Read src/planning/spec-v0.3.md and the relevant phase in src/planning/roadmap-v0.3.md.
  2. Implement contrast evaluation for APCA and WCAG2.
  3. Implement solver behavior for targets and failure modes (best-effort vs strict).
  4. Add minimal tests for target attainment and failure handling.

Guardrails

  • Respect ContrastRequirement and OutputOptions.strict behavior.
  • Prefer deterministic solver paths; document edge-case behavior.

majiayu000/claude-skill-registry-data/tree/main/development/contrast-solver-helper commit 1452fd4cba

Frequently asked questions

npx skillmds add majiayu000/contrast-solver-helper