Heat oil in a large pot over medium. Add garlic and onion, then cook slowly for 3 to 4 minutes until the onion is translucent and sweet. This gentle cooking coaxes out the onion's natural sugars, which infuses the oil with flavor and creates a fragrant base for the entire dish.
Turn the heat up to medium-high, then add the zucchini and capsicum. Cook for just 1 1/2 minutes. This quick sear enhances their flavor and keeps them from getting too soft and mushy during the longer cooking time with the pasta.
Add the remaining ingredients, *except* the pasta and broccoli. Stir until the tomato paste dissolves completely. I've found that this prevents the tomato paste from clumping up, ensuring a smooth and evenly distributed sauce.
Once the liquid starts bubbling, reduce the heat to medium. Add the pasta, stirring to submerge it, then top with the broccoli, gently pushing it into the liquid. Layering the ingredients this way ensures that the pasta cooks evenly while the broccoli steams gently on top, maintaining a bit of its crispness.
Cover the pot with a lid and cook for 5 minutes. The lid traps the steam, which helps cook the pasta evenly and efficiently. I experimented with different lid types and found that a tight-fitting lid is essential for optimal steam retention.
Remove the lid and cook for another 3 to 4 minutes, stirring frequently, until the pasta is *almost* cooked through and most of the liquid has been absorbed. Stirring is crucial here, as it prevents the pasta from sticking to the bottom of the pot and ensures even cooking. I've learned that "almost" cooked is the key, as the pasta will continue to cook slightly from the residual heat.
Stir in half of the cheese (if using). Season with additional salt and pepper to taste. Adding cheese at this stage creates a creamier sauce, melding the flavors together beautifully. I always taste at this point and adjust the seasoning as needed.
Top with the remaining cheese, then cover the pot again. Let it sit for 1 minute, until the cheese is melted and the pasta is cooked perfectly. This final melting creates a gooey, irresistible topping that elevates the entire dish.
Garnish with parsley and serve immediately. Be sure to transfer any leftovers to a serving dish right away. The residual heat in the pot will continue to cook the pasta, potentially leading to overcooking. I learned that the hard way after a few mushy leftover experiences! Parsley adds a burst of freshness and a pop of color, completing the dish.