Finely chop the onion. Thinly slice or dice the chicken.
Mix the spices in a bowl and coat the chicken pieces in the mixture.
Heat the oil in a wok. When hot, add the onion and stir-fry for 3 minutes until soft. Add the grated ginger, stir for a minute, then add the spiced chicken pieces. Season with salt and pepper and stir-fry for 3-5 minutes, until the chicken is cooked through.
Pour in the coconut milk, and simmer for 10 minutes.
Add the spinach, cook for another 2-3 minutes, until it has wilted then turn off the heat.
Add the lime juice and the chopped coriander. Combine, then serve immediately.