Cut the soft tofu into bite-sized pieces.
Thinly slice the onion and green onion.
Heat cooking oil in a pan and sauté the green onion and minced garlic.
Add the onion and stir-fry until translucent.
Add chili powder and soy sauce, then stir-fry together.
Add the soft tofu and gently stir-fry to combine.
Season with salt and pepper to finish.