In a big pot, add enough water to boil the spaghetti. While the spaghetti gets boiled, which should take about 8 minutes, prepare rest of the dish.
In a pan, pour oil. Then, drop the garlic and chili flakes. As the oil heats up, it gets infused with garlic and chili.
After the garlic starts to get golden in color, drop the kale and give it a mix. Sprinkle salt and allow it cook for a few minutes. Add ¼ cup of pasta water, lemon zest and juice. Allow it to cook for a couple more minutes.
Once the spaghetti is cooked, save ¼ cup of pasta water and drain the pasta. Drop it into the pan. Give it a mix and switch off the heat. Add ricotta cheese and give it another mix. At this point, if you want it saucy, add the remaining ¼ cup of pasta water.