[pgb] created generic plugin spec builder