Milko Slavov published great tip on how to change the plan of claude code.
First you need to configure claude code to use vscode as an editor
export VISUAL="code --wait"Then when you see the plan you can
press ctrl-g — opens the plan in VS Code and select the text which you disagree with.
Then press ctrl+shift+’ which will wraps it in an annotation block with space for your feedback
Here is the rest of the setup for vscode
Cmd+Shift+P -> Configure Snippets -> Markdown (markdown.json)
"Annotate Selection": {
"prefix": "annotate",
"body": ["<!-- COMMENT", "> ${TM_SELECTED_TEXT}", "", "$1", "-->$0"]
}Cmd+Shift+P -> Keyboard Shortcuts (JSON) (keybindings.json):
{
"key": "ctrl+shift+'",
"command": "editor.action.insertSnippet",
"args": { "name": "Annotate Selection" },
"when": "editorTextFocus && editorLangId == markdown"
}Then you will be able to write your comments in the <-!– comment –> section.
if you like it you can check also this claude plugin, where you can also share your plan for PR with your colegues