tyroneross/build-loop/color-engine
Claude Code and agent skill by tyroneross/build-loop
- community
Checking that the SKILL.md file is still in the repository.
Use when choosing or fixing accessible colors for UI, charts, diagrams, documents, or artifacts. NOT for choosing layout, typography, or component structure. Generate color systems and verify contrast, including dark themes and accent colors.
Install
npx vskill@latest install tyroneross/build-loop/color-engineSKILL.md
The same SKILL.md was published earlier as tyroneross/build-loop/color-engine.
Color Engine
Colors are outputs. The design is the set of relationships — contrast targets, chroma structure, harmony geometry. Fix the relationships and rotate the anchor hue and you get an infinite family of distinct-but-equally-valid systems, because the design lives in what stays invariant.
Practical consequence: never hand-pick hex values and hope. State the relationship you want; let the engine solve for the color that satisfies it.
When to reach for this
- Choosing colors for a UI, chart, artifact, deck, or diagram.
- Any "is this readable / does this pass contrast" question.
- A design review where a palette needs to be proven accessible.
- Building a dark theme, or checking that an existing one survives dark mode.
Skip it when the project already has a committed design system — apply that system instead. Its tokens win; use this only to fill gaps or verify.
The three calls
fix moves lightness only, preserving hue and chroma, so the result still reads as the same color rather than being swapped for a different one. An already-passing pair is returned unchanged — it never churns a color that was fine. Check passes_after: an extreme target on a clipped gamut can still fall short, and the engine reports that instead of hiding it.
Customization — profiles, not forks
A profile is a named set of relationship defaults, not a set of colors. Register your house style once; callers then ask by intent and get on-brand results. Adding a profile never forks the engine.
Built in: default · aurora-deep (dark glass) · reading (long-form, softer than max contrast because 21:1 is harsh over minutes) · wcag-aaa.
Harmony geometry: complementary · analogous · triadic · split.
Contrast targets
| Target | Use | |
|---|---|---|
| 3.0 | Large text, UI boundaries, icons | |
| 4.5 | Body text (WCAG AA) — the default | |
| 7.0 | AAA body text |
Deliberately reduce contrast for metadata and disabled states to build hierarchy, but keep it above 3.0 so it reads as de-emphasized rather than broken. Dark mode needs its own audit: a pair that passes on white can fail on near-black.
Installing in another project
Copy this directory. It is pure stdlib with zero dependencies — no install step, no lockfile, no version conflict. _core.py is vendored from groundwork/designer/color/relationships.py and carries a source_sha256 header; re-hash the source to detect drift. Do not hand-edit _core.py — extend through color_engine.py or a profile.
Verify after copying:
The self-test checks the property that matters: hue-rotated palettes hold every contrast target in both light and dark, so the generator spans the space instead of enumerating points in it.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/color-engine/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/tyroneross/build-loop/color-engine)