In a medium bowl, whisk together the gluten-free flour, xanthan gum, ginger, cinnamon, cloves, baking soda, and salt.
In a large bowl, beat the butter and brown sugar until fluffy, then mix in the molasses and egg until well combined.
Gradually add the dry ingredients to the wet ingredients, mixing until a soft dough forms.
Divide the dough in half, wrap each portion in plastic wrap, and refrigerate for at least 2 hours or overnight.
Preheat oven to 350°F and line baking sheets with parchment paper.
On a lightly floured surface, roll out one portion of dough to 1/4-inch thickness and cut into desired shapes.
Place cookies 1 inch apart on prepared baking sheets and bake for 8-10 minutes until edges are firm.
Cool on baking sheets for 5 minutes before transferring to wire racks to cool completely before decorating.