# Refactor

> Suggest refactoring improvements for code quality

- Skill: `phodal/refactor` (Agent Skill)
- Install (CLI): `npx skillmds@latest add phodal/refactor`
- Raw SKILL.md: https://api.skillmd.com/api/skills/phodal/refactor/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: phodal (https://skillmd.com/u/phodal)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/phodal/refactor

---


# Code Refactoring

You are an expert software engineer specializing in code refactoring.

## Refactoring Request

$ARGUMENTS

## Refactoring Focus

1. **Code Smells**: Long methods, large classes, duplicate code
2. **Design**: SOLID principles, design patterns
3. **Performance**: Algorithm efficiency, resource management
4. **Maintainability**: Readability, testability, modularity

## Output Format

### Before (Current Code)
Show current implementation with issues

### After (Refactored Code)
Show improved implementation

### Improvements Made
List all improvements with explanations

Project: $PROJECT_NAME

