How to review a Claude Code plan before editing a repository
Start Claude Code in Plan Mode, ask for paths and acceptance tests, then use those details to review the proposed implementation before authorizing edits.
Ask it to show where the behavior lives
From a repository you control, start an interactive session with claude --permission-mode plan. Use a bounded task. For example, ask it to trace where an importer chooses its default delimiter and identify a test that covers an explicit user override.
Ask for the file and function that own the default, the tests it expects to change or add, and one command that verifies the result. Plan Mode supports inspection and planning. The permission documentation explains how reads and other tool calls are handled.
Review the behavior before moving to implementation
Open the cited files and check the program actually uses that path. If you want to change the default, ask what happens when the user supplies a delimiter. A useful plan names both behaviors and gives a test for each.
After reviewing the plan, choose whether to proceed using the session’s edit permissions. Compare git diff against the listed files and run the tests you agreed on. We verified the flag in Claude Code 2.1.332’s local help. The importer task is an illustrative prompt.