Bring a large pot of salted water to a boil. Add the orzo pasta and cook according to the package instructions until it reaches an al dente texture. Once cooked, drain the orzo in a colander and set it aside.
In a spacious skillet, heat the olive oil over medium heat. Add the minced garlic to the oil and sauté it for about 30 seconds, allowing the garlic to release its fragrant aroma without burning.
Stir in the cleaned shrimp and season them with salt, pepper, and optional red pepper flakes for a hint of heat. Cook the shrimp for about 2-3 minutes without stirring, then flip them over and cook for another 2-3 minutes, or until they turn pink and opaque.
Once the shrimp is cooked perfectly, carefully add the drained orzo, halved cherry tomatoes, and basil pesto to the skillet. Gently toss all the ingredients together until everything is evenly coated with the pesto and heated through, which should take about 2 minutes.
Remove the skillet from heat. If desired, sprinkle the dish with freshly grated Parmesan cheese and garnish with fresh basil leaves for a pop of color and flavor.
Notes
Feel free to adjust the spice level with red pepper flakes.