[PATCH] docs: Document how to write a plugin