For the cookie dough: In the bowl of a stand mixer fitted with a paddle attachment, or using a hand mixer, cream together the butter, cream cheese and granulated sugar on medium-high speed until just creamed, about 1 minute.
Add the egg, egg yolk, vanilla, salt, baking powder and cream of tartar and mix until well-combined. Scrape down the sides and bottom of the bowl.
With the mixer running on low, slowly add the gluten-free flour and mix until well-combined. Scrape down the sides and bottom of the bowl, then mix again until fully incorporated.
Place the dough on a large piece of plastic wrap and flatten it into one large rectangle. Wrap tightly in plastic wrap and refrigerate for at least 3 hours, or up to 2 days.
Preheat the oven to 350°F. Line large baking sheets with parchment paper or silicone baking mats.
Generously flour a clean counter with gluten-free flour. Roll out the chilled dough to about ¼-inch thick.(This is a sticky dough, so be generous with the flour to prevent sticking when rolling and cutting. Be careful not to roll the dough too thin! You want nice, thick cookies so they stay soft.)
Cut out the cookies with desired cookie cutters, then use a spatula to transfer the cookies to the prepared baking sheets.
Bake for 9-11 minutes, until the cookies are dry on the surface and just set in the middle.
Remove from the oven and cool on the baking sheet for 5 minutes. Transfer to a wire rack to cool completely.
For the cream cheese frosting: In the bowl of a stand mixer fitted with a paddle attachment, or using a hand mixer, beat together the butter, cream cheese and vanilla on medium speed until smooth. Add the powdered sugar and mix until light and fluffy. Frost the cooled cookies and top with sprinkles if desired.