In a small bowl, combine flour, baking powder, baking soda, cream of tartar, and salt. Whisk together and set aside. This ensures even distribution for perfect cookies.
Using a stand mixer, beat butter and sugar until fluffy. Add eggs, vanilla, and almond extract, mixing thoroughly. Scrape the sides to incorporate everything evenly.
Gradually add the dry mixture to the wet ingredients on low speed. Fold in the funfetti sprinkles gently to keep their color intact.
Transfer dough to a floured surface and roll to ¼ inch thick. Cut shapes with a cookie cutter, re-rolling scraps until used.
Bake in a preheated oven at 350°F for 7–9 minutes. Let cookies cool completely before frosting to avoid melting the buttercream.
Make a simple buttercream with powdered sugar, butter, and vanilla. Pipe a dollop onto one cookie and sandwich with another. Press gently for even filling.