Geshe Chekhawa (or Chekawa Yeshe Dorje) (1102–1176) was a prolific Kadampa Buddhist meditation master who was the author of the celebrated root text Training the Mind in Seven Points, which is an explanation of Buddha's instructions on training the mind or Lojong in Tibetan. These teachings reveal how sincere Buddhist practitioners can transform adverse conditions into the path to enlightenment, principally, by developing their own compassion. Before Chekhawa Yeshe Dorje's root text this special set of teachings given by Buddha were secret teachings only given to faithful disciples.
Chekhawa Yeshe Dorje was born into a family that practiced the Nyingma tradition of Tibetan Buddhism. However, as is common in all the traditions of Tibetan Buddhism, he also sought teachings from other traditions. He received teachings from Rechungpa (one of Milarepa's main disciples) and later from Kadampa Geshes. After reading the text Eight Verses of Training the Mind by Geshe Langri Tangpa he immediately set out to Lhasa in search of Langri Tangpa. When he arrived in Lhasa, he discovered that Geshe Langri Tangpa had died. So he searched for his disciples and found Geshe Sharawa who was one of his main disciples.
When Chekawa Yeshe Dorje met Sharawa, he asked him "How important is the practice of accepting defeat and offering the victory to others?" Sharawa replied, "If you want to attain enlightenment, this practice is essential." Chekhawa Yeshe Dorje then requested full instructions on this practice and Sharawa said "If you stay with me for several years I will teach you." Chekhawa Yeshe Dorje stayed with Sharawa for 12 years until he mastered the practice of training the mind. He had to face many different kinds of ordeals: all sorts of difficulties, criticism, hardships, and abuse. And the teaching was so effective, and his perseverance in its practice so intense, that he completely eradicated any self-grasping and self-cherishing.
At this time in Tibet, leprosy was very common in Tibet, because doctors were unable to cure it. When Chekhawa Yeshe Dorje ecountered lepers, he developed heartfelt compassion for them and wished to help them. He gave them teachings on training the mind, especially the teachings on Tonglen or taking and giving. Through these practices many lepers were able to cure themselves. After overhearing Chekhawa Yeshe Dorje's teaching to lepers on training the mind, his brother who strongly disliked Dharma teachings even began to put them into practice and receive great benefit from them.