I have been reading that people use the one-sample t-test also for skewed underlying distributions, saying that for a high enough number of datapoints (I read for example N=30 and N=100 in some places) the central limit theorem means that you can apply the t-test even to non-normal data. I struggle to understand the argument.
In case of the one-sample t-test I only have one sample, whose distribution is not normal. I don't have multiple samples with multiple means, that would follow a normal distribution according to the CLT. In my understanding of the CLT it does not apply to a one sample case? Why do people say that with enough datapoints in my one sample these two cases are equivalent? Is this just obvious and I am not seeing it? Where do people get the N=30 from, and how do I find out which N is appropriate for my case?