Cream the softened butter and sugar until smooth. Mix in the egg, vanilla, and almond extract, if using.
Add the all-purpose flour, almond flour, and salt. Mix and gently knead until a soft dough forms. Cover and chill for 30 minutes.
Preheat the oven to 350°F. Line a baking sheet with parchment paper.
Divide the dough into 24 portions, roll into balls, and flatten slightly. Press sliced almonds onto the tops. Arrange the cookies about 2 inches apart.
Bake for 12 to 15 minutes, until the edges are lightly golden and the centers are set. Cool on the pan for 5 minutes, then transfer to a rack.
Once the cookies are completely cool, dust with powdered sugar.