What problem does it solve? Migrating an existing frontend application from UI libraries like MUI, Chakra UI, shadcn/ui, or Bootstrap to SGDS web components involves many coordinated changes: component swaps, event handler rewrites, test infrastructure updates, and CSS utility replacements. This Skill provides a structured four-phase workflow that prevents common pitfalls such as Tailwind preflight conflicts, Shadow DOM test failures, and inconsistent React wrapper usage. ## Core Features & Use Cases - Stack Scanning: Analyze a React codebase with the included Python script to identify UI library dependencies, component usage, and test coverage, producing a JSON migration plan. - Library-Specific Mappings: Reference guides map components and props from MUI, Chakra UI, shadcn/ui, and sgds-react v2 to their SGDS web component equivalents with before/after code examples. - Test Migration Paths: Choose between Vitest + Playwright browser testing (full Shadow DOM support) or patching an existing Jest/RTL suite with polyfills for ElementInternals, slots, and animations. - Use Case: A team with a React app built on Material UI needs to adopt the Singapore Government Design System. The Skill scans the codebase, guides SGDS installation with correct font and CSS import order, migrates Jest tests to handle Shadow DOM, and replaces MUI sx props with sgds: utility classes. ## Quick Start Ask the assistant to migrate your React project from Material UI to SGDS web components, starting with a scan of your current frontend stack.