Mix together the oil, garlic, ginger, lemongrass, curry powder, salt and chili flakes in a large bowl. Add the chicken and rub the mixture into the chicken pieces. Cover and let sit for 2 hours in the refrigerator.
For the kaffir lime pesto: Pulse the basil, cilantro, mint, oil, peanuts, garlic and lime leaves in a food processor until incorporated into a pesto and season with salt and pepper. Set aside while you cook the chicken.
Heat a cast-iron grill pan over medium-high heat and preheat the oven to 350 degrees F.
Brush half of the coconut milk on the skin of the chicken and place skin-side down onto the grill pan until crisp, 2 minutes. Brush the rest of the coconut milk on the other side of the chicken, and grill for another 2 minutes. Transfer the pan to the oven and bake until cooked through completely, 8 to 10 minutes. Remove the chicken from the pan and immediately toss in the pesto, allowing the heat to cook the pesto and release its fragrance and layers of avors. Squeeze the limes onto the chicken, plate and serve.
This recipe was provided by a chef, restaurant or culinary professional. It has not been tested for home use.