Paul Skenes struck out six and ended a four-start winless streak as the Pittsburgh Pirates snapped a 10-game skid with a 5-3 win over the Seattle Mariners.