Two kinds of institutions in particular need shoring up: conflict management institutions to enhance economies’ resilience to external shocks, and institutions that promote productive diversification.