After returning from Sung, Dogen wrote "Tenzo Kyokun" (Instructions for the Monastery Chief Cook) and "Fushukuhanpo" (The Dharma for Taking Food) which are said to be the origin of Shojin ryori of the Eihei-ji Temple school.
道元が帰国後書いたのが、『典座教訓』（てんぞきょうくん）と『赴粥飯法』（ふしゅくはんぽう）で、ここから永平寺流の精進料理が生まれたという。