Yi, (simplified Chinese: 义; traditional Chinese: 義; pinyin: yì), literally "justice, righteousness; meaning," is an important concept in Confucianism. It involves a moral disposition to do good, and also the intuition and sensibility to do so competently.
Yi resonates with Confucian philosophy's orientation towards the cultivation of benevolence (ren) and skillful practice (li).
Yi represents moral acumen which goes beyond simple rule following, and involves a balanced understanding of a situation, and the "creative insights" necessary to apply virtues "with no loss of sight of the total good. Yi represents this ideal of totality as well as a decision-generating ability to apply a virtue properly and appropriately in a situation." 
In application, yi is a "complex principle" which includes:
skill in crafting actions which have moral fitness according to a given concrete situations
the wise recognition of such fitness
the intrinsic satisfaction that comes from that recognition.