It is a casual or degraded version of "You'd (= You had) better not have done that", reflecting the fact that the "'d" gets lost in fast speech, possibly leading to some people not realising that it should be there.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.