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.
Copy it into your skills folder
Download the repo
Copy: Download the repogit clone --depth 1 https://github.com/Charlie85270/Dorothy.git /tmp/Charlie85270-DorothyCopy the skill folder
Copy: Copy the skill foldermkdir -p ~/.claude/skills && cp -R /tmp/Charlie85270-Dorothy/.agents/skills/component-refactoring ~/.claude/skills/component-refactoringFor one project only, copy it to .claude/skills/component-refactoring in that project instead. Claude Code picks up new skills while it runs; if it doesn't show, run /reload-skills.
Then ask Claude for what it does: it loads the skill when your request matches the description. Or call it directly with /component-refactoring.
See which of your apps makes money
- Revenue from Stripe, Paddle and others next to visits, per app
- Search Console and the analytics you already use, on one screen
- Which channel your paying customers came from

From its SKILL.md
Refactor high-complexity React components in the Dify frontend codebase with the patterns and workflow below. > Complexity Threshold: Components with complexity > 50 (measured by pnpm analyze-component) should be refactored before testing.