I created a tutorial for beginners that starts out with addon folder/file structure and goes through creating a new stamina bar. It covers all kinds of information.
I know I'm a bit late to the party, but I followed your tutorial and I learnt a lot! I'm running into some troubles with the second Event trigger (EVENT_POWER_UPDATE) but I'm sure I'll figure it out.