I highly recommend Hammerspoon[1] for any macOS automation tasks you want to do. It is not only extensible but alleviates the need for using multiple tools due to its broad feature set.
The only downside after two years of using Hammerspoon is that the community is small since it isn't as user-friendly as yabai, amethyst, etc. However, you'll probably enjoy its open-ended nature, given your article.