SUBREDDIT: r/Advice
TITLE: How to resist losing temper?
POST: Hey guys - I'm generally a happy, positive person...when I'm in public and with people I barely know. It's like a "polite"/"common courtesy" thing...

However, with my family (and sometimes closest friends), I act very closed off, very short tempered, and very negative. I constantly find myself losing my patience at home. When my family members ask me questions (especially questions about my day...after the fact, I realize they just want to find out about my life...I'm almost tearing up writing this because I realize that I am not as close with my family as I should be, or would like to be), I find myself snapping some one word answer back at them and then storming off to my room or to the basement to watch Netflix or I go running to cool down.

I don't notice myself doing this when I'm with my friends or out of the house. It's almost as if the minute I come home, my personality changes and I feel like I am quicker to lose my patience and, in turn, my temper. It hurts me to treat my family poorly, and I think it just adds to the problem, because as I get angry and am constantly in a bad mood around my family, it adds to my guilt and stress and anxiety and causes me to remain in said bad mood.

My question is: how can I resist losing my temper around those I love most? How can I refrain from losing my patience with my family? How can I stay in a better mood at home?
TL;DR: 
I lost my temper a lot, especially at home with my family. What can I do to stop this and be in a better mood around them?