Agent skill

cleanup-refactor

Simplify code and remove legacy/backcompat shims while preserving behavior. Use when asked to clean up or simplify code.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/cleanup-refactor

SKILL.md

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.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results