I worked at a place one that had a style guide for the main front-end language used with links to terrible things that had happened as a result of breaking the style guides rules.
It was surprisingly effective, so I completely agree with you on the story-telling.