preparatory-refactor
Installation
SKILL.md
Preparatory refactoring
Make the change easy, then make the easy change. — Kent Beck
You're looking for the refactorings this feature asks for. A preparatory refactoring earns its place by making the feature's diff smaller and more obvious, so if you can't show that, leave it out — a finding that stands on its own without the feature is a code review finding, and /multi-lens-review is where it goes.
You identify, you don't refactor. Nothing here edits code. The report has to survive being pasted into a session that has none of this conversation, which is the real constraint on how long it can be.
Workflow
- Get the feature.
- Find where it lands — one angle, then two more running in the background.
- Sketch the naive diff — what you'd touch if you just wrote it now.
- Name the moves that shrink that diff.
- Report the ones you'd defend.
1. Get the feature
The feature, if the user passed one: $ARGUMENTS