In a stand mixer fitted with a paddle attachment, beat butter almond extract and vanilla extract until creamed.
Add confectioners sugar and salt; mix until combined.
Scrape bowl down and add flour while beating on low. Scrape bowl once more and mix until combined.
Shape the dough into a rectangular prism, wrap in plastic and chill until firm. At least an hour.
Preheat oven to 350F. Dust the dough with flour and roll the dough out to about half an inch thick.
Use a cookie cutter of choice to cut out the cookies. Combine excess dough and roll the dough out to about half an inch thick and cut out cookies using the cookie cutter. Repeat untill al the dough is used up.
Place cookies, spaced at least an inch apart onto a baking sheet lined with parchment paper.
Use a fork to indent a pattern onto the top.
Bake for about 12 minutes, rotating baking sheet in the oven halfway through.
Transfer to a wire sheet to cool.
If desired, sprinkle a little flakey sea salt on the chocolate before it cools and hardens.