关于
The Dify Component Refactoring skill is a specialized toolset for Claude Code designed to manage technical debt in large-scale React applications. It utilizes specific commands like `pnpm analyze-component` to detect components exceeding maintenance thresholds—such as 300 lines of code or a 50+ complexity score—and guides the AI through systematic refactoring. By applying proven patterns like custom hook extraction, sub-component splitting, and React Query integration, it transforms monolithic files into clean, testable, and Dify-standardized codebases.