I have a simple yet difficult request for beginners like me.
My desire is for the ninjas to put up a list of Nodes that are well laid out and structured - simply to have a "look at these nodes on github for inspiration" - with a couple of notes why they are of high quality. This would be great inspiration when trying to get the scaffolding done right in the first place.
Also most of the nodes have a scorecard (again in the flow library) which checks node's against set standards (it's not a defacto test, as it currently throws up a number of anomalies ).
Because the nodes cover such a wide range of functionality, it would be difficult to pull together a preferred list, although in the forum we do tend to 'steer' users towards the better nodes.
It all depends upon your individual usage requirements.
My request for a curated list was to learn from them - and the curation is all about pointing out some "good" nodes that are up to date and adheres to the best practices as intended by the ninjas.
I need a "good" example that shows how to:
has a proper help and example structure
uses best practice everywhere and has no bonkers leftovers from npm init etc.
properly integrate an external node project from github (the project has some bitbanging due to an old-school tcp implementation by the vendor and is just easier to have as a separate node.js project when messing around inside it)
In that case, maybe your best option is to take a look at node-red-contrib nodes in the git repos which are owned by the more experienced node-RED contributors, and have proven to write consistently well-coded, quality nodes.
Is there an up-to-date skeleton/boilerplate for creating new contrib nodes, or cli tool init? I too have tried to find a "really great" example to base my contrib-nodes off of. There seem to be lots of "good" ones, but like what was pointed out, "usually a minor thing here or there is missing". I try my best to develop good coding habits, and one thing I've found that really helps is a good example to look at (code-monkey see, code-monkey do). Having an Official example or Node-RED approved list of quality example contrib-nodes would be nice.
One thing that the forum community could do is open, on a regular basis, a thread to request feedback on one specific node (kind of the contrib-node of the month, if you will). The members of the forum could share their experiences with that specific node, the pros and cons, flows examples, etc. This would be good for the developer and for the community. Further to the "ninjas" mentioned before there are many others that deserve recognition and gratitude. I could be mention for instance the awesome nodes from @hotNipi , the ngrok node from @sammachin , the ui-builder from @TotallyInformation , just to mention a few from a huge list.