Cut the onion into thick chunks and cut the scallion greens into one-inch pieces.
Heat a pan over medium-high heat with a bit of oil. Add the chicken and brown for a few minutes, then remove from the heat and set aside.
In the same pan, add the onions, garlic, and ginger and cook until fragrant.
Return the chicken to the pan along with the dark soy sauce, light soy sauce, oyster sauce, sesame oil, and sugar. Stir until the sauce slightly thickens.
Add the toasted cashews and the scallion greens, and keep cooking until the scallions are wilted.
Serve over a fresh bowl of rice, or eat it as is. It's your food, you eat it how you like.