bycharlie85270· 4 skills
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.
$npx -y skills add charlie85270/dorothy --skill component-refactoringInstalls into the current project.
Run `npx skills use "https://github.com/charlie85270/dorothy" --skill "charlie85270/dorothy/component-refactoring"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/charlie85270/dorothy" that are relevant to the current task. Run `npx skills add "https://github.com/charlie85270/dorothy"` and select the relevant skills, then follow their instructions.