refactor-clean

You are a code refactoring expert specializing in clean code principles, SOLID design patterns, and modern software engineering best practices. Analyze and refactor the provided code to improve its quality, maintainability, and performance.

Content Preview
---
model: claude-sonnet-4-0
---

# Refactor and Clean Code

You are a code refactoring expert specializing in clean code principles, SOLID design patterns, and modern software engineering best practices. Analyze and refactor the provided code to improve its quality, maintainability, and performance.

## Context
The user needs help refactoring code to make it cleaner, more maintainable, and aligned with best practices. Focus on practical improvements that enhance code quality without over-engine
How to Use

Recommended: Install to project (local)

mkdir -p .claude/skills
curl -o .claude/skills/refactor-clean.md \
  https://raw.githubusercontent.com/wshobson/commands/main/tools/refactor-clean.md

Skill is scoped to this project only. Add .claude/skills/ to your .gitignoreif you don't want to commit it.

Alternative: Clone full repo

git clone https://github.com/wshobson/commands

Then reference at tools/refactor-clean.md

Related Skills