Kittens are little mischevius kids you got to watch them all the time , i have a 6 month old and shes sometimes like this esp in my kitchen....
This is what i do when i see her going to do it I say Hay or No in deep voice and i clapp my hands and if she doesnt stop i chase her but not in a bad way..
Mybe try cutting a lemon or an orange and rub it on the was or at the bottom of your skirting thye dont like the smell...