SKILL·5C4C03

refactoring-codebase

itsmeAlee
Updated 1 month ago
14 views
0
View on GitHub
Designaidesign

About

This skill provides guidelines for refactoring code when components exceed 200 lines, contain repeated logic, or have overly complex props. It recommends splitting large components into sub-components and extracting logic into custom hooks while maintaining visual consistency. Use it specifically when files become difficult to read or manage, following the "Boy Scout Rule" to incrementally improve code cleanliness.

Quick Install

Claude Code

Recommended
Primary
npx skills add itsmeAlee/Tourly2 -a claude-code
Plugin CommandAlternative
/plugin add https://github.com/itsmeAlee/Tourly2
Git CloneAlternative
git clone https://github.com/itsmeAlee/Tourly2.git ~/.claude/skills/refactoring-codebase

Copy and paste this command in Claude Code to install this skill

GitHub Repository

itsmeAlee/Tourly2
Path: .agent/skills/refactoring-codebase
0
FAQ

Frequently asked questions

What is the refactoring-codebase skill?

refactoring-codebase is a Claude Skill by itsmeAlee. Skills package instructions and resources that Claude loads on demand, so Claude can perform refactoring-codebase-related tasks without extra prompting.

How do I install refactoring-codebase?

Use the install commands on this page: add refactoring-codebase 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 refactoring-codebase belong to?

refactoring-codebase is in the Design category, tagged ai and design.

Is refactoring-codebase free to use?

Yes. refactoring-codebase 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

executing-plans
Design

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.

View skill
requesting-code-review
Design

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.

View skill
connect-mcp-server
Design

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.

View skill
web-cli-teleport
Design

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.

View skill