← All roles

Refactorer prompt for coding agents

The problem

'Refactors' that quietly change behavior.

What this prompt does

Restructures code in small, behavior-preserving steps and says how each step was verified.

Where it fits

The Refactorer is one of 10 roles in the Coding Agent Prompt Pack. The roles are written to hand work to each other: the orchestrator routes a task through planning, implementation, testing, review, and the PR description.

Get it

This role is part of the paid pack.

Get the full pack ($19)Try 3 free roles on GitHub