Capsaicin is a just taste, odor, and smell repellent." But, skunks aren't the only animals who can't handle capsaicin.
While you can purchase pre-made skunk repellent, check around your house first. You might have just what you need to stop skunks in their tracks! Lavender is a lovely fragrance to many people.