Skip to content
#3590 Overall#562 in CodingVerified SKILL.md

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.

DeepSeek HarnessSKILL.md
0Total downloads
0Active installs
338Community stars
Momentum rank

Overview

What It Does

Component Refactoring packages a focused coding & development workflow for an AI agent. 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. It is best suited to users who can review the resulting actions and provide only the accounts, files, or command access needed for the task. It is not a substitute for human approval on destructive, financial, security-sensitive, or public-facing actions.

Task ideas

Popular Use Cases

  • Review and improve a code change
  • Automate a repeatable development task
  • Investigate failures and prepare a fix
  • Work with repositories and developer tooling

Installation

Install this Agent Skill

DeepSeek Harness

npx -y @deepseek-ai/dsh plugin --profile web add github:Charlie85270/Dorothy

Commands derived from the public GitHub SKILL.md record. Checked 2026-09-02. Review the source before running them.

Before you start

Requirements

DeepSeek HarnessRequired / review
Public SKILL.md sourceRequired / review
Review instructions and requested permissions before installationRequired / review
Paid serviceCheck source
Supported systemCheck source

Popularity context

Why It’s Popular

Component Refactoring is a verified Agent Skill from Charlie85270 with a public SKILL.md, compatible with DeepSeek Harness.

Alternatives

Similar Skills