Begin by cooking the whole wheat pasta according to package instructions. Drain and rinse under cold water to cool it down, then set aside.
While the pasta is cooking, in a large skillet over medium heat, add the corn kernels. Sauté for about 5-7 minutes until they are slightly charred and fragrant. Remove from heat and let cool.
In a large mixing bowl, combine the cooled pasta, charred corn, diced red bell pepper, chopped red onion, and diced avocado.
In a small bowl, whisk together the olive oil, lime juice, chili powder, salt, and pepper to create the dressing.
Drizzle the dressing over the pasta salad and toss gently to combine all the ingredients.
Add the cilantro and crumbled feta cheese (if using) to the salad, and give it another gentle toss to distribute evenly.
Taste and adjust the seasoning with additional salt and pepper if needed.
Notes
Serve the salad in a large bowl or on a platter. Garnish with extra cilantro leaves and lime wedges for a vibrant touch.