Restructure code without changing behaviour: extract functions, rename, remove duplication and simplify. Use when asked to clean up, simplify or reorganise code.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Refactor?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/diazoxide-refactor)
---
name: refactor
description: Restructure code without changing behaviour: extract functions, rename, remove duplication and simplify. Use when asked to clean up, simplify or reorganise code.
---
Follow the request with ordinary care. (A synthetic skill of the CI grader's crowd fixture: only its name and description are measured.)