Answer:
It's all in your head. ...
Context is key. ...
Applicable music theory. ...
Memorize all key signatures. ...
Understand how chords are constructed and where they fit in a key. ...
Be able to instantly name any interval from any root note. ...
Practice this exercises to develop essential music theory.