Lysophospholipids induce fibrillation of the repeat domain of Pmel17 through intermediate core-shell structures.