If someone spams me, I will ignore or retaliate by reporting as spam. If someone sends a low effort question, I might politely tell them to rtfm. If someone makes an effort to articulate a problem, even if I disagree, I’ll try to give them a reasoned response.
And if I genuinely have no interest in any interaction I’ll make sure to disable issues/comments or otherwise communicate this intent.