Before you do anything, make sure that your clams are washed thoroughly. There's nothing more unpleasant than finding sand in your food. When your ingredients have been prepared and you're ready to cook, heat the oil in your wok over high heat. Add the ginger and allow it to caramelize (about 20 seconds), taking care not to burn it.
Next, add the garlic, scallion, peppers and fermented black beans, and stir fry the mixture for about 10 seconds. Add the clams. Pour the Shaoxing wine around the perimeter of the wok, and immediately cover the wok. Cook until the clams begin to open. At this point, the liquid in the wok should be boiling and generating steam when the wok is covered. The time for the clams to cook and open up depends upon the size and type of the clams you are using and how hot you can get your stove. Once a good number of them have opened, remove the cover and give everything a stir.
Stir in the sugar, sesame oil, pepper. Discard any of the clams that didn't open. Now taste the sauce. If it's not salty enough, you can add a little bit of soy sauce. Once your satisfied with the flavor of the sauce, add about half of the corn starch slurry to the liquid in the wok and stir. Add more slurry if needed to further thicken the sauce.
Stir in the chopped cilantro and gently stir the mixture so the sauce coats the clams.