Preheat your oven to 350°F (175°C).
In a mixing bowl, whisk together the flour, cocoa powder, baking powder, baking soda, cinnamon, cayenne pepper, and salt.
In a separate large bowl, cream together the softened butter and brown sugar until the mixture is light and fluffy.
Add the egg and vanilla extract to the butter mixture and beat until well combined.
Gradually add the dry ingredients to the wet ingredients and mix until just combined, avoiding overmixing.
Fold in the chocolate chips, ensuring they are evenly distributed throughout the dough.
Scoop tablespoons of dough onto a baking sheet lined with parchment paper, spacing them about 2 inches apart.
Bake in the preheated oven for 10-12 minutes, until the edges are set but the centers remain slightly soft.
Remove the cookies from the oven and allow them to cool on the baking sheet for 5 minutes before transferring them to a wire rack to cool completely.