Wash the pork ribs thoroughly, rinsing until the water runs clear. Combine the pork ribs with garlic, ginger, salt, light soy sauce, Shaoxing wine, sesame oil, and sugar. Mix well to coat, then add the cornstarch last and mix again until the pork ribs turn sticky and the marinade is fully absorbed. Let the ribs marinate for about 30 minutes.