In a large skillet, heat olive oil over medium heat.
Add the chopped onion and sauté until soft and translucent.
Stir in the garlic and red pepper flakes, cooking for 30 seconds until fragrant.
Add sun-dried tomatoes and stir for another minute.
Toss in the uncooked pasta and pour in the chicken broth.
Bring to a boil, then reduce heat and simmer for 10–12 minutes, stirring occasionally, until pasta is tender.
Stir in the cream and parmesan, and season with salt and pepper.
Let simmer for another 2–3 minutes until the sauce thickens slightly.
Serve hot, garnished with herbs if using.