01 - Pat the shrimp dry and season lightly with salt and pepper. Heat 2 tablespoons of olive oil in a large skillet over medium-high heat. Arrange the shrimp in an even layer and sear for 1 to 2 minutes per side until they turn pink and are just cooked through. Transfer the shrimp to a plate using tongs and set aside.
02 - Reduce the heat to medium. Add the remaining tablespoon of olive oil to the skillet along with the minced garlic and chopped onion. Sauté, stirring occasionally, until the onion is soft and translucent, about 3 minutes.
03 - Stir in the red pepper flakes and cook for 30 seconds, allowing the heat to bloom and release their volatile oils.
04 - Pour in the dry white wine, scraping up any browned bits from the bottom of the pan. Let the wine simmer for about 2 minutes to reduce slightly and cook off the raw alcohol.
05 - Add the crushed tomatoes, stir to combine, and bring to a gentle simmer. Cook for 7 to 8 minutes, stirring occasionally, until the sauce thickens and the flavors meld together.
06 - Return the seared shrimp along with any accumulated juices back to the skillet. Add the chopped parsley and basil if using. Gently toss to coat the shrimp in the sauce and cook together for 2 to 3 minutes until the shrimp are heated through.
07 - Taste the sauce and adjust the seasoning with additional salt, pepper, or red pepper flakes as desired. Serve immediately over cooked linguine or spaghetti, garnished with extra fresh herbs and lemon wedges on the side.