Heat the oil in a frying pan over medium heat. Add the mustard seeds and let them pop.
Add the dried red chili and curry leaves and cook for about 30 seconds until fragrant.
Stir in the diced onion and cook for 2 to 3 minutes until softened. Add the pandan leaf and sliced green chili.
Sprinkle in the turmeric, black pepper, curry powder, and chili powder if using.
Stir everything together for about 30 seconds so the spices become aromatic.
Add the drained chickpeas and Maldive fish flakes if using. Mix well until the chickpeas are evenly coated with the spices.
Cook for 4 to 5 minutes, stirring occasionally. Season with salt to taste. Remove from the heat and stir in the lime juice. Finish with fresh cilantro and serve warm.