I've two ideas.
It would be great if it possible to define either order of execution (maybe add an option "priority") or just follow the order the commands are defined in goss.yml.
script:
myscript:
body: |
#!/bin/bash, #!/usr/bin/env python, #!/usr/bin/awk, #!/usr/bin/sed, etc
as many as need shell/python/awk/etc commands or other script language instructions
on many lines
exit-status:
stdout: []
... etc ...