Whisk the flour, baking powder and salt in a medium bowl.
In a large bowl, beat the butter and sugar until pale and fluffy, about 2 minutes. Beat in the egg, vanilla and almond extract until smooth.
Add the dry ingredients and mix on low just until a soft dough forms — do not overmix.
Divide the dough in two, flatten each half into a disc, wrap and chill at least 1 hour (or up to 3 days).
On a lightly floured surface, roll one disc to 1/4 inch (6 mm) thick. Cut shapes, place on parchment-lined baking sheets, and chill the cut sheets 10–15 minutes while the oven heats to 350°F (175°C).
Bake 8–10 minutes, until the edges are just set and the tops look matte — the centres should still look soft, not browned.
Cool on the sheet 5 minutes, then move to a rack to cool completely before icing.
Icing: whisk the powdered sugar, 2 tbsp milk, corn syrup and vanilla until smooth; add milk a teaspoon at a time until it ribbons off the spoon and holds a line for about 8 seconds before melting back. Colour as wanted, pipe or spoon over the cooled cookies, add sprinkles while wet, and let set at least 4 hours (overnight for stacking).