Does the clipping of nails nullify ablution?
No, it does not, and it is preferable to wash the hands afterwards.
What is the ruling on someone who eats or drinks thinking that the sun has set, then realizes that it has not yet set?
Whoever eats or drinks believing that the sun has set, then later discovers that it has not yet set, their fast is invalid, and they must make up that day after Ramadan. It is not permissible to break the fast before confirming sunset—either by seeing it, through personal reasoning, or by relying on the statement of someone trustworthy in their religious commitment.
What is the ruling on swimming while fasting?
Swimming while fasting is disliked (makruh) due to the risk of water entering the body cavity (jauf) through the nose, ears, or mouth, which would break the fast.
Ramadan is a month of tasbeeh (glorifying Allah), not Sibaha (swimming).
What is the ruling on using a miswak (tooth-stick) during the day in Ramadan?
It is permissible to use a miswak before noon while fasting. However, according to the Shafi'i school, it is disliked (makruh) after noon in order to preserve the natural effect of fasting in the mouth, as the Prophetﷺ said in authentic hadith:
"The breath of a fasting person is more pleasant to Allah than the fragrance of musk."