Some time ago I gave a workshop at AU about creating custom Dynamo extensions, here’s a copy of the handout and code examples.
The highlight of my workshop was an extension that sends Dynamo nodes via Speckle, here it is in action:
It should still be coming with the current installer, but use at your own risk!