Which bishops wrote which books? The NT was written by Apostles and those that traveled with them. The centralized hierarchy only emerged later.
Sts Matthew, John, Jude and Paul were apostles who consecrated bishops. St. Peter was apostle and bishop of Rome. St. James the Just was apostle and bishop of Jerusalem. Sts Luke and Mark were assitants to apostle Paul and apostle Peter.