Wash the sweet pumpkin thoroughly with the skin on and cut it into bite-sized pieces.
Place the pumpkin pieces in a steamer and steam for 10 minutes until tender.
Heat olive oil in a pan and sauté minced garlic until fragrant.
Add the steamed pumpkin and soft tofu to the pan, and gently mix over low heat.
Season with salt and pepper to taste.
Transfer the sautéed mixture into a small oven-safe dish and crack an egg on top.
Bake in a preheated oven at 180°C (356°F) for 8-10 minutes, until the egg yolk is slightly set.
Garnish with parsley or herbs before serving.