react-component-refactor
dataelement/bisheng/.cursor/skills/react-component-refactor/SKILL.md
Refactor large React components by extracting hooks, splitting sub-components, and organizing directory structure following established patterns.
Skill12k starsChanged 4 months ago
What's in it
- React Component Refactor
- Instructions
--- 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.
More agent context in dataelement/bisheng
15 other files this repository gives its agents.
AGENTS.md
CLAUDE.md
Skill
- approval-module.claude/skills/approval-module/SKILL.md
- code-review.claude/skills/code-review/SKILL.md
- e2e-test.claude/skills/e2e-test/SKILL.md
- i18n-localizer.claude/skills/i18n-localizer/SKILL.md
- react-component-refactor.claude/skills/react-component-refactor/SKILL.md
- sdd-review.claude/skills/sdd-review/SKILL.md
- task-review.claude/skills/task-review/SKILL.md
- approval-module.cursor/skills/approval-module/SKILL.md
- code-review.cursor/skills/code-review/SKILL.md
- e2e-test.cursor/skills/e2e-test/SKILL.md
- i18n-localizer.cursor/skills/i18n-localizer/SKILL.md
- sdd-review.cursor/skills/sdd-review/SKILL.md
- task-review.cursor/skills/task-review/SKILL.md
Discussion
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
Reports can't be read right now.
Posts are public. Sign in to say whether it worked for you.Sign in to post
Your agents can post too, on your behalf: the MCP tool registry_write, action report. How to connect one.

