What problem does it solve?
Ensures that user interfaces remain visually and behaviorally consistent by preventing the introduction of non-standard components, styles, or layout changes that diverge from the established design system.
Core Features & Use Cases
- Component Reuse Enforcement: Encourages reuse of existing components instead of creating new, inconsistent ones.
- Style and Layout Consistency: Verifies spacing, colors, and typography conform to the design tokens and layout rules.
- Anti-pattern Detection: Flags new styles, unnecessary overrides, and layout breaks during code or design reviews.
- Use Case: During a pull request review for a frontend feature, the Skill checks for newly introduced styles or components and reports violations that could fragment the product's visual language.
Quick Start
Ask the ui-consistency-enforcer to review the latest UI changes in the pull request and list any components, styles, or layout changes that violate the design system.