I would imagine this means writing TouchBar (autocorrect on my iPhone hasn't learned that one yet) support into MacOS apps means developing a watchOS extension to bundle with the app, which seems really simple and elegant.
Really makes me wonder if writing similar extensions to macOS that use a secondary control/presentation surface could be that easy. Why not let me write an extension that opens on my iPad when my macOS app is opened to show additional shortcuts/controls for that app? There are a few remote tools that can do some of this (BTT Remote and Alfred Remote come to mind as possible configurable remote control surfaces) but if I was able able to write a purpose-built control surface with bundles for TouchBar, iPhone, iPad and/or Apple Watch, all detected by proximity and using handoff to advertise readiness... that would be amazing.