Sapere here means to know how to do something through a learned ability. So is its irregular I-form; io is normally omitted. For this ability use, follow the form of sapere directly with an infinitive: so nuotare, I know how to swim. The same person knows how and does the action. Keep the action in the infinitive when the person changes: so nuotare, sai nuotare. Do not add di or use a conjugated action in this frame. It works across skills: so cucinare and so parlare inglese use the same complement rule.
Nuotare means to swim. After mi piace, use the dictionary form of an activity, called the infinitive: Mi piace nuotare, I like swimming. Do not add di. A whole activity takes singular piace, and mi identifies who enjoys it.
Cucinare is to cook.
Camminare means to walk.
Sai is the irregular form of sapere for one person you address informally; tu is normally omitted. Keep the action in the infinitive, just as after so: sai nuotare. Question intonation asks about the person's ability. Contrast so nuotare about yourself with sai nuotare? about your friend; the complement rule stays the same.