I hope @Ricardo Pardini can add some comments here as he did this implementation. IIRC we said that we need this to check everything what comes to PR, while internal functionality only takes care of what is under /lib which is core of framework.
I think we can be happy with detecting errors. Not sure if its worth expanding this further.
shell format opens a PR if needs a problem , open a PR
https://github.com/mvdan/sh