Hi
Thank you for your interest in developing Kibana plugin. I suggest you to read through . https://www.elastic.co/guide/en/kibana/current/plugin-development.html
Most plugin development right now is in good faith. Apart from the link above, there's been some tutorials by community members, e.g. https://www.timroes.de/2015/12/02/writing-kibana-4-plugins-basics/
This might be a little out dated but still hugely relevant.
I would also check out some examples; many use the same templates.
Hope this helps
Cheers
Rashmi