This repo consists of two main sketches:
Dump_amiibo
Write_amiibo
This blog post describes the process in detail.