Toolverse
All skills

component-refactoring

by langgenius

Refactor high-complexity React components in Dify frontend. Use when `pnpm analyze-component --json` shows complexity u003e 50 or lineCount u003e 300, when the user asks for code splitting, hook extraction, or complexity reduction, or when `pnpm analyze-component` warns to

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Category
Frontend
GitHub stars
158,229
Views
34

About this skill

Refactor high-complexity React components in Dify frontend. Use when pnpm analyze-component --json shows complexity u003e 50 or lineCount u003e 300, when the user asks for code splitting, hook extraction, or complexity reduction, or when pnpm analyze-component warns to refactor before testing; avoid for simple/well-structured components, third-party wrappers, or when the user explicitly wants testing without refactoring.

Related skills