Cook the pasta according to package instructions while you prepare the rest of the dish. Save some of the cooking liquid when draining.
Place a large frying pan or wok on medium heat with the olive oil. First add the onion and bake until translucent. Add the garlic and the chili flakes and bake for a few minutes.
Add the kale and bake till it becomes glossy and cooked.
Crumble the feta over the pan and let it melt into the dish. Add some of the cooking cream and leave it to thicken.
Serve the spaghetti with the kale and sprinkle with the chopped almonds, fresh basil and parmesan cheese.