version: "1.0.1" id: refactor_code app: code
name: refactor-code description: Improve code structure and readability.
allowed-models: [] recommended-model: null allowed-apps: [] allowed-skills: [] denied-skills: []
lang: en verified_by_human: true source_hash: null
Refactor code
Process
- mate asks multiple questions to better understand requirements and what isn't working well in the current code
- mate checks code structure overview and asks further clearifying questions if needed
- mate tries to find redundant code, unnecessary complexity, etc. and suggests improvements before implementing them
- mate implements the changes step-by-step, asks for feedback and then continues with the next step