Sorry, no. there’s no template creation documentation at this time. However, there’s plenty of inline phpDoc.
I recommend creating a new plugin header file, that how templates “plugin” to Connections. Then refer to the code in the Names template. It uses the new API.
To init the custom template, you would add a action to your plugin like this.
Hope that helps.