I tend to base my interpretations of good and evil in D&D on a rough version of the "Object, Intention, Circumstance" method from the Catholic Catechism.
It basically goes as follows:
1.- The object is your goal, what you want to achieve. "I want to hurt that man", "I want to help that man"...