The whole idea of mindfulness is all about having a second-level monitoring of your thoughts and being able to recognize them as being negative or harmful before they become a part of your being, before they become some kind of action like writing an angry letter to someone or speaking too strongly to someone.