1 Start cooking the pasta: Bring a large pot of salted water (add enough salt so that the water tastes salty) to a boil. Add the dried pasta and cook until al dente.

2 Cook the chicken: While preparing the pasta, cook the chicken. Sprinkle the chicken breasts with salt, heat the olive oil in a sauté pan and brown the chicken breasts on both sides over medium-high heat. They don't need to be cooked all the way through, just browned. Remove the chicken from the pan and set aside.

3 Sauté onions: Add the chopped onion to the pan and sauté 2-3 minutes, stirring occasionally. While the onions cook, slice the chicken into strips. Put any pieces that are cooked all the way through in one pile, and put the ones that still need a little cooking in another pile.

4 Add garlic, then white wine or stock: When the onions are just beginning to brown, add the garlic and cook another minute. Add the white wine or stock and boil vigorously until the liquid is reduced by half.

5 Add spinach, chicken: Add the spinach and the undercooked pieces of chicken to the pan. Using tongs, turn them over to coat them with the juices in the pan. Continue to cook, turning and stirring often, until the spinach is wilted and the chicken cooked through, about 2 minutes.

6 Combine chicken, spinach, pesto, pasta, cream: Turn off the heat and add some black pepper, the pile of cooked chicken pieces and the pesto. Stir to combine. Drain the pasta put it in a large bowl. Add the cream to the sauté pan and stir well to combine. Add the contents of the pan to the bowl with the pasta and mix well. Serve at once.