Skip to main content

react-component-refactor

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

Informations de source

Dépôt
dataelement/bisheng
Dernière activité de la source
15 avril 2026 à 07:54
Langue détectée de SKILL.md
anglais
Étoiles
12 191
Forks
2 010

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.

Explorateur de fichiers
3 fichiers

Affichage de SKILL.md

SKILL.md
Instructions source · Aperçu en lecture seule
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.
Voir sur GitHub