Cook pasta shells per packet instructions, make sure to add a teaspoon of salt to the water. Strain but reserve ¼ cup of the cooking water to add to the sauce.
Heat olive oil in a large skillet over medium-high heat. Add the chopped red onion and salt and sauté for 3-4 minutes until it softens and turns golden brown.