color-management

color-management is a skill for Cursor from kws-projects/react-boilerplate. It costs 0 tokens per session (1,379 once invoked), scanned A, original, MIT.

A project guide for managing colors with shared CSS variables, including separate light and dark theme values. It explains how these values connect to Tailwind CSS classes.

In plain words
What is it for?
It is for adding or changing design-token colors, supporting light and dark themes, and using color classes such as backgrounds, text, borders, and status colors.
Why use it?
It keeps color definitions in one place and helps prevent inconsistent colors when adding, changing, or debugging a theme. Dark-mode changes can follow the same shared values.

Skill for Cursor

Written for Cursor: installed under .cursor/.

Good fit It is for adding or changing design-token colors, supporting light and dark themes, and using color classes such as backgrounds, text, borders, and status colors.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kws-projects/react-boilerplate/color-management
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add kws-projects/react-boilerplate --skill color-management
Clone the repo
git clone --depth 1 https://github.com/kws-projects/react-boilerplate

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for color-management

README.md
[![agentmods](https://agentmods.dev/badge/skills/kws-projects/react-boilerplate/color-management/github.svg)](https://agentmods.dev/skills/kws-projects/react-boilerplate/color-management)
Your own site
<a href="https://agentmods.dev/skills/kws-projects/react-boilerplate/color-management"><img src="https://agentmods.dev/badge/skills/kws-projects/react-boilerplate/color-management/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for color-management

Your own site · 80×15
<a href="https://agentmods.dev/skills/kws-projects/react-boilerplate/color-management"><img src="https://agentmods.dev/badge/skills/kws-projects/react-boilerplate/color-management.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,379 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.01379
Opus 5.5 $0.00000 $0.00552
Sonnet 5.5 $0.00000 $0.00276
Haiku 4.5 $0.00000 $0.00138

Measured 3mo ago against content hash deb586361ab0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

color-management scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/skills/color-management/SKILL.md · 139 lines

How it starts

The opening of the file, as written. The whole thing — 139 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Color Management

Work with the design-token color system in this project. Use when adding, changing, or debugging colors, or when the user asks about theming, design tokens, OKLCH, or "how do I use colors".

How the color system works

Colors are managed in a single file: src/index.css. There is no JS config or separate token JSON — CSS custom properties are the single source of truth.

src/index.css
  :root { --primary: oklch(...); ... }     ← light theme values
  .dark { --primary: oklch(...); ... }     ← dark theme overrides
  @theme inline { --color-primary: var(--primary); ... }  ← Tailwind bridge

The flow:

  1. :root / .dark define semantic CSS variables in OKLCH.
  2. @theme inline maps each variable to a --color-* Tailwind token.
  3. Tailwind utilities like bg-primary, text-success, border-info resolve to the CSS variables and automatically flip with dark mode.
  4. ThemeProvider toggles light / dark class on <html>.

Available tokens

Surfaces

Token Light Dark Tailwind class
background / foreground white / near-black near-black / near-white bg-background, text-foreground
card / card-foreground white / near-black dark gray / near-white bg-card, text-card-foreground
popover / popover-foreground same same bg-popover, etc.

Brand / actions

Token Tailwind class
primary / primary-foreground bg-primary, text-primary-foreground
secondary / secondary-foreground bg-secondary, etc.

Neutral helpers

Token Tailwind class
muted / muted-foreground bg-muted, text-muted-foreground
accent / accent-foreground bg-accent, etc.

Semantic status

Token Purpose Tailwind class
destructive / destructive-foreground Errors, deletions bg-destructive, text-destructive
success / success-foreground Confirmations, positive states bg-success, text-success
warning / warning-foreground Cautions, attention needed bg-warning, text-warning
info / info-foreground Informational notices bg-info, text-info

Read the full file on GitHub · 139 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 139 lines · 0 tokens per session scan A deb586361ab0

Subscribe to this mod's changes

color-management is a skill published in the GitHub repository kws-projects/react-boilerplate (3 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,379 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

color-management compared with skills from other repositories

color-management next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
color-managementkws-projects/react-boilerplateSkill35mo agoMITA0Cursor
dok3-doksam-uiLeeYudok/agents-scaffoldSkill40todayMITA247Claude Code
ui-and-themepinebasedev/svelteflareSkill562mo agoMITA159Claude Code, Codex
frontend-designbyerlikaya/claude-starter-kitSkill242mo agoMITA44Claude Code, Codex
shadcnever-works/directory-web-templateSkill22todayAGPL-3.0A90Claude Code, Codex
tailwind-v4-shadcnever-works/directory-web-templateSkill22todayAGPL-3.0A198Claude Code, Codex
uipierreb-devkit/VueSkill203d agononeA80Claude Code