Add the chicken, feta, garlic and tomatoes to a 9x13-inch baking dish.
Drizzle with olive oil, sprinkle on the salt, pepper and red pepper flakes. Toss to coat.
Bake at 400 °F for 35 minutes. Meanwhile, cook the pasta. Remove the cooked chicken and slice.
Mix the cheese into the tomatoes. Gently squish the tomatoes and garlic cloves.
Mix in the basil and cooked pasta.
Add the sliced chicken and enjoy!