While the Yankees spend the next month or so figuring out whether to make a run at the playoffs or retool for the future, they can at least take some solace in the fact that one of their top prospects has regained his form.

Not long ago, Aaron Judge was in the midst of an ugly slump at Triple-A Scranton/Wilkes-Barre, which caused some observers to wonder when — or even if — the outfielder could help in the majors.

And while that still won’t be known until the 24-year-old gets to The Bronx, Judge has at least put some of those fears to rest with his recent tear — his best stretch since being promoted to Triple-A last season.

“I never thought he was as bad as he looked when he was having a hard time at the plate,” said one AL scout who has seen Judge periodically in each of the last two seasons. “And I doubt he’ll be able to sustain what he’s doing now, but it does show that he’s capable of some pretty good things at this level.”

After a hitless game on Wednesday, Judge had a dozen hit in his last 35 at-bats and after going over a month without a home run, he had five in his previous 10 games.

That hardly means he’s ready to be inserted into right field if the Yankees opt to move the red-hot Carlos Beltran before the Aug. 1 non-waiver trade deadline, but it has made other teams take notice.

“They still have to decide what they are as a team,” another NL scout said. “But I don’t think anyone would say [Judge] would be overwhelmed if they called him up.”

There’s no indication that’s going to happen anytime soon, as both team owner Hal Steinbrenner and general manager Brian Cashman said this week they remain in “win-now’’ mode.

Judge isn’t the only RailRider the Yankees are keeping a close eye on, although for different reasons.

Last year’s minor league darling, Luis Severino, is schedule to make his sixth start with SWB on Friday since being optioned after a DL stint caused by a mild triceps strain.

Earlier in the week, manager Joe Girardi didn’t make Severino’s return to the Yankees’ rotation sound imminent — even after he gave up just one earned run in 8 ¹/₃ innings in his previous outing.

The Yankees remain leery of Severino’s start to the season, when he was 0-6 with a 7.46 ERA in seven games.

Girardi pointed to a lack of command with his fastball, as well as inconsistency with his changeup and slider. Even Ivan Nova’s latest implosion wasn’t enough to get Severino a return trip to The Bronx, with Girardi saying: “We want to get him straightened out. We don’t want to bring him up just because another guy is struggling.”

And the Yankees don’t figure to need a replacement for CC Sabathia, who injured his right ankle Wednesday against the Rockies.

On Thursday, Sabathia said his ankle felt better and that he expected to make his next start on Tuesday, despite some lingering soreness and swelling.

Additional reporting by George A. King III