No cheat codes for skateboarding. The skateboard is a vehicle (replaces bike slot) added in the mobile/PC "Definitive Edition" — not in original PS2.
Skateboarding is a minigame — enjoy the physics, don't cheat.