Creating a simple plugin
If you are converting an existing QGIS2 plugin to use in QGIS3 then this page may be helpful.
Writing a processing plugin
Useful Tips
A blog post by Anita Graser about how to create free standing processing scripts.