Preheat your oven to 350°F (175°C) and line baking sheets with parchment paper.
In a bowl, whisk together the flour, cocoa powder, baking soda, and salt.
In a separate bowl, cream the softened butter and granulated sugar until light and fluffy.
Beat in the egg, red food coloring, vanilla extract, and almond extract until combined.
Gradually mix in the dry ingredients until a dough forms.
Scoop tablespoon-sized balls of dough onto the prepared baking sheets, spacing them about 2 inches apart.
Bake in the preheated oven for 12-15 minutes, until the edges are set.
Allow cookies to cool on the baking sheets for 5 minutes, then transfer to wire racks to cool completely.
Once cooled, pipe or spread cream cheese frosting onto half of the cookies.
Top with the remaining cookies to create sandwich cookies.