From the amazing The Decorated Cookies here are some recipes of Basic Cookie Dough.
Here it goes:
1 cup (227g) of unsalted butter
1 cup confectioner sugar
1 tsp vanilla extract
2 1/2 cup of flour
1 tsp of salt
Cream the butter with the sugar. Add egg and blend well. Add extracts and blend.
Mix flour and salt in a separate bowl and gradually add to the mixture.
Cover dough with plastic wrap (or Ziploc bag) and chill dough for about 2 hours.
Working with about 1/3 of the batch at a time, briefly knead the chilled dough and roll about 1/8 inch to 1/4 inch thick.
Cut out shapes.
Bake cut out cookies on parchment lined baking trays at 190C for 12-14 minutes.
Note: You can also freeze dough. After mixing, put dough in a Freezer ziploc bag (or wrap well) and freeze. Thaw overnight or for at least a few hours in the refrigerator in the ziploc bag. If too chilled to handle, let sit at room temperature for about 1/2 hour to 1 hour until it's workable. Chilled is good, though, don't let it get too mushy.