Okay, now I see your photos and they corroborate what you said in your narrative post. I am concerned, too, about the flashing beneath the skylight. It should not direct water beneath the metal panels.
.
















