Warren Ellis wrote the Extremis story arc which Iron Man 3 is based on.
Iron Man 3 . Shane Black directed a screenplay he co-wrote with Drew Pearce , which uses concepts from the `` Extremis '' story arc by Warren Ellis .