Prepare the chilies: Remove the veins from the chilies, toast them slightly, then boil them in a saucepan with water.
Make the sauce: In the same saucepan, add tomato, a piece of onion, and garlic cloves to the chilies. Let them cook well. After cooling, blend these with a little salt and water to make the sauce.
Cook the sauce: Heat a little oil in a pot, add the blended sauce, and let it boil.
Prepare the egg mixture: Separate the egg whites and beat them with a pinch of salt until fluffy. Then, add the yolks and beat again. Finely chop cilantro and the piece of onion with its stem, and stir into the egg mixture.
Cook the egg pancakes: Heat oil in a pan. Pour the egg mixture to form pancakes. Fry until golden brown on both sides.
Serve: Serve the egg pancakes with the chili sauce on top. Accompany with beans and tortillas if desired.