Via Alex Russell, I just found Guidelines for creating web platform compatible components, which further contains a link to The Gold Standard Checklist for Web Components, both of which look like excellent resources when creating custom elements.
This is a good time to mention that work is progressing on elements-sk, a set of neat Vanilla JS custom elements.