Cook the penne pasta according to package instructions until al dente. Drain and set aside, reserving ½ cup of pasta water.
In a large skillet, heat the olive oil over medium heat. Add the sliced chorizo and cook for about 5 minutes until it starts to brown.
Add the minced garlic and red pepper flakes to the skillet, cooking for an additional 1-2 minutes until fragrant.
Stir in the cherry tomatoes and cook for another 3-4 minutes until they begin to soften.
Add the cubed halloumi cheese to the skillet and cook for about 5 minutes, turning occasionally until golden brown.
Add the cooked penne pasta and baby spinach to the skillet. Toss everything together, adding reserved pasta water as needed to create a light sauce.
Season with salt and pepper to taste. Serve immediately, garnished with fresh basil if desired.