01 - Heat olive oil in a large skillet over medium heat. Add the chopped onion and cook for about 5 minutes until soft and translucent.
02 - Stir in the minced garlic and red pepper flakes, sautéing for 1 minute until fragrant.
03 - Pour in the dry white wine and let it simmer for 2 minutes, allowing the alcohol to evaporate and the flavors to concentrate.
04 - Add the crushed tomatoes, dried oregano, dried basil, salt, and pepper. Stir well and simmer uncovered for 10 to 12 minutes, allowing the sauce to thicken slightly.
05 - Add the peeled and deveined shrimp to the skillet, stirring to coat them in the sauce. Cook for 3 to 4 minutes, turning once, until the shrimp are pink and just cooked through.
06 - Stir in the chopped fresh parsley and fresh basil. Taste the sauce and adjust the seasoning with additional salt, pepper, or red pepper flakes as needed.
07 - If serving with pasta, toss the cooked spaghetti or linguine directly into the sauce, coating the noodles evenly before plating.
08 - Serve hot, garnished with extra fresh parsley and lemon wedges alongside crusty bread if desired.