Bring a large pot of salted water to a boil. Add the rigatoni and cook according to package instructions until al dente. Drain and set aside.
Heat olive oil in a large skillet over medium-high heat. Add the cubed chicken breast, garlic powder, salt, and black pepper. Cook, stirring occasionally, until the chicken is cooked through and lightly browned, about 6-8 minutes.
To the cooked chicken, add the fresh spinach and sauté until wilted, about 2 minutes. Remove from heat.
In a mixing bowl, whisk together the pesto sauce and heavy cream until smooth and well combined.
In the large pot or mixing bowl, combine the cooked rigatoni, sautéed chicken and spinach mixture, and the creamy pesto sauce. Stir well to coat everything evenly.
Preheat your oven to 375°F (190°C). Pour the pasta mixture into the casserole dish. Sprinkle the shredded mozzarella and grated Parmesan evenly over the top.
Bake uncovered for 20-25 minutes, or until the cheese is melted, bubbly, and golden brown around the edges.
Let the casserole cool for a few minutes before serving. This dish pairs beautifully with a simple green salad or steamed vegetables.