A skunk in a trap will smell awful and could spray all over you.
I ended up with too many different types of varmints in my garden, now have a deer fence dug into the soil to stop the rabbits & ground hogs. The fence is about 8' tall but the posts are only about 6' above ground, so the top part flops around a little- and so far no squirrels have et my produce. I don't think they or the deer like the floppy top.
I feed the birds & have ponds, so they don't go after the garden for food or water.
Nan