Unidentified gunmen shot dead an intelligence officer loyal to Palestinian President Mahmoud Abbas in Gaza on Friday, a day after rival factions agreed on the make-up of a unity government, medics and residents said.