This has happened one too many times, and I had to overpay for a new robot MCU last night because the last one caught on some exposed metal and shorted out.
How would I keep that from happening? Heatshrink doesn't make sense because the MCU (RF nano) is too big. Electrical tape might work but the warmth inside the robot would weaken it over time. I could cover it in hot glue I guess, but that would take forever and add a lot of weight to a bot that has to weigh <1 pound. It's already at 0.95.
I've already taken a couple of precautions, by clipping any excess pins that weren't used by the robot, but clearly it wasn't enough.