Skip to main content
Run any Skill in Manus
with one click

component-refactoring

Refactor high-complexity React components in Dify frontend. Use when `pnpm analyze-component --json` shows complexity > 50 or lineCount > 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.

Overview

Refactor high-complexity React components in Dify frontend. Use when `pnpm analyze-component --json` shows complexity > 50 or lineCount > 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.

Install command
npx skills add https://github.com/langgenius/dify --skill component-refactoring

Copy and paste this command into Claude Code to install the skill

Stars143,731
Forks22,616
UpdatedMay 11, 2026 at 03:52
File Explorer
4 files
SKILL.md
readonly