Scratching is just a part of being a cat, so there’s no getting around this one, and almost every alternative will depend on your cat having an appropriate area to scratch.
You don’t need to teach your cat to skateboard…you just want to give them plenty of positive reinforcement when they use the appropriate scratching areas.