eisland-dev-refactor-module-split
FeaturedRefactor a monolithic React component file into a standardized module structure with components/, hooks/, utils/, and config/ subdirectories. Use this skill whenever the user asks to "split", "refactor", "拆分", "拆解", or "restructure" a component file into subdirectories, or when they mention organizing code into utils/hooks/config/components folders.
Install
Quality Score: 90/100
Skill Content
Details
- Author
- JNTMTMTM
- Repository
- JNTMTMTM/eIsland
- Created
- 5 months ago
- Last Updated
- today
- Language
- TypeScript
- License
- GPL-3.0
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
refactor
Code refactoring patterns - extract, split, restructure without changing behavior.
react-refactor-component
Refactor React components to follow project conventions. Use when reorganizing, splitting, or cleaning up existing React component files.
extract-module
Split an overgrown file into cohesive, well-bounded modules — find the natural seams, design each new module's public interface before moving a line, then relocate one unit at a time keeping tests green. Use when a file has grown too large, mixes unrelated responsibilities, or every change to it forces unrelated diffs and merge conflicts.