Slash Command272 repo starsupdated 10mo ago
refactor
Refactor code for better structure and maintainability
Install in Claude Code
Copymkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/arnaldo-delisio/claude-code-studio/HEAD/commands/refactor.md -o ~/.claude/commands/refactor.mdThen start a new Claude Code session; the slash command loads automatically.
Definition
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.
More from this repository
api-docsSlash Command
Launch the API documentation specialist for OpenAPI specs
apiSlash Command
Launch the API development agent for backend implementation
contentSlash Command
Alternative command for content creation
debugSlash Command
Debug an error or issue
deploySlash Command
Alternative command for DevOps deployment tasks
devopsSlash Command
Launch the DevOps specialist for CI/CD and deployment
documentSlash Command
Generate or update documentation
frontendSlash Command
Launch the frontend development agent for UI implementation