Perform a refactor pass focused on simplicity after recent changes. Use when the user asks for a refactor/cleanup pass, simplification, or dead-code removal and expects build/tests to verify behavior.
Installation
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Perform a refactor pass focused on simplicity after recent changes. Use when the user asks for a refactor/cleanup pass, simplification, or dead-code removal and expects build/tests to verify behavior.
Refactor Pass
Workflow
Review the changes just made and identify simplification opportunities.
Apply refactors to:
Remove dead code and dead paths.
Straighten logic flows.
Remove excessive parameters.
Remove premature optimization.
Run build/tests to verify behavior.
Identify optional abstractions or reusable patterns; only suggest them if they clearly improve clarity and keep suggestions brief.