# Refactoring

> λ refactor(x).

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

---


λ refactor(x).
clean(x)
| compatibility_shims → permit(temporary) ∧ remove(before_completion)
| tests → reflect(refactored_code)
| minimize(namespace_dependency_tree) → prefer(tree) ∧ avoid(general_graph)
| maximize(orthogonality)

