when to use “continue doing”, “continue to do”

They are identical.

continue doing = continue to do

I will continue to improve my skills. (= I will continue improving my skills.)

Some speakers may prefer the first variant, some the other one, but none of these will tell you whether you stopped improving your skills and started again or not before.