Coding
Intermediate
7 min read
已更新 2026-10-09
I let Cursor clean a function I was ashamed of
It rewrites more than you ask. The skill is reviewing the diff like a senior you don't fully trust.
I treat every claim as load-bearing until the source proves it.
It rewrites more than you ask. The skill is reviewing the diff like a senior you don't fully trust.
Select the function and ask for one change, not 'improve.' 'extract the validation' beats 'make it clean.'
Read the diff before you accept; it once deleted a guard clause I needed.
Commit after each small fix so a bad rewrite is one undo, not a panic.
The catch the result was a thing I actually use, not a screenshot I forget.