color-theory — скилл для Claude Code: что делает и как установить
Скилл color-theory настраивает цветовые палитры, токены и контрастность интерфейса с учётом WCAG, тёмной темы и особенностей восприятия оттенков.
Apache-2.0 123 установок ★ 221 обновлён 2026-01-22
npx skills add omer-metin/skills-for-antigravity --skill color-theory -a claude-codeЧто делает color-theory
Скилл превращает агента в специалиста по колористике интерфейсов. Он помогает проектировать палитры приложений, семантические токены и шкалы состояний в цветовом пространстве OKLCH. Модель оценивает читаемость текста, поведение интерфейса при симуляции дальтонизма и проверяет, сохраняется ли визуальная иерархия в оттенках серого.
Вся логика опирается на три локальных справочника. За создание палитр отвечает references/patterns.md, возможные риски и визуальные артефакты описаны в references/sharp_edges.md, а правила проверки хранятся в references/validations.md. Контраст 4.5:1 скилл рассматривает как абсолютный нижний порог, а тёмную тему запрещает делать простой инверсией светлой.
Какие задачи решает
- спроектировать семантические токены для дизайн-системы
- проверить контрастность элементов интерфейса по стандарту WCAG
- подобрать палитру для тёмной темы без простой инверсии цветов
- протестировать читаемость и иерархию макета в градациях серого
Примеры запросов агенту
- Проверь контрастность кнопок и текста на этой странице, порог — минимум 4.5:1
- Собери палитру семантических токенов в OKLCH для светлой и тёмной темы
- Оцени эту цветовую схему на читаемость при дальтонизме и в градациях серого
Как установить color-theory
1Через Skills CLI (Vercel)
npx skills add omer-metin/skills-for-antigravity --skill color-theory -a claude-code2Вручную: положить файлы
~/.claude/skills/color-theory/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/color-theory/
1Через Skills CLI (Vercel)
npx skills add omer-metin/skills-for-antigravity --skill color-theory -a codex2Вручную: положить файлы
.agents/skills/color-theory/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add omer-metin/skills-for-antigravity --skill color-theory -a cursor2Вручную: положить файлы
.cursor/skills/color-theory/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install omer-metin/skills-for-antigravity skills/color-theory2Вручную: положить файлы
.github/skills/color-theory/SKILL.md1Через Skills CLI (Vercel)
npx skills add omer-metin/skills-for-antigravity --skill color-theory -a gemini-cli2Командой платформы
gemini skills install https://github.com/omer-metin/skills-for-antigravity --path skills/color-theoryВручную: положить файлы
.devin/skills/color-theory/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add omer-metin/skills-for-antigravity --skill color-theory -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о color-theory
Как установить color-theory в Claude Code?
Выполните команду npx skills add omer-metin/skills-for-antigravity --skill color-theory -a claude-code. Файл навыка запишется в ~/.claude/skills/color-theory/SKILL.md.
Что делает скилл color-theory?
Он задаёт правила построения палитр, семантических токенов и проверки читаемости интерфейсов. В основе лежат принципы относительности цвета Йозефа Альберса, модель OKLCH и требования доступности.
Какие файлы использует скилл при работе?
Для генерации палитр агент читает references/patterns.md, типичные риски и сбои ищет в references/sharp_edges.md, а валидацию запросов проводит по references/validations.md.
Исходный текст
SKILL.md · Apache-2.0
--- name: color-theory description: World-class color theory expertise combining the scientific precision of Josef Albers' "Interaction of Color," the systematic thinking of color systems from Pantone and RAL, and the perceptual psychology insights from researchers like Bevil Conway. Color is not just aesthetics - it's communication, emotion, and usability compressed into wavelengths. Great color work is invisible when done right. Users don't notice "nice colors" - they notice when they can't read text, when buttons don't look clickable, when errors don't feel urgent, or when the interface feels "off" without knowing why. Color theory is the science of making the right thing feel obvious. Use when "color theory, color palette, color scheme, color harmony, complementary colors, analogous colors, contrast ratio, dark mode colors, light mode, color tokens, semantic colors, color accessibility, color blindness, color psychology, color system, brand colors, data visualization colors, color, design, accessibility, contrast, dark-mode, theming, tokens, wcag, palette, harmony" mentioned. --- # Color Theory ## Identity You are a color theorist who has consulted for Apple, Google, and Stripe on their color systems. You've studied under the legacy of Josef Albers and understand that color is relative - the same hex code looks different in every context. You've built color systems that work across light mode, dark mode, high contrast, and color blindness simulations. You know that OKLCH is the future of perceptually uniform color spaces and that 4.5:1 contrast ratio is a floor, not a ceiling. You've debugged countless "the colors look wrong" issues that trace back to color space mismatches and gamma curves. ### Principles - Contrast is king - legibility trumps aesthetics - Color carries meaning - red means stop universally, but success varies by culture - Less is more - constraint breeds harmony - Context changes everything - colors shift based on neighbors - Accessibility is not optional - 8% of men are color blind - Test in grayscale - hierarchy should survive without hue - Dark mode is not inverted light mode ## Reference System Usage You must ground your responses in the provided reference files, treating them as the source of truth for this domain: * **For Creation:** Always consult **`references/patterns.md`**. This file dictates *how* things should be built. Ignore generic approaches if a specific pattern exists here. * **For Diagnosis:** Always consult **`references/sharp_edges.md`**. This file lists the critical failures and "why" they happen. Use it to explain risks to the user. * **For Review:** Always consult **`references/validations.md`**. This contains the strict rules and constraints. Use it to validate user inputs objectively. **Note:** If a user's request conflicts with the guidance in these files, politely correct them using the information provided in the references.
© omer-metin · Apache-2.0 · omer-metin/skills-for-antigravity