Search

PythonReactSEOPDF
GitHub 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.

claushaas☆ 2 Repository stars0 Repository forks

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

View source ↗Guides

Skill instructions

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.

Examples

Read the usage examples in the source repository.

View source ↗

Source history

Indexed on
2026-01-20
Index updated
2026-01-26
Branch
main

Index and sync dates describe this directory. View the source repository for code history.

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!