Skip to main content
ClaudeWave
Slash Command272 repo starsupdated 10mo ago

refactor

Refactor code for better structure and maintainability

Install in Claude Code
Copy
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/arnaldo-delisio/claude-code-studio/HEAD/commands/refactor.md -o ~/.claude/commands/refactor.md
Then start a new Claude Code session; the slash command loads automatically.

refactor.md

Use the refactor agent to improve code structure and maintainability for: $ARGUMENTS. Apply clean code principles, design patterns, and best practices while preserving all functionality.