01 - Preheat oven to 350°F. Line two baking sheets with parchment paper.
02 - In a medium bowl, whisk together the flour, baking powder, baking soda, cinnamon, ginger, nutmeg, and salt until well blended.
03 - In a large bowl, beat the softened butter, brown sugar, and granulated sugar until light and fluffy, about 2-3 minutes.
04 - Beat in the 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 no flour streaks remain.
06 - Stir in the oats, shredded carrots, raisins, and nuts (if using) until evenly distributed throughout the dough.
07 - Drop heaping tablespoons of dough onto the prepared baking sheets, spacing them 2 inches apart to allow for spreading.
08 - Bake for 11-13 minutes, or until the edges are golden brown and the centers appear set but still slightly soft.
09 - Let cookies rest on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely before serving.