What problem does it solve?
This Skill streamlines the process of updating React/TSX codebases by ensuring consistency with project standards, improving maintainability, and enhancing user interface quality.
Core Features & Use Cases
- Component Integration: Replaces raw HTML with pre-defined UI components from
packages/ui/src/components/ui/.
- Semantic Coloring: Migrates primitive Tailwind color classes to semantic DaisyUI color tokens for better theming.
- Style Extraction: Identifies and suggests the extraction of repetitive styling patterns into reusable components.
- Use Case: Refactor a legacy React page component that uses many raw
div and button elements with custom Tailwind classes into a version that utilizes the project's Button and Alert components, applying semantic colors like text-error instead of text-red-500.
Quick Start
Refactor the provided React component to use existing UI components and semantic DaisyUI colors.