DENVER Michael Cuddyer and Jhoulys Chacin kept rolling and stopped the Colorado Rockies from sliding in the standings.
Cuddyer homered to extend his hitting streak to 25 games, Chacin pitched eight scoreless innings, and the Rockies beat the slumping Giants 4-1 on Friday night.
Wilin Rosario also went deep for the Rockies, who moved within three games of Arizona in the National League West despite having lost eight of 10 entering the day.
Cuddyer's streak is the longest in the majors this season and extended his franchise record. He has reached base safely in 44 consecutive games, also a club record.
"Cuddy's so locked in right now, I don't know if you can swing the bat any better than he is," Rockies manager Walt Weiss said. "He's doing damage, too, when he gets his hits. He's been huge."
Cuddyer, who signed as a free agent before last season, has helped carry the team through injuries to Troy Tulowitzki and Dexter Fowler. Cuddyer is hitting .381 with six home runs and 18 RBIs during his streak.
"I haven't changed anything. I haven't done anything different," he said. "Balls have just been falling. Things have been going my way. I'm not really worried about the streak. It's just pitch to pitch, at-bat to at-bat, evaluate the situation, and try to execute."
Cuddyer connected in the third. He worked the count to 2-0 before hitting a 79-mph cut fastball just over the scoreboard in right to give the Rockies a 3-0 lead. Rosario followed with a blast to left to make it 4-0.
"Cuddyer was the big mistake," Giants starter Barry Zito said. "Going low and just throwing a back-door cutter up in the zone instead of keeping it down. Rosario, he hit a good pitch."
Buster Posey homered among his three hits for the Giants, who have lost five in a row and seven of eight.
"We need to go out there and relax and get everything clicking together," Brandon Belt said.
Zito (4-6) allowed four runs and 10 hits while striking out three in 5 1/3 innings. The veteran left-hander is 0-3 in his last five starts. His last win came against Oakland on May 30, and he's 0-5 in six road starts this season.
The defending World Series champions have struggled to score runs during their slide. San Francisco has managed just 17 runs in its last seven games and just avoided being shut out for the seventh time this season.
"When you're in something like this, it's human nature to start pressing," Giants manager Bruce Bochy said. "Everybody wants to do something to spark the club. Maybe it's better to back off a little bit. We're doing what we can to get this thing going."
Posey led off the ninth with his 11th home run of the year to spoil the shutout. It was the first run Rex Brothers allowed in 32 appearances spanning 30 innings.
The Giants got the tying run to the plate, but Crawford grounded out to second to end the game.
Notes Posey has reached base in 46 straight games against Colorado.
The Giants reinstated left-hander Eric Surkamp from the 60-day disabled list and optioned him to Triple-A Fresno. He will be added to the roster when he reports Monday, when he will make a start, the team said.
Giants right-hander Santiago Casilla (cyst on right knee) threw 30 pitches in a simulated game.
Today: at Colorado, 1:10 p.m., CSNBA