Skip to content

pf-component-reuse-check

Detects custom React components in newly created or modified (uncommitted) code that overlap with PatternFly React components, suggests the PatternFly equivalent, and can replace the custom component then build to verify. Use when creating UI components, reviewing uncommitted React changes, or when the user asks to prefer PatternFly instead of a custom component.

Plugin: pf-react | User-invocable

Usage

/pf-component-reuse-check