什麼是 component-refactoring?
在前端重構高複雜性的 React 元件。當使用者要求程式碼分割、鉤子提取或降低複雜性時,或當您遇到過於複雜而無法理解和重構的元件時,請使用。 來源:pageai-pro/ralph-loop。
在前端重構高複雜性的 React 元件。當使用者要求程式碼分割、鉤子提取或降低複雜性時,或當您遇到過於複雜而無法理解和重構的元件時,請使用。
透過命令列快速安裝 component-refactoring AI 技能到你的開發環境
來源:pageai-pro/ralph-loop。
Refactor high-complexity React components with the patterns and workflow below.
When: Component has complex state management, multiple useState/useEffect, or business logic mixed with UI.
Dify Convention: Place hooks in a hooks/ subdirectory or alongside the component as use- .ts.
在前端重構高複雜性的 React 元件。當使用者要求程式碼分割、鉤子提取或降低複雜性時,或當您遇到過於複雜而無法理解和重構的元件時,請使用。 來源:pageai-pro/ralph-loop。
為搜尋與 AI 引用準備的穩定欄位與指令。
npx skills add https://github.com/pageai-pro/ralph-loop --skill component-refactoring在前端重構高複雜性的 React 元件。當使用者要求程式碼分割、鉤子提取或降低複雜性時,或當您遇到過於複雜而無法理解和重構的元件時,請使用。 來源:pageai-pro/ralph-loop。
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/pageai-pro/ralph-loop --skill component-refactoring 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/pageai-pro/ralph-loop