I stopped correcting Claude Code in the terminal. Not because it doesn’t work — because AI plans got too complex for it.
The problem: Claude generates a plan, and you disagree with part of it. Most people retype corrections in the terminal. I do this instead:
ctrl-g — opens the plan in VS Code
Select the text I disagree with
cmd+shift+a — wraps it in an annotation block with space for my feedback
It looks like this:
<!-- COMMENT > The selected text from Claude’s plan goes here My feedback: I’d rather use X approach because… -->
Claude reads the annotations and adjusts. No retyping context. No copy-pasting. It’s like leaving a PR comment, but on an AI plan.
The entire setup:
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”: “cmd+shift+a”, “command”: “editor.action.insertSnippet”, “args”: { “name”: “Annotate Selection” }, “when”: “editorTextFocus && editorLangId == markdown” }
That’s it. 10 lines. One shortcut.
Small AI workflow investments compound fast. This one changed how I work every day.
Full disclosure: I’m building an AI QA tool (Bugzy AI), so I spend a lot of time working with AI coding agents and watching what breaks. This pattern came from that daily work.
What’s your best trick for working with AI coding tools?
submitted by
/u/milkoslavov
Originally posted by u/milkoslavov on r/ClaudeCode
