doc: add a template for plugin API