Well personally I don't worry about this, so I don't have a step by step tutorial or anything.
Off the top of my head, it depends on a few things. For a platform like drupal, often times there is a number in the URL. If the post you just made is #3,000,000, you should stay away. If it's # 200, it's ok.
If the platform you are targeting does not have a visual cue as to the state of its spamminess, then you could do a site:domain.com search combined with spam anchor texts. site:domain.com "payday loans" for example.
You could easily automate the 2nd example for a large amount of domains. Just use a few different well known spam keywords, and then anything that ends up with results should probably be removed from your SER list. This can all be automated.