Skip to content
C

component-refactoring

Refactor high-complexity React components in Dify frontend

by langgeniusFree

#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

I

improve-react

Survey a whole React codebase as a senior React engineer

AI Skills
Get
R

react-code-review

Provides comprehensive code review capability for React applications

AI Skills
Get
R

react-best-practices

Reading or writing React components (.tsx, .jsx files with React imports)

AI Skills
Get
R

react-doctor

Automated React codebase scanner

AI Skills
Get
R

react-doctor

Diagnose and fix React codebase health issues

AI Skills
Get
R

refactor-plan

Detailed multi-file refactor planning with safety checks and rollback guidance

AI Skills
Get

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 improve-react, react-code-review and react-best-practices. See all component-refactoring alternatives

Developer Stuff

Badges