In a separate bowl, whisk together flour, cocoa powder, baking soda, ground cinnamon, ground ginger, ground cloves, and salt.
1.75 cups all-purpose flour, 0.5 cup unsweetened cocoa powder, 1 tsp baking soda, 1 tsp ground cinnamon, 0.5 tsp ground ginger, 0.25 tsp ground cloves
With mixer on low speed, slowly add dry ingredients to wet ingredients, mixing until just combined; be careful not to overmix. Stir in chocolate chips if using.
0.25 tsp salt
Scrape dough onto a sheet of plastic wrap and form into a disk. Cover and refrigerate for at least 1 hour or up to overnight.
Preheat oven to 350°F (177°C). Line baking sheets with parchment paper.
Scoop dough into 1½–2 tablespoon portions and roll into balls. Place 2 inches apart on prepared baking sheet.
Bake for 9–11 minutes until the edges are set and the centers look slightly underbaked.
Allow cookies to cool on the baking sheet for 5 minutes before transferring them to a wire rack to cool completely.