Select a microwave-safe ceramic mug with at least an 8-ounce (240ml) capacity.
Whisk the almond flour, cocoa powder, baking powder, and sea salt together in the mug until no dry clumps remain.
Add the egg, maple syrup, melted coconut oil, and vanilla extract to the dry base.
Vigorously stir the mixture with a fork or mini-whisk for 30 seconds, ensuring the bottom corners of the mug are fully integrated and the batter is homogeneous.
Place the mug in the center of a microwave and cook on high power (approx. 1000W) for 75 to 90 seconds.
Check for doneness: the top should be set and springy to the touch, not liquid.
Remove from the microwave and allow the cake to rest for 2 minutes to finalize the internal structure before serving.