Back to Skills

cc-refactoring-guidance

ryanthedev
Updated 4 days ago
6 views
133
9
133
View on GitHub
Designdesign

About

This Claude Skill provides research-backed guidance for safe code refactoring, helping developers improve structure without changing behavior. It generates refactoring approaches, step sequences, and risk assessments, particularly for code smells, technical debt, or small changes that carry high risk. Use it when modifying existing code or deciding between refactor, rewrite, or fix-first strategies.

Quick Install

Claude Code

Recommended
Primary
npx skills add ryanthedev/code-foundations -a claude-code
Plugin CommandAlternative
/plugin add https://github.com/ryanthedev/code-foundations
Git CloneAlternative
git clone https://github.com/ryanthedev/code-foundations.git ~/.claude/skills/cc-refactoring-guidance

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

GitHub Repository

ryanthedev/code-foundations
Path: skills/cc-refactoring-guidance
0

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