Prep the pans, oven, and optionally the chocolate. Arrange a rack in the middle of your oven and preheat to 375°F/190°C.
Place a sheet of parchment paper or a silicone baking mat atop a cookie baking sheet(s).
Chop your chocolate bar into chunks, if using.
Have a small heatproof bowl or measuring cup ready to hold the hot, melted butter, and set it aside. If you are using the milk powder customization, measure out the powder into a small bowl for easy access.
Add the unsalted butter to a light-colored pan and melt over medium heat. The butter will first melt, and a cream-colored foam will rise. If the butter sputters and pops, turn the heat down a little so it doesn’t make a mess. Take a wooden or silicone spatula and start stirring. The milk solids usually form around the edge and bottom of the pan first. This may take a couple of minutes. Scrape the pan so milk solids don’t stick and burn.
Turn off the heat once the solids are light brown, then continue stirring until they reach medium brown. If you are using the milk powder, add it to the hot butter now and stir until all the milk solids from the powder match the color of the toasted milk solids from the butter, which is a deep medium brown.
Immediately pour the melted butter into the heatproof bowl/cup, making sure to scrape off the toasted milk solids.
Allow the melted butter to cool. The butter has to cool to around 90-100°F/32-38°C. This ensures the cookie dough is not too warm during subsequent steps, which can cause the sugars to dissolve excessively and create a flat, overly spread final cookie. You can hasten the cooling by placing the bowl in a larger bowl filled with ice water, or by letting the butter sit at room temperature until it cools. The butter will still be liquid at room temperature.
Add the egg/yolk, sugars, water, flavoring ingredients, and egg. Add the room-temperature egg and yolk, sugars, and vanilla to the slightly warm melted butter and mix on medium-high speed until fully emulsified, about two minutes. Pay attention to the dough's initial color and texture (see my pictures above for reference); you’re done when it's lighter in color and softer in texture. It will still be quite grainy, though, due to the undissolved sugar. Add the salt and baking soda on low speed just until combined.
Mix in the flour and chocolate. Add the flour to the bowl and mix on low speed until the dough comes together. Stir in your chocolate chips and chunks. The dough should be firm enough to scoop and hold its shape, with a slightly tacky texture. The temperature of your dough should be around 65-75°F/18-23°C. This ensures you get a slightly mounded cookie shape when baking. If you like a more mounded/chubbier style of cookie, place the bowl in the fridge for about 5-10 minutes and stir until the dough reaches about 60-65°F/16-18°C.
Scoop and bake.
