Skip to content
C

component-refactoring

Refactor high-complexity React components in Dify frontend

by langgeniusFree

Launch
#502in AI Skills
0In stores

Description

component-refactoring is an agent skill from the Dify repository by LangGenius, listed on skills.sh. It refactors high-complexity React comp…

Highlights

  • Complexity threshold above 50 or 300 lines
  • Refactoring prompt generation
  • Testing prompts and metrics
  • Commands run from the web folder

Ratings & Reviews

No ratings yet

Be the first to rate component-refactoring.

People also visit

W

webapp-testing

Test local web applications using Playwright for UI verification and debugging

AI Skills
Launch
F

frontend-patterns

Frontend development patterns for React, Next.js, state management

AI Skills
Launch
O

orch-refine-code

Orchestrate a behavior-preserving refactor

AI Skills
Launch
R

react-patterns

React 18/19 patterns including hooks discipline

AI Skills
Launch
F

frontend-code-review

Use only when the user explicitly requests a review or audit of frontend code

AI Skills
Launch
T

tailwind-design-system

Design systems with Tailwind CSS and component libraries

AI Skills
Launch

component-refactoring FAQ

What does the component-refactoring skill do?

It refactors large or complex React components in the Dify frontend, using the project's analysis commands.

What counts as high complexity?

A complexity score above 50 or more than 300 lines, measured by pnpm analyze-component.

Where are the commands run?

From the web folder, with component paths relative to it.

How do I install it?

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

Is it free?

Yes. It is free and open source.

Are there security findings?

The skills.sh listing shows Gen Agent Trust Hub, Socket and Snyk all passing.

What are the best component-refactoring alternatives?

Popular alternatives to component-refactoring include webapp-testing, frontend-patterns and orch-refine-code. See all component-refactoring alternatives

Developer Stuff

Badges