/pf-code-review:pf-reviewfrom pf-code-review
Orchestrates all PatternFly compliance checks — imports, components, colors, legacy CSS, and security — into a unified report with deduplicated findings and prioritized actions.
Ships in pf-code-review. 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.
Orchestrate all PatternFly compliance sub-skills against a project and produce a unified report. This skill invokes validation and conditional checks from across PF plugins, deduplicates findings, and delivers a prioritized action list.
Read package.json in the project root. If no @patternfly/* dependencies exist, stop immediately — no PatternFly checks apply. Report that the project is not a PatternFly project and exit.
@patternfly/* dependencies exist in package.json.tsx, .jsx, .css, and .scss files. If none exist, report that no auditable files were found and exit.When code files exist, invoke each of these skills using the Skill tool:
| Skill | What it checks |
|---|---|
/pf-import-check | Import paths across @patternfly/* packages |
/pf-component-check | Component nesting, wrapper hierarchies, layout composition |
/pf-color-scan | Hardcoded hex/rgb/hsl values that should use design tokens |
/pf-css-migration-scan | Legacy CSS classes from older PF versions |
/pf-security-scan | XSS, unsanitized user input, insecure href patterns |
Invoke each skill in sequence. Pass the same target directory or files to each. If a sub-skill is unavailable or returns an error, continue with the remaining skills and note the skip in the report. Collect all findings before moving to conditional skills.
Check each condition against the current project context. Invoke only the skills whose conditions are met:
| Skill | When to invoke |
|---|---|
/pf-component-reuse-check | Custom components that may overlap PatternFly APIs |
/pf-css-token-check | Inline styles with hardcoded spacing, font sizes, or border values |
/pf-test-gen | Components exist without corresponding test files |
/pf-figma-check | Figma URLs are in the conversation |
/pf-figma-token-check | Figma URLs are in the conversation |
/pf-icon-finder | Figma mockups contain icons to identify |
/pf-project-gen | User is scaffolding a new project |
/pf-ai-audit | Feature involves AI-powered UX (chatbots, assistants, generation) |
After all skills complete, produce a unified report:
## PatternFly Compliance Report
**Scanned:** [N] files | **Skills invoked:** [list]
### Errors
- [SKILL] file/path.tsx:42 — [description]
Fix: [recommended action]
### Warnings
- [SKILL] file/path.tsx:18 — [description]
Fix: [recommended action]
### Info
- [SKILL] [description]
---
## Prioritized Action List
1. [highest severity, lowest effort first]
2. ...
eval/cases/non-pf-gate/annotations.yaml (opens in a new tab)eval/cases/non-pf-gate/input.yaml (opens in a new tab)eval/cases/non-pf-gate/package.json (opens in a new tab)eval/cases/pf-full-review/annotations.yaml (opens in a new tab)eval/cases/pf-full-review/input.yaml (opens in a new tab)eval/cases/pf-full-review/package.json (opens in a new tab)eval/cases/pf-full-review/src/components/StatusCard.tsx (opens in a new tab)eval/cases/pf-testing-gap/annotations.yaml (opens in a new tab)eval/cases/pf-testing-gap/input.yaml (opens in a new tab)eval/cases/pf-testing-gap/package.json (opens in a new tab)eval/cases/pf-testing-gap/src/components/AlertBanner.tsx (opens in a new tab)eval/eval.yaml (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub rh-uxd/ai-helpers --plugin pf-code-review5 skills in this plugin
/pf-adversarial-reviewReview PatternFly React components for unhandled edge cases and missing defensive code. Use when auditing components for production readiness or stress-testing before a release./pf-i18n-auditAudit PatternFly React code for i18n readiness — hardcoded user-facing strings, concatenation anti-patterns, locale-dependent formatting, and RTL-unsafe CSS. Use when reviewing code for global deployment or auditing i18n compliance./pf-security-scanScan PatternFly React code for security anti-patterns — XSS via dangerouslySetInnerHTML, unsanitized user input in tooltips/labels, and insecure href patterns. Use when reviewing PF code for security vulnerabilities or auditing user-controlled content in PF components./pf-state-auditAudit PatternFly React components for missing UI states — loading, error, empty, and unauthorized. Use when reviewing data-dependent components or auditing a page for production readiness.Other plugins' skills for the same job