What the hell is yak-shaving? This is the second front page HN post where the author says that and I've never heard of it before.
https://seths.blog/2005/03/dont_shave_that/ — a good example (and where I first saw it), which actually involves shaving a yak.
Something like you need a string function that doesn't seem to exist, and end up rewriting the string library.
I also learned Yak Shaving as a general "waste of time": you shave it, the hair is just going to grow back, so don't bother.
Pretty much the first result on DDG...