01 - Preheat the oven to 400°F.
02 - In a large ovenproof skillet or deep frying pan, heat the oil over medium heat. Add the onion and sauté for 5 minutes until soft.
03 - Stir in the garlic and ginger, cooking for 1 minute until fragrant.
04 - Add the chicken pieces and cook until just browned on all sides, about 5 minutes.
05 - Sprinkle in the coriander, cumin, turmeric, cinnamon, and chili powder. Stir well to coat the chicken and cook for 1 minute.
06 - Add ground almonds, then pour in the coconut milk and chicken stock. Simmer gently for 10 minutes until the sauce thickens slightly.
07 - Stir in the yogurt, peas, lemon juice, and cilantro. Season with salt and pepper. Simmer for another 2 minutes, then remove from heat.
08 - Unroll the puff pastry and lay it over the skillet, trimming excess and pressing gently to seal the edges. Cut a small slit in the center to allow steam to escape.
09 - Brush the pastry with beaten egg.
10 - Bake for 20 to 25 minutes until the pastry is golden and crisp.
11 - Let cool for 5 minutes before serving.