01 - Preheat the oven to 350°F. Line two baking sheets with parchment paper.
02 - In a medium bowl, whisk together the flour, baking powder, baking soda, salt, cinnamon, nutmeg, ginger, and cloves until well combined.
03 - In a large bowl, cream together the granulated sugar, brown sugar, and softened butter until light and fluffy, about 2-3 minutes.
04 - Beat in the pumpkin purée, egg, and vanilla extract until the mixture is smooth and thoroughly combined.
05 - Gradually add the dry ingredients to the wet mixture, mixing on low speed just until incorporated. Do not overmix.
06 - Gently fold in chocolate chips or nuts if using.
07 - Drop the dough by rounded tablespoons onto the prepared baking sheets, spacing about 2 inches apart to allow for spreading.
08 - Bake for 11 to 13 minutes, or until the edges are set and the tops look dry but slightly soft to the touch.
09 - Let the cookies cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.