Is there a good resource that teaches how to create my plugin?

I would suggest Project Lyra which uses a lot of plugins that can let you understand how it works.