Rinse the shrimp and pat dry.
Heat the olive oil in a large nonstick skillet over medium-high heat.
Add the shrimp, season with 1/2 teaspoon kosher salt and 1/4 teaspoon black pepper, and cook 2–3 minutes, stirring occasionally, until no longer translucent; transfer shrimp to a plate and set aside.
Reduce heat to medium and melt the butter in the same skillet. Sprinkle the flour over the butter and cook 30 seconds while whisking until lightly browned and nutty.
Slowly whisk in the chicken broth, then the milk, a few tablespoons at a time, whisking constantly to prevent lumps.
Stir in the garlic powder, onion powder, and red pepper flakes and bring the liquid to a gentle boil.
Add the ravioli in a single layer and cook, stirring occasionally, until al dente, about 4 minutes; do not overcook. Reduce heat to low.
Stir in the Parmesan, thawed peas, and reserved shrimp and cook just until warmed through, about 30 seconds to 1 minute.
Remove from heat and serve immediately sprinkled with chopped parsley or basil, and additional salt, pepper, or red pepper flakes if desired.