Installs into .claude/skills of the current project.
Are you the author of Cleanup Refactor?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/david-li0406-cleanup-refactor)
---
name: cleanup-refactor
description: "Simplify code and remove legacy/backcompat shims while preserving behavior. Use when asked to clean up or simplify code."
---
# Cleanup Refactor
## Workflow
- Identify legacy shims, redundant helpers, or dead code in the target paths.
- Simplify or remove while keeping behavior stable and the diff minimal.
- Avoid unrelated refactors; focus on the requested cleanup.
- Summarize what was removed and why it is safe.