Screwdriver naming maps directly to the head shape's character:
一字 (
一, the character 'one' = a horizontal line) = flathead,
十字 (
十, the character 'ten' = a cross) = Phillips. So
一字螺丝刀 literally describes the slot's shape — a learner-friendly system Chinese got 'for free' from its writing.