ui-refactor-specialist

Scan React projects to identify UI refactoring opportunities and generate a structured report.

3|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/gwpjp/Web3-Claude --skill ui-refactor-specialist
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ui-refactor-specialist
Source: https://github.com/gwpjp/Web3-Claude/tree/main/.claude/skills/ui-refactor-specialist
Command: npx skills add https://github.com/gwpjp/Web3-Claude --skill ui-refactor-specialist

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill identifies UI refactoring opportunities by scanning code and producing a structured report.

Core Features & Use Cases

  • Detects duplicate JSX patterns across src/components and src/pages
  • Replaces raw MUI components with Common components to standardize styling
  • Generates a detailed refactoring report for traceability and review

Quick Start

Run the UI Refactor Specialist after finishing UI work to scan your React codebase and generate a refactoring report.

Frequently Asked Questions about ui-refactor-specialist

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect duplicate JSX patterns in my React codebase?

To detect duplicate JSX patterns in your React codebase, you can scan the src/components and src/pages directories to identify repeated UI structures and generate a structured refactoring report for review.

What is the best way to replace raw MUI components with common components in React?

Replacing raw MUI components involves scanning your project to identify raw MUI usage and substituting them with standard Common components, adhering to established component patterns to standardize styling across your application.

Does the UI refactoring report require any specific project structure or dependencies?

Yes, UI refactoring requires a React project structured with src/components and src/pages directories, alongside access to project guidance and component conventions stored in the .claude/docs folder.

Can I standardize React styling automatically after finishing UI work?

You can standardize React styling by running a post-development scan that identifies raw MUI components and duplicate JSX, replacing them with standardized Common components to ensure consistent styling.

When do I need to generate a refactoring report for traceability?

You need to generate a refactoring report for traceability after completing UI work, as it documents identified duplicate JSX patterns and raw MUI replacements to standardize styles for later review.

Why should I extract common components from duplicate JSX in React?

Extracting common components from duplicate JSX in React standardizes styling by replacing raw MUI elements and consolidating repeated structures, which improves code quality and maintains consistent design patterns.