
Made with AI
Bring a large pot of water to a boil. Add about half of the salt, then cook the spaghetti according to the package directions until al dente.
Before draining, reserve about 120 ml of the pasta cooking water. Drain the spaghetti and set it aside.
Heat the olive oil in a large skillet over medium heat. Add the diced onion and cook for 4–5 minutes, stirring occasionally, until soft and translucent.
Add the minced garlic and cook for 30 seconds, stirring constantly to prevent it from burning.
Add the diced cooked ham and sauté for 2–3 minutes, until warmed through and lightly browned around the edges.
Stir in the tomato sauce, remaining salt, and black pepper. Reduce the heat to medium-low and simmer for 5 minutes.
Lower the heat and stir in the light cream. Warm the sauce gently for 2–3 minutes without allowing it to boil vigorously.
Add the drained spaghetti to the skillet and toss until evenly coated. If necessary, add a little reserved pasta water to loosen the sauce.
Stir in half of the grated Parmesan cheese and cook for 1 minute, tossing continuously.
Remove from the heat, garnish with the remaining Parmesan cheese, and serve immediately.