01 - Preheat 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 flour, cocoa powder, baking powder, salt, and sugar until well blended.
03 - In a separate bowl, whisk egg, milk, melted butter, and vanilla extract until smooth and fully incorporated.
04 - Pour wet ingredients into dry ingredients. Stir gently until just combined—do not overmix. Fold in chocolate chips if desired.
05 - Divide batter evenly between the prepared ramekins, filling each about three-quarters full.
06 - Bake for 16-18 minutes until a toothpick inserted into the center comes out with a few moist crumbs.
07 - Let cakes cool in ramekins for 5 minutes before unmolding. Dust with powdered sugar or serve with berries and whipped cream.