Castillo tossed 6 2/3 shutout innings and combined with two relievers on a two-hitter to lead the Reds to a 4-0 win over the St. Louis Cardinals.
Barnhart said working with Castillo was easy.
"(He has) video game stuff," Barnhart said. "Tonight was an example of that. He was able to throw all three pitches for strikes. He was able to keep them off balance all night long."
The Reds snapped a three-game losing streak.
St. Louis, which won a major league-best 22 games in August, lost for the second time in six games.
The Cardinals are 4 1/2 games behind Chicago in the NL Central after the Cubs beat Philadelphia 7-1.
Castillo (8-11) gave up two hits and struck out a career-high 11. He gave up a leadoff single to Matt Carpenter in the first before retiring 15 of the next 16 hitters.
Castillo has had an up-and-down season and has struggled with consistency.
"We feel like he can do this," Cincinnati interim manager Jim Riggleman. "He's not 21, he's 25. It's time. We just hope he builds on that, has a good September, and takes us into 2019 as a guy that can anchor our staff."
Castillo had given up five earned runs in two of his last three starts.
"A good part was I was on the same page with Tucker," Castillo said. "He was calling the right pitches. I was throwing the right pitches. That was a big part of my success.
Castillo was making his 27th start of the season and said this might have been his best performance to date.
"I've had a couple good ones, but I felt really, really good in this one," Castillo said. "I faced a really good team that's trying to get into the playoffs. To be able to perform and do what I did tonight was really good for me."
Suarez keyed a three-run outburst against Daniel Poncedeleon (0-1) in the fourth. Joey Votto broke the scoreless tie with a run-scoring double. Scooter Gennett followed with a hit to set the stage for Suarez's drive off the wall in left. Suarez, who has hit safely in 11 successive games against St. Louis, pushed his RBI total to 98,.
Barnhart added a run-scoring single in the seventh.
Poncedeleon, in his third major league start, retired the first 10 batters he faced on 43 pitches. But the next six hitters reached safely ending his night after 3 1/3 innings. Poncedeleon gave up three runs on five hits. He struck out four and walked one.
"I think I lost the arm slot on my fastball," Poncedeleon said. "I was searching out there."
St. Louis has won 20 of its last 26 and has a 29-14 record since manager Mike Shildt took over for Mike Matheny on July 15.
Cardinals: OF Marcell Ozuna was activated from the 10-day disabled list prior to the contest. Ozuna has been bothered by right shoulder inflammation. He is expected to start on Sunday.
RHP Adam Wainwright tossed five shutout innings in a rehab outing with Triple-A Memphis in Nashville on Saturday. He gave up five hits, struck out seven and walked two in a 90-pitch outing. Wainwright has missed 98 games with elbow inflammation.
RHP Anthony DeSclafani (7-4, 4.34) will face Luke Weaver (7-11, 4.59) in the final game of the three-game series on Sunday. DeSclafani has gone at least six innings in each of his last five starts with a 3-1 record and a 2.62 ERA over that span. Weaver is 3-0 lifetime against the Reds.
More AP baseball: https://apnews.com/tag/MLBbaseball
Mets say Jed Lowrie (knee) should be ready for Opening Day
The Mets said Friday that infielder Jed Lowrie should be ready for the start of the regular season after an MRI on his sore left knee was negative.
Kershaw says it's 'best' to takes a few days off
Clayton Kershaw says now is a good time for him to rest, as he recently said a bullpen session "didn't feel right."
Judge rules Lorena Martin, Seattle Mariners must go to arbitration
Lorena Martin's wrongful termination lawsuit against the Seattle Mariners must be resolved in private arbitration rather than in court following Friday's ruling by a judge in King County (Washington) Superior Court.
Regular-season pitch clocks this year are a real possibility
Major League Baseball announced the parameters for a 20-second pitch clock for spring training games Friday, and sources told ESPN that adding it for this regular season is a real possibility.
Machado: I like what the Padres bought to the table
Manny Machado is looking forward to playing for the Padres and helping out their young core.
10 stars not named Bryce or Manny who changed teams this winter
From Paul Goldschmidt in St. Louis to Josh Donaldson in Atlanta, we tell you what to expect from some familiar faces in new places.