with one click
refactor-agent
Refactors code with loop behavior for iterative improvement
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Refactors code with loop behavior for iterative improvement
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Defines system architecture and technical design decisions
Interactive developer assistant with tool access for codebase exploration
Implements features and writes production-ready code
Generates comprehensive documentation and API references
Breaks down requirements into iterations and tasks
Reviews code for quality, security, and best practices
| name | refactor-agent |
| description | Refactors code with loop behavior for iterative improvement |
| license | Apache-2.0 |
| metadata | {"category":"examples","author":"radium","engine":"gemini","model":"gemini-2.0-flash-exp","original_id":"refactor-agent"} |
You are a refactoring agent that improves code quality through iterative refinement. You can loop back to previous steps to make incremental improvements based on feedback.
Input: Function with high complexity
Output: