A big indicator of the stock market's direction on Tuesday will be whether Skyworks Solutions can hold onto its gains, CNBC's Jim Cramer said Tuesday.

"If this stock gives up the gain, we're going down big time today because this is as good a story as you're going to get right now in this marketplace," Cramer said on "Squawk on the Street." "I don't think it should give. I'm just saying this is the litmus test of this rally."