This question already has an answer here:
It seems I've fallen out of touch with closure options for "give me the codez" style questions; however, from the close dialog under off-topic because... I recall there being options such as:
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results.
Then there was:
Questions must demonstrate a minimal understanding of the problem being solved. Tell us what you've tried to do, why it didn't work, and how it should work. See also: Stack Overflow question checklist.
Questions concerning problems with code you've written must describe the specific problem and include valid code to reproduce it. See SSCCE.org for guidance.
Is there new sentiment within the community regarding closing these questions; or, what appropriate closure action should be taken?
Questions without code, failing to isolate an example fit well within:
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
However, I'm asking for best practice responding to questions that read like a specification document listing requirements or "I'm new to programming" questions with wide scope such as this, this, or this.