Jason is not explaining what makes a good stud

Lets start with washers (and "lands) around a stud. If the surface of the part is uneven then tightening a nut onto it will cause stress in the part which could lead to cracks. The easy solution is to put a soft washer under the nut, or to machine a flat surface like a land around the stud.

Nuts: These come in various thicknesses. If your nuts are not big enough they might not work properly (crack the nut material due to stress). I have already mentioned dangly nuts

If the nut is too thin there is a risk it will strip its threads as you tighten it down . If it is too thick you are just wasting material

and you could possibly strip the thread in the part rather than the nut if you get over enthusiatic tightening. A standard nut should be 0.8 to 0.875 times the nominal diameter of the thread, or about 5 to 6 times the thread pitch (the distance between thread peaks). This height ensures the nut has enough engaged threads to hold the joint tight without stripping the stud.
You will find some nuts are thinner: these are for locking the main nut. There has been many arguments over the years as to if this should go above or below the main nut that is providing the tightening force.
The bottom of the nut where it clamps to the material should be flat - it will not cut into the paint because you have a washer or paint free land under it

. As for the top you do not want any sharp corners that will get knocked off by a spanner monkey so they are chamfered.
As for the important bit: the Stud. The embedment threaded depth needs to be about 1.5 times the diameter of the stud. I personally use a figure of 1.5 threads visible above the nut on a stud. More than this, in either direction, is a waste of material which originally would increased the weight and the manufacturing cost. The ends of the stud should be
lightly rounded so that the thread does not cause a sharp edge and for aesthetic reasons I normally polish mine.
I can go on but I am sure I everyone is going to get bored

A woman knows what makes a good stud
Jo