/pf-design-audit:pf-figma-checkfrom pf-design-audit
Validates Figma prototypes against PatternFly v6 design system standards for colors, typography, spacing, and component usage. Generates an HTML compliance report with score and violations.
Ships in pf-design-audit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Analyze Figma prototypes against PatternFly v6 design system standards — components, spacing, typography, colors, and UX patterns.
node-fetch package (npm install node-fetch)FIGMA_TOKEN environment variable (or a figma-config.env file in the scripts directory)Accept a Figma file URL from the user. Valid formats:
https://www.figma.com/design/FILE_ID/FILE_NAMEhttps://www.figma.com/file/FILE_ID/FILE_NAMEnode "$CLAUDE_SKILL_DIR/scripts/patternfly-check.js" "<figma-url>"
The script fetches the Figma file via API and analyzes all elements for PatternFly v6 compliance. An HTML report opens automatically in the browser.
After the script completes, summarize the results for the user:
Components (17 types): buttons, form inputs, cards, alerts, navigation, tables, modals, tooltips, pagination, breadcrumbs, badges, tabs, accordions, wizards, drawers
Design tokens: colors (PatternFly palette), typography (Red Hat fonts, sizes, weights), spacing (4px grid scale), border radius
Advanced checks: component states (hover, focus, disabled), spacing relationships, typography hierarchy (H1 count), microcopy consistency (Delete vs Remove), component library usage (detached instances)
eval/cases/figma-design-audit/annotations.yaml (opens in a new tab)eval/cases/figma-design-audit/input.yaml (opens in a new tab)eval/cases/invalid-figma-url/annotations.yaml (opens in a new tab)eval/cases/invalid-figma-url/input.yaml (opens in a new tab)eval/cases/no-figma-url/annotations.yaml (opens in a new tab)eval/cases/no-figma-url/input.yaml (opens in a new tab)eval/eval.yaml (opens in a new tab)scripts/patternfly-check.js (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
7 skills in this plugin
/pf-ai-auditAudit AI-powered features against Red Hat's AI design language — transparency notices, iconography, chatbot patterns, color and gradient rules. Use when reviewing chatbots, AI assistants, or generation UIs for brand compliance./pf-color-scanFind raw color values (hex, rgb, hsl) in code and suggest PatternFly design token replacements. Use when auditing stylesheets for hardcoded colors or enforcing token compliance./pf-css-token-checkDetect hardcoded color, spacing, typography, border radius and shadow values that have PF token equivalents and suggest the correct design token replacements. Works on CSS, SCSS, CSS-in-JS, and inline styles. Use when auditing stylesheets for hardcoded values, enforcing design token compliance, or refactoring styles to use PatternFly tokens./pf-figma-token-checkAudit designs against the PatternFly 6 token architecture and bridge Figma styles to PF semantic tokens. Use when validating token usage, mapping Figma variables to PF tokens, or checking designs for token compliance./pf-glass-checkImplement and audit PatternFly Glass Mode screens using the Glass Mode handbook. Use whenever a user mentions Glass Mode while building, generating, editing, or reviewing PatternFly screens, UIs, or prototypes, including Project Felt with glass. Prevent nested glass, preserve default card styling with optional isPlain, and apply accessibility and background image rules from the start./pf-icon-finderIdentify PatternFly icons in design mockups and provide the correct React import statements. Use when implementing a design, verifying icon usage in a prototype, or finding the correct icon imports for React components.npx claudepluginhub rh-uxd/ai-helpers --plugin pf-design-auditOther plugins' skills for the same job