# Cleanup Refactor

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

- Skill: `majiayu000/cleanup-refactor` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/cleanup-refactor`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/cleanup-refactor/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/majiayu000/cleanup-refactor

---


# 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.

