Skip to main content

react-component-refactor

Refactor large React components by extracting hooks, splitting sub-components, and organizing directory structure following established patterns.

来源信息

仓库
dataelement/bisheng
最近来源活动
2026年4月15日 07:54
检测到的 SKILL.md 语言
英语
星标
12,055
分支
1,977

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
3 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
react-component-refactor
description
Refactor large React components by extracting hooks, splitting sub-components, and organizing directory structure following established patterns.
# React Component Refactor This skill provides a systematic approach for refactoring complex React components. Use it when a module has overgrown files, tangled state, or unclear separation of concerns. ## Instructions 1. **Read the Guidelines**: Read `resources/GUIDELINES.md` for the complete refactoring checklist and rules. 2. **Read the Examples**: Read `resources/EXAMPLES.md` for concrete before/after patterns from real refactoring work. 3. **Execute**: Follow the guidelines to refactor the target module.
在 GitHub 查看