Documentation on creating tasks
I'm not aware of any articles or best practice documents.

There is a sample/simple PowerNap plugin that shows the basics of creating and running a task as well as the TaskService class reference documentation which you've already found.