Tackling climate change is an opportunity to rebuild communities battered by sluggish growth and the environmental crisis.