For the chocolate sugar cookies:
- 2 1/2 cups (318 grams) all-purpose flour
- 1/2 cup (50 grams) Dutch-process cocoa powder*
- 1 teaspoon baking powder
- 1/4 teaspoon fine sea salt
- 1 1/2 sticks (170 grams) unsalted butter, at cool room temperature
- 1 cup (200 grams) granulated sugar
- 2 large eggs, at cool room temperature
- 1 teaspoon pure vanilla extract
For the cream cheese frosting:
- 4 ounces (113 grams) cream cheese, at room temperature
- 4 tablespoons (57 grams) unsalted butter, at room temperature
- 2 teaspoons vanilla extract
- 1 1/2 cups (188 grams) powdered sugar, sifted (don't skip sifting!)
- Orange gel food coloring
Make the cookies:
In a medium bowl, sift together the flour, cocoa powder, baking powder, and salt.
In a large bowl, use an electric mixer to beat the butter and sugar on medium-high speed until smooth and well combined, 1 to 2 minutes. Add the eggs, one at a time, until well combined. Add the vanilla extract. On low speed gradually add the flour mixture and beat until thoroughly combined.
Place the dough in between two large pieces of parchment paper or silicone mats on a work surface. Roll the dough out to a 1/4-inch thickness. Chill in the refrigerator until firm, at least 1 hour, or in the freezer until firm, about 30 minutes.
Line large baking sheets with parchment paper. Use a 3 or 4-inch pumpkin cookie cutter to cut out shapes from the dough and place on prepared baking sheets. Use a small paring knife to carefully cut out the triangle eyes and mouth shapes in half of the pumpkins.
Gently reroll remaining scraps of dough to a 1/4-inch thickness, cut out eyes and mouths in half of the pumpkins, and place on prepared baking sheets. If the sheet of dough softens too much at any point, place it back in the freezer or fridge until firm again before cutting and moving more shapes.
Chill the baking sheets of cut cookie dough in the refrigerator for 30 minutes or freezer for 15 minutes, or until dough is firm. Meanwhile, preheat the oven to 350°F.
Bake for 8 to 9 minutes, or until the cookies are set but not overbaked. Let cool on baking sheets for 5 minutes before removing to a wire rack to cool completely. Plain cookies can be stored in an airtight container at room temperature for up to 5 days or in the freezer for up to 1 month.
Make the cream cheese frosting:
In the bowl of a stand mixer fitted with the paddle attachment, beat the cream cheese, butter, and vanilla on medium-high speed until very light, creamy, and smooth, about 2 to 3 minutes. On low speed, gradually add in the sugar and beat until fluffy, about 2 minutes more. Add in a few drops of orange gel food coloring until desired shade is reached.
Assemble the sandwiches:
Place a dollop of cream cheese frosting on the center of the top of the plain pumpkin shaped cookies. Don’t frost the bottom side, otherwise the pumpkin stem shapes won’t line up. Place a jack o’lantern cookie on top of each, pressing down slightly to sandwich the filling. Serve or store in an airtight container at room temperature for up to 2 days (the sugar in the cream cheese frosting acts as a preservative, but they should not be stored at room temperature for longer than that).