I thought I was going to see some ridiculous "you need a bike with full fenders and dyno lights" craziness.
But no...
Have a way to fix a flat? Have a way to fix a minor mechanical problem? Lock your bike so it's there when you come back? Have a phone so you can get help if you need it?
This is all basic and necessary advice. If you're bike commuting to work and don't have a plan for how to deal with a flat (whether that is fixing it or calling a friend/cab) you're not going to have to worry about bike commuting for very long.