Combine the flour, cornstarch, sugar, and salt in the bowl of a stand mixer fitted with the paddle attachment. Mix until combined.
Add in the butter and beat until incorporated and the mixture looks like rough crumbs. It doesn't have to come together into a ball yet.
Add in the egg and beat until the mixture starts to come together.
Add in the vanilla and almond extracts and beat to combine.
Divide dough into portions and color with food coloring as desired, if you want different colored cookies.
Flatten dough into about 1/4" thick and wrap well in plastic wrap. Refrigerate for about 1 hour.
Preheat oven to 350 degrees F.
Roll out the dough to about ΒΌ" thickness. Because this dough can become soft and sticky quickly, my favorite method is to roll out between two sheets of parchment paper.
Dip cookie stamps into a bowl of flour to lightly coat, and then press into the dough to make designs. If at any point the dough has become too soft, place back in the refrigerator for 10 minutes or more until it firms up again.
Place cookies on baking sheets lined with silicone baking mats or parchment paper.
Bake for 9-11 minutes until edges are light brown. Remove and let cool on wire rack.
Decorate cooled cookies as desired.