Preheat oven to 400°F (200°C).
Add tomatoes and garlic to a baking dish. Toss with olive oil, salt, and pepper.
Place feta in the center and coat lightly with oil.
Bake for 30 minutes.
Increase oven to 450°F (230°C) and bake 10 more minutes until golden.
Cook pasta until al dente. Reserve 1/2 cup pasta water.
Add spinach to hot pasta to wilt, then drain.
Mash baked feta, tomatoes, and garlic into a creamy sauce.
Add pasta, herbs, and chili flakes.
Mix well and add pasta water gradually for desired consistency.
This Baked Feta Pasta comes together beautifully with a silky, rich sauce.