01 - Whisk together flour, baking powder, baking soda, and salt in a medium bowl. Set aside for later use.
02 - Beat softened butter and granulated sugar in a large mixing bowl until light and fluffy, approximately 2 to 3 minutes.
03 - Add egg and vanilla extract to the butter mixture. Beat until thoroughly incorporated, then mix in sour cream.
04 - Gradually add dry ingredients to wet mixture, mixing until a soft dough forms. Avoid overmixing.
05 - Divide dough in half, flatten into discs, wrap in plastic wrap, and refrigerate for at least 1 hour.
06 - Preheat oven to 350°F. Line two baking sheets with parchment paper.
07 - On a lightly floured surface, roll dough to 1/4-inch thickness. Cut circles about 2.5 inches in diameter and place on prepared baking sheets, spacing 2 inches apart.
08 - Bake for 9 to 11 minutes until edges are set but not browned. Cool completely on wire rack.
09 - Beat softened butter until creamy. Gradually add sifted powdered sugar, beating well after each addition. Add vanilla, salt, and cream. Beat on high for 2 to 3 minutes until fluffy. Add food coloring if desired.
10 - Once cookies are completely cool, spread or pipe frosting generously on top. Add sprinkles if desired.