Hi
Can you refer to this plugin development guide to check if all steps were covered ? https://www.elastic.co/guide/en/kibana/current/plugin-development.html
There are several examples here: Kibana plugin development | Skill matrix
You can also look through the source code of the built-in plugins shipped with Kibana here: https://github.com/elastic/kibana/tree/v7.0.1/x-pack/plugins or the source code for known plugins here: https://www.elastic.co/guide/en/kibana/7.0/known-plugins.html .
Hope it helps
Thanks
Rashmi