OK, Can we have some site approved canned comments
There is nothing that can be posted in reply to a question that cannot be perceived as hostile except, (mostly), a comprehensive answer.
The 'becaus.se' links do point a valuable information, helpful for debugging etc, but that is not what many users want: anything except an answer is automatically hostile.
SO curators don't want to attach their username to any 'you should improve your post' comments because they don't want to be mugged by flagging, 'Contact us' emails or, worst, blog & tattler.
If there are to be 'approved' canned comments, they should be anonymous to ordinary users, eg: 'postXXXX', and the real username only available to CM/mods. That prevents direct counter-attacks, eg. from enraged users who cannot hand in 'their' homework because no answer is forthcoming from the drone army.
match the new CoC and welcoming?
The cans should, as far as reasonably possible, contain only factual information/advice. No 'Welcome to SO', no 'You can Google this in 5 secs'. Just facts/advice. Just like compiler/linker error messages and warnings. Those tools are what programmers absolutely have to deal with and so, if OP's object to comments of a similar style, they are on very shaky ground anyway if they try to claim hostility - they are effectively claiming they cannot handle the required tools to program computers.
In a humorous post, I suggested 'error message' comments like:
Error #01, requirementDump detected in paragraph 1, question-handling
terminated with action downClose vote
Error #02, homeworkDump detected in paragraph 1, question-handling
terminated with action downClose vote
Error #03, basicBadSyntax detected in paragraph 1, question-handling
terminated with action downClose vote
Error #04, FAQduplicate detected in paragraph 1, question-handling
terminated with action downClose vote
Error #05, multipleDuplicate detected in paragraph 1,
question-handling terminated with action downClose vote
Error #06, noResearch detected in paragraph 1, question-handling
terminated with action downClose vote
Error #07, missingInputData detected in paragraph 1, question-handling
terminated with action downClose vote
Error #08, missingErrorMessages detected in paragraph 1,
question-handling terminated with action downClose vote
Error #09 missing outputData in paragraph 1, question-handling
terminated with action downClose vote
Error #0A noDebugDetails detected in paragraph 1, question-handling
terminated with action downClose vote
Error #0B missingDebugDetails detected in paragraph 1,
question-handling terminated with action downClose vote
Error #0C gimmeTehCodez detected in paragraph 1, question-handling
terminated with action downClose vote
Such comments would likely cause an uproar in that form, sure, but it is exactly those kind of comments that are defendable as 'not hostile' on a site for software developers.
Canned comments should be more human-readable, sure, but the same aim should be there - information and explicit advice only. Defluffed and detoxed all avoidable redundancy removed.
[EDIT] after reading the other non-canned comments on this question, there should be a restriction to one canned comment per question, so staving off the 'hostile curators keep piling on' moans.
Possible examples for explaining downvotes and giving advice:
Copy/paste into your question the complete error-message.
Highlight in your code which line caused the first syntax error with '// <<
here'
Use a debugger to detect which line raised the segfault/AV and
highlight in your code with '// << here'
Google language name followed by your exact title
Compile and run it
Show command-line used to run it
Show full output from the run
Canned comments to explain upvotes are more problematic:(