Begin by melting the coconut oil in a large pot over medium heat. Once hot, add the diced onions, sautéing until they turn translucent and soft.
Sprinkle in the chili flakes, coriander, cumin, and turmeric, stirring continuously to coat the onions and unleash the spices' aromas.
Introduce the ginger and garlic, continuing to sauté for another minute, ensuring their fragrances are fully released.
Fold in the sweet potatoes, coating them in the spiced onion mixture. Add the lentils next, giving the pot a thorough stir.
Pour in the vegetable stock, seasoning with salt and pepper. Bring the mixture to a boil, then reduce to a simmer, partially covering the pot.
After about 30 minutes, when the sweet potatoes and lentils are tender, stir in the coconut milk and kale. Continue simmering until the kale is wilted and vibrant.
Finalize the seasoning with additional salt, pepper, or chili, adjusting to taste.