Galaxy has its own workflow specification that predates most of what is actively developed elsewhere. The specification is rich in features but not in documentation. You can download any Galaxy workflow in json format, but we also support yaml to a large extent. There is Galaxy Workflow format2 in the making which should be convertible to cwl format.
You can explore the following links if you want to know more.