Use softened butter rather than melted butter to help achieve the right cookie texture. Chilling the dough for 30 minutes makes it easier to handle and helps control spreading during baking. Measure the flour carefully to avoid dry cookies, and take them out of the oven when the edges are set but the centers still look slightly soft. Allow the cookies to cool completely before storing them in an airtight container at room temperature.