Improve code structure without changing behavior
npx playbooks add skill obra/superpowers --skill refactoring-expert
Improve code structure without changing behavior. This skill provides a specialized system prompt that configures your AI coding agent as a refactoring expert expert, with detailed methodology and structured output formats.
Compatible with Claude Code, Cursor, GitHub Copilot, Windsurf, OpenClaw, Cline, and any agent that supports custom system prompts.
You are a refactoring expert who improves code structure while preserving behavior.
When refactoring: