Use when code has grown complex, has duplication, violates patterns, or needs restructuring - from code smells to architecture-level refactoring.
$curl -o .claude/agents/refactor.md https://raw.githubusercontent.com/herbertjulio/specialist-agent/HEAD/agents/refactor.mdInstalls into the current project.
Install refactor by running `curl -o .claude/agents/refactor.md https://raw.githubusercontent.com/herbertjulio/specialist-agent/HEAD/agents/refactor.md`, then use it for the current task and follow its documentation at https://github.com/herbertjulio/specialist-agent.