Heat the oil in a skillet over medium heat.
Sauté the onion for 3 to 5 minutes, or until it becomes soft and translucent.
Add the minced garlic, corn kernels, and diced bell pepper.
Cover the skillet and cook for 3 minutes, just until the corn is warmed through and the peppers are tender-crisp.
While the corn mixture cooks, whisk the pesto and lime juice together in a small bowl until well combined.
Remove the skillet from the heat.
Pour the pesto-lime mixture over the corn and stir everything together until evenly coated.
Serve immediately.
Stir in 1/4 cup (960 ml) of crumbled feta, cotija, or vegan feta cheese at the end for a creamy, salty bite.