Heat a wok over medium-high heat and add a little oil.
Add the chicken and brown it on all sides over medium heat for a minute or two.
Add the onions.
If desired, add the dried chili peppers.
Cook for a minute or two until the onions soften.
Add the garlic and the white parts of the chopped green onions.
Add the oyster sauce, dark soy sauce, and light soy sauce. Mix well.
Incorporate the sugar and shaoxing wine.
Add the white pepper.
Thicken the sauce with the cornstarch solution.
Incorporate the green parts of the green onions.
Serve hot over rice
Notes
To ensure the flavors blend perfectly, it's important not to rush. Add the ingredients gradually, starting with those that require longer cooking, and incorporate the sauces at the right time so they coat the chicken and onions well