react-refactor-component

Community

Refactor React components to project conventions.

Authorncaq
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill helps keep React components aligned with project conventions by identifying violations, guiding safe refactors, and improving maintainability across a codebase.

Core Features & Use Cases

  • Detects structural violations such as improper import order, multiple components per file, and non-conforming naming.
  • Facilitates staged refactoring, including extraction of subcomponents or hooks and updating imports with minimal breakage.
  • Use case: when reorganizing a large component library to improve readability and reuse across teams.

Quick Start

Execute /react-refactor-component <file-path or component-name> to begin refactoring the target component.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: react-refactor-component
Download link: https://github.com/ncaq/konoka/archive/main.zip#react-refactor-component

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.