There a number of files that are required to create a Moodle plugin. This video looks at those files and highlights some exceptions to the rule.
This video has UK English subtitles and if you struggle with English or even with my accent, you can use YouTube’s auto-translate functionality to view the subtitles in your preferred language.