01 - Warm the olive oil in a large deep skillet or Dutch oven set over medium heat until it shimmers.
02 - Add the minced garlic and thinly sliced red onion. Sauté for 2 minutes, stirring frequently, until fragrant and the onion begins to soften.
03 - Toss in the sliced bell pepper, zucchini, halved cherry tomatoes, olives, and capers. Cook for 3 to 4 minutes, stirring occasionally, until the vegetables begin to release their juices.
04 - Add the dried pasta, oregano, thyme, and chili flakes to the pot. Pour in the vegetable broth and stir thoroughly to combine all ingredients.
05 - Bring the mixture to a rolling boil, then reduce the heat to medium-low. Cover and simmer for 12 to 15 minutes, stirring occasionally, until the pasta is al dente and most of the liquid has been absorbed.
06 - Stir in the baby spinach and continue cooking for 2 minutes, until the leaves are fully wilted and incorporated.
07 - Taste the dish and season with salt and freshly ground black pepper as needed.
08 - Ladle into bowls while hot. Finish each portion with crumbled feta cheese and a scattering of fresh basil leaves.