01 - Preheat the oven to 350°F. Lightly grease two 4-inch ramekins or mini cake pans with butter or cooking spray.
02 - In a small bowl, whisk together the flour, cocoa powder, baking powder, salt, and sugar until well blended.
03 - In another bowl, whisk the egg, milk, melted butter, and vanilla extract until smooth and fully incorporated.
04 - Pour the wet ingredients into the dry ingredients. Stir gently until just combined, being careful not to overmix.
05 - Fold in the chocolate chips if using, distributing them evenly throughout the batter.
06 - Divide the batter evenly between the prepared ramekins, smoothing the tops with a spatula.
07 - Bake for 16-18 minutes, or until a toothpick inserted into the center comes out with a few moist crumbs attached.
08 - Allow cakes to cool for 5 minutes before unmolding. Dust with powdered sugar or serve with berries and whipped cream.