How do you beat Black Bear Guai in Black Myth: Wukong?

Quick answer: Dodge to his sides and back, punish after his combos, and save spells for openings. Expect fire and black wind at half health. The Fireproof Mantle helps a lot.
Show walkthrough (quest spoilers)
Where he is
Black Bear Guai is the final boss of Chapter 1. Start at the Bodhi Peak shrine and climb the stairs. He is a huge black bear in robes who fights with heavy swipes and slams.
Prepare
Get the Fireproof Mantle vessel from the secret boss Elder Jinchi first if you can, since much of his phase-two damage is fire. Bring full gourd charges and have your spells ready. Spells are very useful in this fight.
Phase one
He swings twice from all fours and lunges across the arena, so dodge to the side or back. Stay at his sides or behind him, where he often misses. Punish after each combo ends rather than during it.
Phase two
At about half health he is wreathed in flames and turns into black wind, which starts phase two. His attacks now carry fire and he adds fire pillars. Use the Fireproof Mantle at the start of this phase, since it only lasts a short time.
Win the fight
Stay calm, punish after each combo, and use Immobilize and other spells when he is open. Beating him ends the chapter, as told in the Chapter 1 walkthrough.
