Also - for large infrastructure investments, certainly issue bonds for things like water, sewer, hospital, basic infrastructure - but don't get too crazy/extravagant with Sport Stadiums, or overly complex derivative hedges that blow up if the economy tanks.
If you really want such nice toys for your city, consider saving for them rather than going into debt.
Municipal finances are not like Federal (or heck, even state) finances - you really do have to balance your books.
Bracing for a bubble is just being wise with money. You know roughly what the lows look like, you know what the highs look like, so you pick somewhere in the middle to sustain your life (city) and save the surplus for the lows.
To an extent you can't totally prepare for a massive event (everyone leaves SF; all jobs disappear overnight, now what?).
Recessions, while painful, are much less extreme than bubble-bursts, and can (and should) be planned for.