Heat the oil in a large pot over medium heat. Add the chopped onion, rice and minced garlic, and sauté until they are soft and translucent, about 5 minutes.
Add the diced pumpkin, potato, tomato to the pot. Stir well to combine with the onion and garlic mixture.
Then, add the corn. Stir gently to incorporate it into the mixture, allowing it to infuse its sweet flavor throughout the soup.
Pour in the shrimp broth and bring the mixture to a boil. Reduce the heat to low, cover the pot, and let it simmer for about 20 minutes, or until the vegetables and rice are tender.
In a separate bowl, beat the eggs until well combined. Slowly pour the skim milk into the beaten eggs while whisking continuously to prevent curdling.
Once the vegetables and rice are cooked, slowly pour the egg, and milk mixture into the pot, stirring constantly. Add the shrimp. This will thicken the soup and give it a creamy consistency.
Season the soup with salt and pepper to taste, adjusting as needed. Allow the soup to simmer for an additional 5 minutes to ensure the eggs are fully cooked and the flavors are well combined.
Serve the shrimp soup hot, garnished with freshly chopped parsley or cilantro for a burst of freshness and color.