A metal-catalyzed enyne-cyclization step for the synthesis of bi- and tricyclic scaffolds amenable to molecular library production.