Cook the Pasta: Boil salted water and cook pasta until al dente. Reserve 1/2 cup of pasta water if not using chicken broth. Drain and set aside.
Prepare the Chicken: In a large skillet, heat olive oil over medium heat. Add chicken, season with salt, black pepper, and Italian seasoning. Cook for 6-8 minutes until golden and fully cooked. Remove and set aside.
Make the Sauce: In the same skillet, add garlic and sauté for 30 seconds. Reduce heat and stir in ricotta, Parmesan, chicken broth (or pasta water), and heavy cream (if using). Stir until smooth.
Combine Everything: Add cooked pasta and chicken back to the skillet, tossing to coat in the sauce. Stir in spinach or kale, if using, and let it wilt for 2-3 minutes. Add red pepper flakes for heat.
Garnish and Serve: Adjust seasoning if needed. Top with fresh basil or parsley and serve warm.