Pretty much that.

I tend to do a bunch of cool stuff in my code and then forget how I did it, or I implement something slightly differently in different projects so I want a way to standardize it more. Or it’s for other useful stuff!