The Reason Your Cookies Spread Into Flat Puddles, And How To Stop It
Your butter is the problem, not your recipe.
You spoon the dough onto the tray, close the oven with high hopes, and open it to find a single thin sheet of merged, greasy cookies. Frustrating. And the answer is sitting in your mixing bowl.
Cookies spread when the fat melts before the structure sets. Butter that is too warm, or dough that goes straight from the mixer to a hot tray, gives the cookies nothing to hold onto as they bake.
Chill your dough. Half an hour or more in the fridge firms up the butter so the cookies hold their shape and bake up thick and chewy instead of flat and crisp. A cold tray helps too.
Check your flour measure while you are at it, since too little cannot support the dough. Chill, measure right, and space them out. Your next batch will stand tall instead of melting into one another.