Review the item:
Todd is an amazing cook, he can look into a nearly empty refrigerator and
put together an interesting dinner; yesterday, for
example, he
made a sliced pickle and mayonnaise sandwich, using an old blueberry muffin
as bread.
The comma between example and he is necessary. For example is an introductory prepositional phrase. He made a sliced pickle and mayonnaise sandwich is a main clause.
When an introductory prepositional phrase begins a main clause, you need to connect the two with a comma.