I keep pre-written text in my Bookmarks. When I encounter a question like you describe, it's usually a noob. I remember what that was like, but it's easy to get frustrated at a perceived lack of effort, so if I don't even want to bother with it, I give them the text.
It welcomes the noob to Stack Overflow and suggests a process for asking questions:
- Google
- Refine/Add question
- Refine/Add code
- Make the error stick out
- Make your question stick out
- Cite other posts
- Say what you've tried and why it didn't work
I take out things they already have, and explain things they're missing. Or, if the question is too far gone, I just leave the text as a comment, and flag it.
They should teach Stack Overflow in college. It's hard to figure out what a "good" question is. Maybe the expectations are obvious in Silicon Valley, but not where I'm from. It took me a lot of time, sadness and frustration to figure it out. And I still don't have any "great" questions.
Write it when you're in a good mood. Put links to posts that helped you learn, updated it when you find something new. It's easy to get frustrated when it seems like a noob didn't even search Google before posting a question, but if you know you can't be nice, just give 'em the text. Besides, the question's going to get closed anyway, and all you have to do is a quick copy and paste. Hell, you could even write an AutoHotKey script to do it for you.
A kind comment can go a long way to help someone become a better user. A lot of people don't fully understand what SO is, and a lot are intimidated because it seems like public speaking. Yes, its frustrating to get crappy questions, but the fact that they're trying to understand shouldn't be discouraged.
Flag
would be the right solution?