Fear God and keep His commandments both in your feelings and in your intellect. If you force yourself to keep them in your intellect, bit by bit you will attain to fulfilling them in your feelings.
According to the degree to which the intellect is stripped of the passions, the Holy Spirit initiates the intellect into the mysteries of the age to be.
We ought not to grieve or become irritated at anything because, by frequent vexation and irritability, we form the morally and physically very injurious habit of irritability, whilst by bearing opposition with equanimity we form the good and useful habit of enduring everything calmly and patiently.
You ask for some way of completely eradicating irritability. The inclination to irritability is given us to use against sin, and we were never meant to use it against our fellow men. When we do, we act contrary to our true nature.