react-refactor
About
This skill refactors large React components (300+ lines) into a structured project by splitting them into shared components, page-level components, and shared types. It follows opinionated conventions, prefers Material UI, and aims for a balanced, maintainable codebase by avoiding both oversized files and over-splitting. Use it when a component mixes layout, logic, and data fetching into a single, unwieldy file.
Quick Install
Claude Code
Recommendednpx skills add TravisBumgarner/claude-brain -a claude-code/plugin add https://github.com/TravisBumgarner/claude-braingit clone https://github.com/TravisBumgarner/claude-brain.git ~/.claude/skills/react-refactorCopy and paste this command in Claude Code to install this skill
GitHub Repository
Frequently asked questions
What is the react-refactor skill?
react-refactor is a Claude Skill by TravisBumgarner. Skills package instructions and resources that Claude loads on demand, so Claude can perform react-refactor-related tasks without extra prompting.
How do I install react-refactor?
Use the install commands on this page: add react-refactor to Claude Code as a plugin, or clone its repository into your skills directory, then restart Claude so it picks up the skill.
What category does react-refactor belong to?
react-refactor is in the Design category, tagged react, ai and design.
Is react-refactor free to use?
Yes. react-refactor is listed on AIMCP and free to install. It runs inside Claude, so no separate service account is required to use the skill itself.
Related Skills
Use the executing-plans skill when you have a complete implementation plan to execute in controlled batches with review checkpoints. It loads and critically reviews the plan, then executes tasks in small batches (default 3 tasks) while reporting progress between each batch for architect review. This ensures systematic implementation with built-in quality control checkpoints.
This skill dispatches a code-reviewer subagent to analyze code changes against requirements before proceeding. It should be used after completing tasks, implementing major features, or before merging to main. The review helps catch issues early by comparing the current implementation with the original plan.
This skill provides a comprehensive guide for developers to connect MCP servers to Claude Code using HTTP, stdio, or SSE transports. It covers installation, configuration, authentication, and security for integrating external services like GitHub, Notion, and custom APIs. Use it when setting up MCP integrations, configuring external tools, or working with Claude's Model Context Protocol.
This skill helps developers choose between Claude Code Web and CLI interfaces based on task analysis, then enables seamless session teleportation between these environments. It optimizes workflow by managing session state and context when switching between web, CLI, or mobile. Use it for complex projects requiring different tools at various stages.
