Shi Kefa (4 February 1601 – 20 May 1645), courtesy names Xianzhi and Daolin, was a government official and calligrapher who lived in the late Ming dynasty.
Nearly a century later, the Qianlong Emperor of Qing granted Shi Kefa another posthumous name, "Zhongzheng" (忠正; means "loyal and upright".)
In the third lunar month of 1644, rebel forces led by Li Zicheng captured the Ming capital Beijing and the Chongzhen Emperor committed suicide.
For his effort, Ma Shiying won the appreciation of Hongguang and replaced Shi Kefa as the effective head of government.
After losing his influence in the imperial court, Shi Kefa requested to be dispatched north to supervise defenses on the northern border.
Due to internal conflict among the Ming generals along the border, Shi Kefa was unable to establish a strong defense.
In the fourth lunar month of 1645, Zuo Liangyu led an army from Wuhan to attack Ma Shiying and Ruan Dacheng.
Ma Shiying ordered Shi Kefa to set up defenses at the northern border to resist Zuo Liangyu from the east.
Shi Kefa's response, titled Reply to Dorgon's letter (復多爾袞書), was noted for its neither servile nor overbearing tone, and was circulated among later generations.
The Qing writer Quan Zuwang (全祖望) later wrote the Tale of Plum Blossom Ridge (梅花嶺記) to describe the event.
Shi Kefa was said to have been an individual of great energy and integrity, qualities reflected in his calligraphy, frequently in cursive and semi-cursive style.