pf-raw-colors-scan

Official

Flag raw colors; replace with design tokens.

Authorpatternfly
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps identify raw color values embedded in styling properties (HEX, RGB, RGBA, HSL, HSLA) and flags them as technical debt to be replaced with design tokens.

Core Features & Use Cases

  • Detects raw color values in CSS/SCSS/LESS and reports their location, value, and affected property.
  • Recognizes common named colors and special values like transparent, suggesting token-based replacements.
  • Ignores colors defined inside design token declarations to avoid false positives during token initialization.

Quick Start

Run pf-raw-colors-scan against your codebase to generate a report of raw color values and token-based recommendations.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: pf-raw-colors-scan
Download link: https://github.com/patternfly/ai-helpers/archive/main.zip#pf-raw-colors-scan

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.