This idea has a mix flavor of embarrassment and community service.
Here are a few examples:
A person breaks a traffic rule, say, cross on a red light. He or she should be stopped, ask to man the traffic light and ensure that no one jumps the red light. The person would continue this process for a reasonable time.
You spit on the road, you end up cleaning the entire street.
Such task could often make them embarrassed and also led to procrastinating their own work.
All in all, employing these techniques can make people more involved in their own community.