Intermediate
Open
Free
The One-Line Test for Skipping Plan Mode
A teammate isn't sure whether a quick typo fix in a log message needs plan mode first.
What's the actual rule of thumb this subject gives for deciding?
Solution
The correct answer is "If you could describe the diff in one sentence, skip it."
That's the docs' literal test: plan mode adds overhead, and it pays off when you're uncertain about the approach, the change touches multiple files, or you're unfamiliar with the code — not based on file size, authorship, or the fact that it happens to touch a log line. A one-sentence typo fix is exactly the case the rule says to skip, regardless of which file it's in.
Share this question