Emergency personnel responded to the stabbing just before 6 p.m. at Haight and Stanyon streets, a fire dispatcher said.
The victim was stabbed twice, and his skateboard and backpack were stolen as well, police said.
He was transported to San Francisco General Hospital with non-life threatening injuries, according to police.
No arrests have been made, police said.