about 10 years ago i created a style guide for Bash scripts - how I write them, how I avoid pitfalls, my aesthetic preferences, etc. I now created a dedicated website for it that you can access on your browser or in your terminal - check it out!
style.ysap.sh